ResourceMapping - AWS Resilience Hub

ResourceMapping

Defines a resource mapping.

Contents

mappingType

Specifies the type of resource mapping.

Type: String

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

Required: Yes

physicalResourceId

Identifier of the physical resource.

Type: PhysicalResourceId object

Required: Yes

appRegistryAppName

Name of the application this resource is mapped to when the mappingType is AppRegistryApp.

Type: String

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

Required: No

eksSourceName

Name of the Amazon Elastic Kubernetes Service cluster and namespace that this resource is mapped to when the mappingType is EKS.

Note

This parameter accepts values in "eks-cluster/namespace" format.

Type: String

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

Required: No

logicalStackName

Name of the AWS CloudFormation stack this resource is mapped to when the mappingType is CfnStack.

Type: String

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

Required: No

resourceGroupName

Name of the AWS Resource Groups that this resource is mapped to when the mappingType is ResourceGroup.

Type: String

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

Required: No

resourceName

Name of the resource that this resource is mapped to when the mappingType is Resource.

Type: String

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

Required: No

terraformSourceName

Name of the Terraform source that this resource is mapped to when the mappingType is Terraform.

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: