AWS::ResilienceHub::App ResourceMapping
Defines a resource mapping.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "LogicalStackName" :String, "MappingType" :String, "PhysicalResourceId" :PhysicalResourceId, "ResourceName" :String, "TerraformSourceName" :String}
YAML
LogicalStackName:StringMappingType:StringPhysicalResourceId:PhysicalResourceIdResourceName:StringTerraformSourceName:String
Properties
LogicalStackName-
The name of the CloudFormation stack this resource is mapped to.
Required: No
Type: String
Update requires: No interruption
MappingType-
Specifies the type of resource mapping.
Valid Values: CfnStack | Resource | AppRegistryApp | ResourceGroup | Terraform
- AppRegistryApp
-
The resource is mapped to another application. The name of the application is contained in the
appRegistryAppNameproperty. - CfnStack
-
The resource is mapped to a CloudFormation stack. The name of the CloudFormation stack is contained in the
logicalStackNameproperty. - Resource
-
The resource is mapped to another resource. The name of the resource is contained in the
resourceNameproperty. - ResourceGroup
-
The resource is mapped to a resource group. The name of the resource group is contained in the
resourceGroupNameproperty.
Required: Yes
Type: String
Update requires: No interruption
PhysicalResourceId-
The identifier of this resource.
Required: Yes
Type: PhysicalResourceId
Update requires: No interruption
ResourceName-
The name of the resource this resource is mapped to.
Required: No
Type: String
Update requires: No interruption
TerraformSourceName-
The short name of the Terraform source.
Required: No
Type: String
Update requires: No interruption