interface ResourceMappingProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.ResilienceHub.Mixins.CfnAppPropsMixin.ResourceMappingProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsresiliencehub/mixins#CfnAppPropsMixin_ResourceMappingProperty |
Java | software.amazon.awscdk.mixins.preview.services.resiliencehub.mixins.CfnAppPropsMixin.ResourceMappingProperty |
Python | aws_cdk.mixins_preview.aws_resiliencehub.mixins.CfnAppPropsMixin.ResourceMappingProperty |
TypeScript | @aws-cdk/mixins-preview » aws_resiliencehub » mixins » CfnAppPropsMixin » ResourceMappingProperty |
Defines a resource mapping.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as resiliencehub_mixins } from '@aws-cdk/mixins-preview/aws-resiliencehub';
const resourceMappingProperty: resiliencehub_mixins.CfnAppPropsMixin.ResourceMappingProperty = {
eksSourceName: 'eksSourceName',
logicalStackName: 'logicalStackName',
mappingType: 'mappingType',
physicalResourceId: {
awsAccountId: 'awsAccountId',
awsRegion: 'awsRegion',
identifier: 'identifier',
type: 'type',
},
resourceName: 'resourceName',
terraformSourceName: 'terraformSourceName',
};
Properties
| Name | Type | Description |
|---|---|---|
| eks | string | Name of the Amazon Elastic Kubernetes Service cluster and namespace that this resource is mapped to when the mappingType is EKS . |
| logical | string | Name of the CloudFormation stack this resource is mapped to when the mappingType is CfnStack . |
| mapping | string | Specifies the type of resource mapping. |
| physical | IResolvable | Physical | Identifier of the physical resource. |
| resource | string | Name of the resource that this resource is mapped to when the mappingType is Resource . |
| terraform | string | Name of the Terraform source that this resource is mapped to when the mappingType is Terraform . |
eksSourceName?
Type:
string
(optional)
Name of the Amazon Elastic Kubernetes Service cluster and namespace that this resource is mapped to when the mappingType is EKS .
This parameter accepts values in "eks-cluster/namespace" format.
logicalStackName?
Type:
string
(optional)
Name of the CloudFormation stack this resource is mapped to when the mappingType is CfnStack .
mappingType?
Type:
string
(optional)
Specifies the type of resource mapping.
physicalResourceId?
Type:
IResolvable | Physical
(optional)
Identifier of the physical resource.
resourceName?
Type:
string
(optional)
Name of the resource that this resource is mapped to when the mappingType is Resource .
terraformSourceName?
Type:
string
(optional)
Name of the Terraform source that this resource is mapped to when the mappingType is Terraform .

.NET
Go
Java
Python
TypeScript