ResourceMapping - AWS Resilience Hub

ResourceMapping

Defines a resource mapping.

Contents

appRegistryAppName

The name of the application this resource is mapped to.

Type: String

Pattern: ^[A-Za-z0-9][A-Za-z0-9_\-]{1,59}$

Required: No

logicalStackName

The name of the CloudFormation stack this resource is mapped to.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 255.

Required: No

mappingType

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.

Type: String

Valid Values: CfnStack | Resource | AppRegistryApp | ResourceGroup | Terraform

Required: Yes

physicalResourceId

The identifier of this resource.

Type: PhysicalResourceId object

Required: Yes

resourceGroupName

The name of the resource group this resource is mapped to.

Type: String

Pattern: ^[A-Za-z0-9][A-Za-z0-9_\-]{1,59}$

Required: No

resourceName

The name of the resource this resource is mapped to.

Type: String

Pattern: ^[A-Za-z0-9][A-Za-z0-9_\-]{1,59}$

Required: No

terraformSourceName

The short name of the Terraform source.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 255.

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: