1. Registry
  2. Packages
  3. AWS
  4. API Docs
  5. resiliencehub
  6. V2InputSource
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

    Resource for managing an AWS Resilience Hub V2 Input Source.

    An input source defines where Resilience Hub discovers AWS resources for a service. Supported source types include CloudFormation stacks, Terraform state files (stored in S3), and EKS clusters.

    Note: This resource does not support in-place updates. Any change to the resource configuration will destroy and recreate the input source.

    Example Usage

    CloudFormation Stack

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.resiliencehub.V2InputSource("example", {
        resourceConfiguration: {
            cfnStackArn: "arn:aws:cloudformation:us-west-2:123456789012:stack/my-stack/abc123",
        },
        serviceArn: exampleAwsResiliencehubv2Service.arn,
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.resiliencehub.V2InputSource("example",
        resource_configuration={
            "cfn_stack_arn": "arn:aws:cloudformation:us-west-2:123456789012:stack/my-stack/abc123",
        },
        service_arn=example_aws_resiliencehubv2_service["arn"])
    
    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.NewV2InputSource(ctx, "example", &resiliencehub.V2InputSourceArgs{
    			ResourceConfiguration: &resiliencehub.V2InputSourceResourceConfigurationArgs{
    				CfnStackArn: pulumi.String("arn:aws:cloudformation:us-west-2:123456789012:stack/my-stack/abc123"),
    			},
    			ServiceArn: pulumi.Any(exampleAwsResiliencehubv2Service.Arn),
    		})
    		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 = new Aws.ResilienceHub.V2InputSource("example", new()
        {
            ResourceConfiguration = new Aws.ResilienceHub.Inputs.V2InputSourceResourceConfigurationArgs
            {
                CfnStackArn = "arn:aws:cloudformation:us-west-2:123456789012:stack/my-stack/abc123",
            },
            ServiceArn = exampleAwsResiliencehubv2Service.Arn,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.resiliencehub.V2InputSource;
    import com.pulumi.aws.resiliencehub.V2InputSourceArgs;
    import com.pulumi.aws.resiliencehub.inputs.V2InputSourceResourceConfigurationArgs;
    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) {
            var example = new V2InputSource("example", V2InputSourceArgs.builder()
                .resourceConfiguration(V2InputSourceResourceConfigurationArgs.builder()
                    .cfnStackArn("arn:aws:cloudformation:us-west-2:123456789012:stack/my-stack/abc123")
                    .build())
                .serviceArn(exampleAwsResiliencehubv2Service.arn())
                .build());
    
        }
    }
    
    resources:
      example:
        type: aws:resiliencehub:V2InputSource
        properties:
          resourceConfiguration:
            cfnStackArn: arn:aws:cloudformation:us-west-2:123456789012:stack/my-stack/abc123
          serviceArn: ${exampleAwsResiliencehubv2Service.arn}
    
    pulumi {
      required_providers {
        aws = {
          source = "pulumi/aws"
        }
      }
    }
    
    resource "aws_resiliencehub_v2inputsource" "example" {
      resource_configuration = {
        cfn_stack_arn = "arn:aws:cloudformation:us-west-2:123456789012:stack/my-stack/abc123"
      }
      service_arn = exampleAwsResiliencehubv2Service.arn
    }
    

    Terraform State File

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.resiliencehub.V2InputSource("example", {
        resourceConfiguration: {
            tfStateFileUrl: "s3://my-bucket/terraform.tfstate",
        },
        serviceArn: exampleAwsResiliencehubv2Service.arn,
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.resiliencehub.V2InputSource("example",
        resource_configuration={
            "tf_state_file_url": "s3://my-bucket/terraform.tfstate",
        },
        service_arn=example_aws_resiliencehubv2_service["arn"])
    
    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.NewV2InputSource(ctx, "example", &resiliencehub.V2InputSourceArgs{
    			ResourceConfiguration: &resiliencehub.V2InputSourceResourceConfigurationArgs{
    				TfStateFileUrl: pulumi.String("s3://my-bucket/terraform.tfstate"),
    			},
    			ServiceArn: pulumi.Any(exampleAwsResiliencehubv2Service.Arn),
    		})
    		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 = new Aws.ResilienceHub.V2InputSource("example", new()
        {
            ResourceConfiguration = new Aws.ResilienceHub.Inputs.V2InputSourceResourceConfigurationArgs
            {
                TfStateFileUrl = "s3://my-bucket/terraform.tfstate",
            },
            ServiceArn = exampleAwsResiliencehubv2Service.Arn,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.resiliencehub.V2InputSource;
    import com.pulumi.aws.resiliencehub.V2InputSourceArgs;
    import com.pulumi.aws.resiliencehub.inputs.V2InputSourceResourceConfigurationArgs;
    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) {
            var example = new V2InputSource("example", V2InputSourceArgs.builder()
                .resourceConfiguration(V2InputSourceResourceConfigurationArgs.builder()
                    .tfStateFileUrl("s3://my-bucket/terraform.tfstate")
                    .build())
                .serviceArn(exampleAwsResiliencehubv2Service.arn())
                .build());
    
        }
    }
    
    resources:
      example:
        type: aws:resiliencehub:V2InputSource
        properties:
          resourceConfiguration:
            tfStateFileUrl: s3://my-bucket/terraform.tfstate
          serviceArn: ${exampleAwsResiliencehubv2Service.arn}
    
    pulumi {
      required_providers {
        aws = {
          source = "pulumi/aws"
        }
      }
    }
    
    resource "aws_resiliencehub_v2inputsource" "example" {
      resource_configuration = {
        tf_state_file_url = "s3://my-bucket/terraform.tfstate"
      }
      service_arn = exampleAwsResiliencehubv2Service.arn
    }
    

    EKS Cluster

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.resiliencehub.V2InputSource("example", {
        resourceConfiguration: {
            eks: {
                clusterArn: "arn:aws:eks:us-west-2:123456789012:cluster/my-cluster",
                namespaces: [
                    "default",
                    "production",
                ],
            },
        },
        serviceArn: exampleAwsResiliencehubv2Service.arn,
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.resiliencehub.V2InputSource("example",
        resource_configuration={
            "eks": {
                "cluster_arn": "arn:aws:eks:us-west-2:123456789012:cluster/my-cluster",
                "namespaces": [
                    "default",
                    "production",
                ],
            },
        },
        service_arn=example_aws_resiliencehubv2_service["arn"])
    
    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.NewV2InputSource(ctx, "example", &resiliencehub.V2InputSourceArgs{
    			ResourceConfiguration: &resiliencehub.V2InputSourceResourceConfigurationArgs{
    				Eks: &resiliencehub.V2InputSourceResourceConfigurationEksArgs{
    					ClusterArn: pulumi.String("arn:aws:eks:us-west-2:123456789012:cluster/my-cluster"),
    					Namespaces: pulumi.StringArray{
    						pulumi.String("default"),
    						pulumi.String("production"),
    					},
    				},
    			},
    			ServiceArn: pulumi.Any(exampleAwsResiliencehubv2Service.Arn),
    		})
    		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 = new Aws.ResilienceHub.V2InputSource("example", new()
        {
            ResourceConfiguration = new Aws.ResilienceHub.Inputs.V2InputSourceResourceConfigurationArgs
            {
                Eks = new Aws.ResilienceHub.Inputs.V2InputSourceResourceConfigurationEksArgs
                {
                    ClusterArn = "arn:aws:eks:us-west-2:123456789012:cluster/my-cluster",
                    Namespaces = new[]
                    {
                        "default",
                        "production",
                    },
                },
            },
            ServiceArn = exampleAwsResiliencehubv2Service.Arn,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.resiliencehub.V2InputSource;
    import com.pulumi.aws.resiliencehub.V2InputSourceArgs;
    import com.pulumi.aws.resiliencehub.inputs.V2InputSourceResourceConfigurationArgs;
    import com.pulumi.aws.resiliencehub.inputs.V2InputSourceResourceConfigurationEksArgs;
    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) {
            var example = new V2InputSource("example", V2InputSourceArgs.builder()
                .resourceConfiguration(V2InputSourceResourceConfigurationArgs.builder()
                    .eks(V2InputSourceResourceConfigurationEksArgs.builder()
                        .clusterArn("arn:aws:eks:us-west-2:123456789012:cluster/my-cluster")
                        .namespaces(                    
                            "default",
                            "production")
                        .build())
                    .build())
                .serviceArn(exampleAwsResiliencehubv2Service.arn())
                .build());
    
        }
    }
    
    resources:
      example:
        type: aws:resiliencehub:V2InputSource
        properties:
          resourceConfiguration:
            eks:
              clusterArn: arn:aws:eks:us-west-2:123456789012:cluster/my-cluster
              namespaces:
                - default
                - production
          serviceArn: ${exampleAwsResiliencehubv2Service.arn}
    
    pulumi {
      required_providers {
        aws = {
          source = "pulumi/aws"
        }
      }
    }
    
    resource "aws_resiliencehub_v2inputsource" "example" {
      resource_configuration = {
        eks = {
          cluster_arn = "arn:aws:eks:us-west-2:123456789012:cluster/my-cluster"
          namespaces  = ["default", "production"]
        }
      }
      service_arn = exampleAwsResiliencehubv2Service.arn
    }
    

    Create V2InputSource Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new V2InputSource(name: string, args: V2InputSourceArgs, opts?: CustomResourceOptions);
    @overload
    def V2InputSource(resource_name: str,
                      args: V2InputSourceArgs,
                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def V2InputSource(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      resource_configuration: Optional[V2InputSourceResourceConfigurationArgs] = None,
                      service_arn: Optional[str] = None,
                      region: Optional[str] = None)
    func NewV2InputSource(ctx *Context, name string, args V2InputSourceArgs, opts ...ResourceOption) (*V2InputSource, error)
    public V2InputSource(string name, V2InputSourceArgs args, CustomResourceOptions? opts = null)
    public V2InputSource(String name, V2InputSourceArgs args)
    public V2InputSource(String name, V2InputSourceArgs args, CustomResourceOptions options)
    
    type: aws:resiliencehub:V2InputSource
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "aws_resiliencehub_v2_input_source" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args V2InputSourceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args V2InputSourceArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args V2InputSourceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args V2InputSourceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args V2InputSourceArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var v2inputSourceResource = new Aws.ResilienceHub.V2InputSource("v2inputSourceResource", new()
    {
        ResourceConfiguration = new Aws.ResilienceHub.Inputs.V2InputSourceResourceConfigurationArgs
        {
            CfnStackArn = "string",
            DesignFileS3Url = "string",
            Eks = new Aws.ResilienceHub.Inputs.V2InputSourceResourceConfigurationEksArgs
            {
                ClusterArn = "string",
                Namespaces = new[]
                {
                    "string",
                },
            },
            ResourceTags = new[]
            {
                new Aws.ResilienceHub.Inputs.V2InputSourceResourceConfigurationResourceTagArgs
                {
                    Key = "string",
                    Values = new[]
                    {
                        "string",
                    },
                },
            },
            TfStateFileUrl = "string",
        },
        ServiceArn = "string",
        Region = "string",
    });
    
    example, err := resiliencehub.NewV2InputSource(ctx, "v2inputSourceResource", &resiliencehub.V2InputSourceArgs{
    	ResourceConfiguration: &resiliencehub.V2InputSourceResourceConfigurationArgs{
    		CfnStackArn:     pulumi.String("string"),
    		DesignFileS3Url: pulumi.String("string"),
    		Eks: &resiliencehub.V2InputSourceResourceConfigurationEksArgs{
    			ClusterArn: pulumi.String("string"),
    			Namespaces: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    		},
    		ResourceTags: resiliencehub.V2InputSourceResourceConfigurationResourceTagArray{
    			&resiliencehub.V2InputSourceResourceConfigurationResourceTagArgs{
    				Key: pulumi.String("string"),
    				Values: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    			},
    		},
    		TfStateFileUrl: pulumi.String("string"),
    	},
    	ServiceArn: pulumi.String("string"),
    	Region:     pulumi.String("string"),
    })
    
    resource "aws_resiliencehub_v2_input_source" "v2inputSourceResource" {
      lifecycle {
        create_before_destroy = true
      }
      resource_configuration = {
        cfn_stack_arn      = "string"
        design_file_s3_url = "string"
        eks = {
          cluster_arn = "string"
          namespaces  = ["string"]
        }
        resource_tags = [{
          key    = "string"
          values = ["string"]
        }]
        tf_state_file_url = "string"
      }
      service_arn = "string"
      region      = "string"
    }
    
    var v2inputSourceResource = new V2InputSource("v2inputSourceResource", V2InputSourceArgs.builder()
        .resourceConfiguration(V2InputSourceResourceConfigurationArgs.builder()
            .cfnStackArn("string")
            .designFileS3Url("string")
            .eks(V2InputSourceResourceConfigurationEksArgs.builder()
                .clusterArn("string")
                .namespaces("string")
                .build())
            .resourceTags(V2InputSourceResourceConfigurationResourceTagArgs.builder()
                .key("string")
                .values("string")
                .build())
            .tfStateFileUrl("string")
            .build())
        .serviceArn("string")
        .region("string")
        .build());
    
    v2input_source_resource = aws.resiliencehub.V2InputSource("v2inputSourceResource",
        resource_configuration={
            "cfn_stack_arn": "string",
            "design_file_s3_url": "string",
            "eks": {
                "cluster_arn": "string",
                "namespaces": ["string"],
            },
            "resource_tags": [{
                "key": "string",
                "values": ["string"],
            }],
            "tf_state_file_url": "string",
        },
        service_arn="string",
        region="string")
    
    const v2inputSourceResource = new aws.resiliencehub.V2InputSource("v2inputSourceResource", {
        resourceConfiguration: {
            cfnStackArn: "string",
            designFileS3Url: "string",
            eks: {
                clusterArn: "string",
                namespaces: ["string"],
            },
            resourceTags: [{
                key: "string",
                values: ["string"],
            }],
            tfStateFileUrl: "string",
        },
        serviceArn: "string",
        region: "string",
    });
    
    type: aws:resiliencehub:V2InputSource
    properties:
        region: string
        resourceConfiguration:
            cfnStackArn: string
            designFileS3Url: string
            eks:
                clusterArn: string
                namespaces:
                    - string
            resourceTags:
                - key: string
                  values:
                    - string
            tfStateFileUrl: string
        serviceArn: string
    

    V2InputSource Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The V2InputSource resource accepts the following input properties:

    ResourceConfiguration V2InputSourceResourceConfiguration
    Resource configuration for an input source. See resourceConfiguration Block below.
    ServiceArn string

    ARN of the service this input source belongs to.

    The following arguments are optional:

    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    ResourceConfiguration V2InputSourceResourceConfigurationArgs
    Resource configuration for an input source. See resourceConfiguration Block below.
    ServiceArn string

    ARN of the service this input source belongs to.

    The following arguments are optional:

    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    resource_configuration object
    Resource configuration for an input source. See resourceConfiguration Block below.
    service_arn string

    ARN of the service this input source belongs to.

    The following arguments are optional:

    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    resourceConfiguration V2InputSourceResourceConfiguration
    Resource configuration for an input source. See resourceConfiguration Block below.
    serviceArn String

    ARN of the service this input source belongs to.

    The following arguments are optional:

    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    resourceConfiguration V2InputSourceResourceConfiguration
    Resource configuration for an input source. See resourceConfiguration Block below.
    serviceArn string

    ARN of the service this input source belongs to.

    The following arguments are optional:

    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    resource_configuration V2InputSourceResourceConfigurationArgs
    Resource configuration for an input source. See resourceConfiguration Block below.
    service_arn str

    ARN of the service this input source belongs to.

    The following arguments are optional:

    region str
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    resourceConfiguration Property Map
    Resource configuration for an input source. See resourceConfiguration Block below.
    serviceArn String

    ARN of the service this input source belongs to.

    The following arguments are optional:

    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the V2InputSource resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    InputSourceId string
    Unique identifier of the input source.
    Id string
    The provider-assigned unique ID for this managed resource.
    InputSourceId string
    Unique identifier of the input source.
    id string
    The provider-assigned unique ID for this managed resource.
    input_source_id string
    Unique identifier of the input source.
    id String
    The provider-assigned unique ID for this managed resource.
    inputSourceId String
    Unique identifier of the input source.
    id string
    The provider-assigned unique ID for this managed resource.
    inputSourceId string
    Unique identifier of the input source.
    id str
    The provider-assigned unique ID for this managed resource.
    input_source_id str
    Unique identifier of the input source.
    id String
    The provider-assigned unique ID for this managed resource.
    inputSourceId String
    Unique identifier of the input source.

    Look up Existing V2InputSource Resource

    Get an existing V2InputSource resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: V2InputSourceState, opts?: CustomResourceOptions): V2InputSource
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            input_source_id: Optional[str] = None,
            region: Optional[str] = None,
            resource_configuration: Optional[V2InputSourceResourceConfigurationArgs] = None,
            service_arn: Optional[str] = None) -> V2InputSource
    func GetV2InputSource(ctx *Context, name string, id IDInput, state *V2InputSourceState, opts ...ResourceOption) (*V2InputSource, error)
    public static V2InputSource Get(string name, Input<string> id, V2InputSourceState? state, CustomResourceOptions? opts = null)
    public static V2InputSource get(String name, Output<String> id, V2InputSourceState state, CustomResourceOptions options)
    resources:  _:    type: aws:resiliencehub:V2InputSource    get:      id: ${id}
    import {
      to = aws_resiliencehub_v2_input_source.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    InputSourceId string
    Unique identifier of the input source.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    ResourceConfiguration V2InputSourceResourceConfiguration
    Resource configuration for an input source. See resourceConfiguration Block below.
    ServiceArn string

    ARN of the service this input source belongs to.

    The following arguments are optional:

    InputSourceId string
    Unique identifier of the input source.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    ResourceConfiguration V2InputSourceResourceConfigurationArgs
    Resource configuration for an input source. See resourceConfiguration Block below.
    ServiceArn string

    ARN of the service this input source belongs to.

    The following arguments are optional:

    input_source_id string
    Unique identifier of the input source.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    resource_configuration object
    Resource configuration for an input source. See resourceConfiguration Block below.
    service_arn string

    ARN of the service this input source belongs to.

    The following arguments are optional:

    inputSourceId String
    Unique identifier of the input source.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    resourceConfiguration V2InputSourceResourceConfiguration
    Resource configuration for an input source. See resourceConfiguration Block below.
    serviceArn String

    ARN of the service this input source belongs to.

    The following arguments are optional:

    inputSourceId string
    Unique identifier of the input source.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    resourceConfiguration V2InputSourceResourceConfiguration
    Resource configuration for an input source. See resourceConfiguration Block below.
    serviceArn string

    ARN of the service this input source belongs to.

    The following arguments are optional:

    input_source_id str
    Unique identifier of the input source.
    region str
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    resource_configuration V2InputSourceResourceConfigurationArgs
    Resource configuration for an input source. See resourceConfiguration Block below.
    service_arn str

    ARN of the service this input source belongs to.

    The following arguments are optional:

    inputSourceId String
    Unique identifier of the input source.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    resourceConfiguration Property Map
    Resource configuration for an input source. See resourceConfiguration Block below.
    serviceArn String

    ARN of the service this input source belongs to.

    The following arguments are optional:

    Supporting Types

    V2InputSourceResourceConfiguration, V2InputSourceResourceConfigurationArgs

    CfnStackArn string
    CloudFormation stack ARN.
    DesignFileS3Url string
    S3 URL.
    Eks V2InputSourceResourceConfigurationEks
    EKS configuration. See eks Block below.
    ResourceTags List<V2InputSourceResourceConfigurationResourceTag>
    Resource tags used for discovery. See resourceTag Block below.
    TfStateFileUrl string
    S3 URL.
    CfnStackArn string
    CloudFormation stack ARN.
    DesignFileS3Url string
    S3 URL.
    Eks V2InputSourceResourceConfigurationEks
    EKS configuration. See eks Block below.
    ResourceTags []V2InputSourceResourceConfigurationResourceTag
    Resource tags used for discovery. See resourceTag Block below.
    TfStateFileUrl string
    S3 URL.
    cfn_stack_arn string
    CloudFormation stack ARN.
    design_file_s3_url string
    S3 URL.
    eks object
    EKS configuration. See eks Block below.
    resource_tags list(object)
    Resource tags used for discovery. See resourceTag Block below.
    tf_state_file_url string
    S3 URL.
    cfnStackArn String
    CloudFormation stack ARN.
    designFileS3Url String
    S3 URL.
    eks V2InputSourceResourceConfigurationEks
    EKS configuration. See eks Block below.
    resourceTags List<V2InputSourceResourceConfigurationResourceTag>
    Resource tags used for discovery. See resourceTag Block below.
    tfStateFileUrl String
    S3 URL.
    cfnStackArn string
    CloudFormation stack ARN.
    designFileS3Url string
    S3 URL.
    eks V2InputSourceResourceConfigurationEks
    EKS configuration. See eks Block below.
    resourceTags V2InputSourceResourceConfigurationResourceTag[]
    Resource tags used for discovery. See resourceTag Block below.
    tfStateFileUrl string
    S3 URL.
    cfn_stack_arn str
    CloudFormation stack ARN.
    design_file_s3_url str
    S3 URL.
    eks V2InputSourceResourceConfigurationEks
    EKS configuration. See eks Block below.
    resource_tags Sequence[V2InputSourceResourceConfigurationResourceTag]
    Resource tags used for discovery. See resourceTag Block below.
    tf_state_file_url str
    S3 URL.
    cfnStackArn String
    CloudFormation stack ARN.
    designFileS3Url String
    S3 URL.
    eks Property Map
    EKS configuration. See eks Block below.
    resourceTags List<Property Map>
    Resource tags used for discovery. See resourceTag Block below.
    tfStateFileUrl String
    S3 URL.

    V2InputSourceResourceConfigurationEks, V2InputSourceResourceConfigurationEksArgs

    ClusterArn string
    Cluster ARN.
    Namespaces List<string>
    List of Kubernetes namespaces within the EKS cluster.
    ClusterArn string
    Cluster ARN.
    Namespaces []string
    List of Kubernetes namespaces within the EKS cluster.
    cluster_arn string
    Cluster ARN.
    namespaces list(string)
    List of Kubernetes namespaces within the EKS cluster.
    clusterArn String
    Cluster ARN.
    namespaces List<String>
    List of Kubernetes namespaces within the EKS cluster.
    clusterArn string
    Cluster ARN.
    namespaces string[]
    List of Kubernetes namespaces within the EKS cluster.
    cluster_arn str
    Cluster ARN.
    namespaces Sequence[str]
    List of Kubernetes namespaces within the EKS cluster.
    clusterArn String
    Cluster ARN.
    namespaces List<String>
    List of Kubernetes namespaces within the EKS cluster.

    V2InputSourceResourceConfigurationResourceTag, V2InputSourceResourceConfigurationResourceTagArgs

    Key string
    Tag key.
    Values List<string>
    List of tag values.
    Key string
    Tag key.
    Values []string
    List of tag values.
    key string
    Tag key.
    values list(string)
    List of tag values.
    key String
    Tag key.
    values List<String>
    List of tag values.
    key string
    Tag key.
    values string[]
    List of tag values.
    key str
    Tag key.
    values Sequence[str]
    List of tag values.
    key String
    Tag key.
    values List<String>
    List of tag values.

    Import

    Identity Schema

    Required

    • serviceArn (String) ARN of the service this input source belongs to.
    • inputSourceId (String) Unique identifier of the input source.

    Optional

    • accountId (String) AWS Account where this resource is managed.
    • region (String) Region where this resource is managed.

    Using pulumi import, import Resilience Hub V2 Input Source using the serviceArn and inputSourceId separated by a comma (,). For example:

    $ pulumi import aws:resiliencehub/v2InputSource:V2InputSource example arn:aws:resiliencehub:us-west-2:123456789012:service/example-service:abc123,12345678-1234-1234-1234-123456789012
    

    To learn more about importing existing cloud resources, see Importing resources.

    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