Class: Aws::ResilienceHub::Types::ResourceMapping
- Inherits:
-
Struct
- Object
- Struct
- Aws::ResilienceHub::Types::ResourceMapping
- Defined in:
- gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb
Overview
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
-
#app_registry_app_name ⇒ String
The name of the application this resource is mapped to.
-
#logical_stack_name ⇒ String
The name of the CloudFormation stack this resource is mapped to.
-
#mapping_type ⇒ String
Specifies the type of resource mapping.
-
#physical_resource_id ⇒ Types::PhysicalResourceId
The identifier of this resource.
-
#resource_group_name ⇒ String
The name of the resource group this resource is mapped to.
-
#resource_name ⇒ String
The name of the resource this resource is mapped to.
-
#terraform_source_name ⇒ String
The short name of the Terraform source.
Instance Attribute Details
#app_registry_app_name ⇒ String
The name of the application this resource is mapped to.
3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 |
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb', line 3494 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_name ⇒ String
The name of the CloudFormation stack this resource is mapped to.
3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 |
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb', line 3494 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_type ⇒ String
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.
3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 |
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb', line 3494 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_id ⇒ Types::PhysicalResourceId
The identifier of this resource.
3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 |
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb', line 3494 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_name ⇒ String
The name of the resource group this resource is mapped to.
3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 |
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb', line 3494 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_name ⇒ String
The name of the resource this resource is mapped to.
3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 |
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb', line 3494 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_name ⇒ String
The short name of the Terraform source.
3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 |
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb', line 3494 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 |