AWS::ResilienceHub::App ResourceMapping - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China.

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 }

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