Class CfnApp.ResourceMappingProperty
Defines a resource mapping.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.ResilienceHub
Assembly: Amazon.CDK.AWS.ResilienceHub.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 |
|
LogicalStackName | The name of the CloudFormation stack this resource is mapped to. |
MappingType | Specifies the type of resource mapping. |
PhysicalResourceId | The identifier of this resource. |
ResourceName | The name of the resource this resource is mapped to. |
TerraformSourceName | The short name of the Terraform source. |
Constructors
ResourceMappingProperty()
public ResourceMappingProperty()
Properties
EksSourceName
CfnApp.ResourceMappingProperty.EksSourceName
.
public string EksSourceName { get; set; }
Property Value
System.String
Remarks
LogicalStackName
The name of the CloudFormation stack this resource is mapped to.
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
Valid Values: CfnStack | Resource | AppRegistryApp | ResourceGroup | Terraform
PhysicalResourceId
The identifier of this resource.
public object PhysicalResourceId { get; set; }
Property Value
System.Object
Remarks
ResourceName
The name of the resource this resource is mapped to.
public string ResourceName { get; set; }
Property Value
System.String
Remarks
TerraformSourceName
The short name of the Terraform source.
public string TerraformSourceName { get; set; }
Property Value
System.String