# AWS::ResilienceHub::App ResourceMapping Resource mapping is used to map logical resources from template to physical resource ## Syntax To declare this entity in your AWS CloudFormation template, use the following syntax: ### JSON
{ "LogicalStackName" : String, "MappingType" : String, "ResourceName" : String, "TerraformSourceName" : String, "EksSourceName" : String, "PhysicalResourceId" : PhysicalResourceId }### YAML
LogicalStackName: String MappingType: String ResourceName: String TerraformSourceName: String EksSourceName: String PhysicalResourceId: PhysicalResourceId## Properties #### LogicalStackName _Required_: No _Type_: String _Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt) #### MappingType _Required_: Yes _Type_: String _Pattern_:
CfnStack|Resource|Terraform|EKS
_Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)
#### ResourceName
_Required_: No
_Type_: String
_Pattern_: ^[A-Za-z0-9][A-Za-z0-9_\-]{1,59}$
_Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)
#### TerraformSourceName
_Required_: No
_Type_: String
_Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)
#### EksSourceName
_Required_: No
_Type_: String
_Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)
#### PhysicalResourceId
_Required_: Yes
_Type_: PhysicalResourceId
_Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)