AWS::ResilienceHub::App ResourceMapping
Defines a resource mapping.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "LogicalStackName" :
String
, "MappingType" :String
, "PhysicalResourceId" :PhysicalResourceId
, "ResourceName" :String
, "TerraformSourceName" :String
}
YAML
LogicalStackName:
String
MappingType:String
PhysicalResourceId:PhysicalResourceId
ResourceName:String
TerraformSourceName: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
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.
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