1. Registry
  2. Packages
  3. AWS
  4. API Docs
  5. resiliencehub
  6. getV2System
Viewing docs for AWS v7.46.0
published on Thursday, Sep 10, 2026 by Pulumi
aws logo aws logo
Viewing docs for AWS v7.46.0
published on Thursday, Sep 10, 2026 by Pulumi

    Data source for reading an AWS Resilience Hub V2 System.

    Example Usage

    Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = aws.resiliencehub.getV2System({
        arn: "arn:aws:resiliencehub:us-west-2:123456789012:system/example-system:abc123",
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.resiliencehub.get_v2_system(arn="arn:aws:resiliencehub:us-west-2:123456789012:system/example-system:abc123")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/resiliencehub"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := resiliencehub.LookupV2System(ctx, &resiliencehub.LookupV2SystemArgs{
    			Arn: "arn:aws:resiliencehub:us-west-2:123456789012:system/example-system:abc123",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Aws.ResilienceHub.GetV2System.Invoke(new()
        {
            Arn = "arn:aws:resiliencehub:us-west-2:123456789012:system/example-system:abc123",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.resiliencehub.ResiliencehubFunctions;
    import com.pulumi.aws.resiliencehub.inputs.GetV2SystemArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var example = ResiliencehubFunctions.getV2System(GetV2SystemArgs.builder()
                .arn("arn:aws:resiliencehub:us-west-2:123456789012:system/example-system:abc123")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: aws:resiliencehub:getV2System
          arguments:
            arn: arn:aws:resiliencehub:us-west-2:123456789012:system/example-system:abc123
    
    pulumi {
      required_providers {
        aws = {
          source = "pulumi/aws"
        }
      }
    }
    
    data "aws_resiliencehub_getv2system" "example" {
      arn = "arn:aws:resiliencehub:us-west-2:123456789012:system/example-system:abc123"
    }
    

    Using getV2System

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getV2System(args: GetV2SystemArgs, opts?: InvokeOptions): Promise<GetV2SystemResult>
    function getV2SystemOutput(args: GetV2SystemOutputArgs, opts?: InvokeOutputOptions): Output<GetV2SystemResult>
    def get_v2_system(arn: Optional[str] = None,
                      region: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetV2SystemResult
    def get_v2_system_output(arn: pulumi.Input[Optional[str]] = None,
                      region: pulumi.Input[Optional[str]] = None,
                      opts: Optional[InvokeOutputOptions] = None) -> Output[GetV2SystemResult]
    func LookupV2System(ctx *Context, args *LookupV2SystemArgs, opts ...InvokeOption) (*LookupV2SystemResult, error)
    func LookupV2SystemOutput(ctx *Context, args *LookupV2SystemOutputArgs, opts ...InvokeOption) LookupV2SystemResultOutput

    > Note: This function is named LookupV2System in the Go SDK.

    public static class GetV2System 
    {
        public static Task<GetV2SystemResult> InvokeAsync(GetV2SystemArgs args, InvokeOptions? opts = null)
        public static Output<GetV2SystemResult> Invoke(GetV2SystemInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetV2SystemResult> Invoke(GetV2SystemInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetV2SystemResult> getV2System(GetV2SystemArgs args, InvokeOptions options)
    public static Output<GetV2SystemResult> getV2System(GetV2SystemArgs args, InvokeOptions options)
    public static Output<GetV2SystemResult> getV2System(GetV2SystemArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: aws:resiliencehub/getV2System:getV2System
      arguments:
        # arguments dictionary
    data "aws_resiliencehub_get_v2_system" "name" {
        # arguments
    }

    The following arguments are supported:

    Arn string
    ARN of the system.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    Arn string
    ARN of the system.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    arn string
    ARN of the system.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    arn String
    ARN of the system.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    arn string
    ARN of the system.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    arn str
    ARN of the system.
    region str
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    arn String
    ARN of the system.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.

    getV2System Result

    The following output properties are available:

    Arn string
    Description string
    Description of the system.
    KmsKeyId string
    KMS key ARN.
    Name string
    Name of the system.
    OrganizationId string
    AWS Organizations identifier for the system.
    OuId string
    Organizational unit (OU) identifier for the system.
    Region string
    SharingEnabled bool
    Whether cross-account sharing is enabled.
    SystemId string
    System ID for cross-account use without exposing account structure.
    Tags Dictionary<string, string>
    Map of tags assigned to the resource.
    Arn string
    Description string
    Description of the system.
    KmsKeyId string
    KMS key ARN.
    Name string
    Name of the system.
    OrganizationId string
    AWS Organizations identifier for the system.
    OuId string
    Organizational unit (OU) identifier for the system.
    Region string
    SharingEnabled bool
    Whether cross-account sharing is enabled.
    SystemId string
    System ID for cross-account use without exposing account structure.
    Tags map[string]string
    Map of tags assigned to the resource.
    arn string
    description string
    Description of the system.
    kms_key_id string
    KMS key ARN.
    name string
    Name of the system.
    organization_id string
    AWS Organizations identifier for the system.
    ou_id string
    Organizational unit (OU) identifier for the system.
    region string
    sharing_enabled bool
    Whether cross-account sharing is enabled.
    system_id string
    System ID for cross-account use without exposing account structure.
    tags map(string)
    Map of tags assigned to the resource.
    arn String
    description String
    Description of the system.
    kmsKeyId String
    KMS key ARN.
    name String
    Name of the system.
    organizationId String
    AWS Organizations identifier for the system.
    ouId String
    Organizational unit (OU) identifier for the system.
    region String
    sharingEnabled Boolean
    Whether cross-account sharing is enabled.
    systemId String
    System ID for cross-account use without exposing account structure.
    tags Map<String,String>
    Map of tags assigned to the resource.
    arn string
    description string
    Description of the system.
    kmsKeyId string
    KMS key ARN.
    name string
    Name of the system.
    organizationId string
    AWS Organizations identifier for the system.
    ouId string
    Organizational unit (OU) identifier for the system.
    region string
    sharingEnabled boolean
    Whether cross-account sharing is enabled.
    systemId string
    System ID for cross-account use without exposing account structure.
    tags {[key: string]: string}
    Map of tags assigned to the resource.
    arn str
    description str
    Description of the system.
    kms_key_id str
    KMS key ARN.
    name str
    Name of the system.
    organization_id str
    AWS Organizations identifier for the system.
    ou_id str
    Organizational unit (OU) identifier for the system.
    region str
    sharing_enabled bool
    Whether cross-account sharing is enabled.
    system_id str
    System ID for cross-account use without exposing account structure.
    tags Mapping[str, str]
    Map of tags assigned to the resource.
    arn String
    description String
    Description of the system.
    kmsKeyId String
    KMS key ARN.
    name String
    Name of the system.
    organizationId String
    AWS Organizations identifier for the system.
    ouId String
    Organizational unit (OU) identifier for the system.
    region String
    sharingEnabled Boolean
    Whether cross-account sharing is enabled.
    systemId String
    System ID for cross-account use without exposing account structure.
    tags Map<String>
    Map of tags assigned to the resource.

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo aws logo
    Viewing docs for AWS v7.46.0
    published on Thursday, Sep 10, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial