Class: Aws::ResilienceHub::Types::ResourceMapping

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb

Overview

Note:

When making an API call, you may pass ResourceMapping data as a hash:

{
  app_registry_app_name: "EntityName",
  logical_stack_name: "String255",
  mapping_type: "CfnStack", # required, accepts CfnStack, Resource, AppRegistryApp, ResourceGroup, Terraform
  physical_resource_id: { # required
    aws_account_id: "CustomerId",
    aws_region: "AwsRegion",
    identifier: "String255", # required
    type: "Arn", # required, accepts Arn, Native
  },
  resource_group_name: "EntityName",
  resource_name: "EntityName",
  terraform_source_name: "String255",
}

Defines a resource mapping.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#app_registry_app_nameString

The name of the application this resource is mapped to.

Returns:

  • (String)


3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb', line 3499

class ResourceMapping < Struct.new(
  :app_registry_app_name,
  :logical_stack_name,
  :mapping_type,
  :physical_resource_id,
  :resource_group_name,
  :resource_name,
  :terraform_source_name)
  SENSITIVE = []
  include Aws::Structure
end

#logical_stack_nameString

The name of the CloudFormation stack this resource is mapped to.

Returns:

  • (String)


3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb', line 3499

class ResourceMapping < Struct.new(
  :app_registry_app_name,
  :logical_stack_name,
  :mapping_type,
  :physical_resource_id,
  :resource_group_name,
  :resource_name,
  :terraform_source_name)
  SENSITIVE = []
  include Aws::Structure
end

#mapping_typeString

Specifies the type of resource mapping.

AppRegistryApp

The resource is mapped to another application. The name of the application is contained in the appRegistryAppName property.

CfnStack

The resource is mapped to a CloudFormation stack. The name of the CloudFormation stack is contained in the logicalStackName property.

Resource

The resource is mapped to another resource. The name of the resource is contained in the resourceName property.

ResourceGroup

The resource is mapped to a resource group. The name of the resource group is contained in the resourceGroupName property.

Returns:

  • (String)


3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb', line 3499

class ResourceMapping < Struct.new(
  :app_registry_app_name,
  :logical_stack_name,
  :mapping_type,
  :physical_resource_id,
  :resource_group_name,
  :resource_name,
  :terraform_source_name)
  SENSITIVE = []
  include Aws::Structure
end

#physical_resource_idTypes::PhysicalResourceId

The identifier of this resource.



3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb', line 3499

class ResourceMapping < Struct.new(
  :app_registry_app_name,
  :logical_stack_name,
  :mapping_type,
  :physical_resource_id,
  :resource_group_name,
  :resource_name,
  :terraform_source_name)
  SENSITIVE = []
  include Aws::Structure
end

#resource_group_nameString

The name of the resource group this resource is mapped to.

Returns:

  • (String)


3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb', line 3499

class ResourceMapping < Struct.new(
  :app_registry_app_name,
  :logical_stack_name,
  :mapping_type,
  :physical_resource_id,
  :resource_group_name,
  :resource_name,
  :terraform_source_name)
  SENSITIVE = []
  include Aws::Structure
end

#resource_nameString

The name of the resource this resource is mapped to.

Returns:

  • (String)


3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb', line 3499

class ResourceMapping < Struct.new(
  :app_registry_app_name,
  :logical_stack_name,
  :mapping_type,
  :physical_resource_id,
  :resource_group_name,
  :resource_name,
  :terraform_source_name)
  SENSITIVE = []
  include Aws::Structure
end

#terraform_source_nameString

The short name of the Terraform source.

Returns:

  • (String)


3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb', line 3499

class ResourceMapping < Struct.new(
  :app_registry_app_name,
  :logical_stack_name,
  :mapping_type,
  :physical_resource_id,
  :resource_group_name,
  :resource_name,
  :terraform_source_name)
  SENSITIVE = []
  include Aws::Structure
end