Interface CfnApp.IResourceMappingProperty
Defines a resource mapping.
Namespace: Amazon.CDK.AWS.ResilienceHub
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IResourceMappingProperty
Syntax (vb)
Public Interface IResourceMappingProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ResilienceHub;
var resourceMappingProperty = new ResourceMappingProperty {
MappingType = "mappingType",
PhysicalResourceId = new PhysicalResourceIdProperty {
Identifier = "identifier",
Type = "type",
// the properties below are optional
AwsAccountId = "awsAccountId",
AwsRegion = "awsRegion"
},
// the properties below are optional
EksSourceName = "eksSourceName",
LogicalStackName = "logicalStackName",
ResourceName = "resourceName",
TerraformSourceName = "terraformSourceName"
};
Synopsis
Properties
Eks |
Name of the Amazon Elastic Kubernetes Service cluster and namespace that this resource is mapped to when the |
Logical |
Name of the AWS CloudFormation stack this resource is mapped to when the |
Mapping |
Specifies the type of resource mapping. |
Physical |
Identifier of the physical resource. |
Resource |
Name of the resource that this resource is mapped to when the |
Terraform |
Name of the Terraform source that this resource is mapped to when the |
Properties
EksSourceName
Name of the Amazon Elastic Kubernetes Service cluster and namespace that this resource is mapped to when the mappingType
is EKS
.
virtual string EksSourceName { get; }
Property Value
System.
Remarks
This parameter accepts values in "eks-cluster/namespace" format.
LogicalStackName
Name of the AWS CloudFormation stack this resource is mapped to when the mappingType
is CfnStack
.
virtual string LogicalStackName { get; }
Property Value
System.
Remarks
MappingType
Specifies the type of resource mapping.
string MappingType { get; }
Property Value
System.
Remarks
PhysicalResourceId
Identifier of the physical resource.
object PhysicalResourceId { get; }
Property Value
System.
Remarks
ResourceName
Name of the resource that this resource is mapped to when the mappingType
is Resource
.
virtual string ResourceName { get; }
Property Value
System.
Remarks
TerraformSourceName
Name of the Terraform source that this resource is mapped to when the mappingType
is Terraform
.
virtual string TerraformSourceName { get; }
Property Value
System.