Class CfnApp.ResourceMappingProperty
Defines a resource mapping.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.ResilienceHub
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ResourceMappingProperty : Object, CfnApp.IResourceMappingProperty
Syntax (vb)
Public Class ResourceMappingProperty
Inherits Object
Implements CfnApp.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
Constructors
ResourceMappingProperty() |
Properties
EksSourceName | Name of the Amazon Elastic Kubernetes Service cluster and namespace that this resource is mapped to when the |
LogicalStackName | Name of the AWS CloudFormation stack this resource is mapped to when the |
MappingType | Specifies the type of resource mapping. |
PhysicalResourceId | Identifier of the physical resource. |
ResourceName | Name of the resource that this resource is mapped to when the |
TerraformSourceName | Name of the Terraform source that this resource is mapped to when the |
Constructors
ResourceMappingProperty()
public ResourceMappingProperty()
Properties
EksSourceName
Name of the Amazon Elastic Kubernetes Service cluster and namespace that this resource is mapped to when the mappingType
is EKS
.
public string EksSourceName { get; set; }
Property Value
System.String
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
.
public string LogicalStackName { get; set; }
Property Value
System.String
Remarks
MappingType
Specifies the type of resource mapping.
public string MappingType { get; set; }
Property Value
System.String
Remarks
PhysicalResourceId
Identifier of the physical resource.
public object PhysicalResourceId { get; set; }
Property Value
System.Object
Remarks
ResourceName
Name of the resource that this resource is mapped to when the mappingType
is Resource
.
public string ResourceName { get; set; }
Property Value
System.String
Remarks
TerraformSourceName
Name of the Terraform source that this resource is mapped to when the mappingType
is Terraform
.
public string TerraformSourceName { get; set; }
Property Value
System.String