@Stability(value=Stable)
public static interface CfnApp.ResourceMappingProperty
extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.resiliencehub.*;
ResourceMappingProperty resourceMappingProperty = ResourceMappingProperty.builder()
.mappingType("mappingType")
.physicalResourceId(PhysicalResourceIdProperty.builder()
.identifier("identifier")
.type("type")
// the properties below are optional
.awsAccountId("awsAccountId")
.awsRegion("awsRegion")
.build())
// the properties below are optional
.logicalStackName("logicalStackName")
.resourceName("resourceName")
.terraformSourceName("terraformSourceName")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnApp.ResourceMappingProperty.Builder
A builder for
CfnApp.ResourceMappingProperty |
static class |
CfnApp.ResourceMappingProperty.Jsii$Proxy
An implementation for
CfnApp.ResourceMappingProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnApp.ResourceMappingProperty.Builder |
builder() |
default String |
getLogicalStackName()
The name of the CloudFormation stack this resource is mapped to.
|
String |
getMappingType()
Specifies the type of resource mapping.
|
Object |
getPhysicalResourceId()
The identifier of this resource.
|
default String |
getResourceName()
The name of the resource this resource is mapped to.
|
default String |
getTerraformSourceName()
`CfnApp.ResourceMappingProperty.TerraformSourceName`.
|
@Stability(value=Stable) @NotNull String getMappingType()
appRegistryAppName property.logicalStackName property.resourceName property.resourceGroupName property.@Stability(value=Stable) @NotNull Object getPhysicalResourceId()
@Stability(value=Stable) @Nullable default String getLogicalStackName()
@Stability(value=Stable) @Nullable default String getResourceName()
@Stability(value=Stable) @Nullable default String getTerraformSourceName()
@Stability(value=Stable) static CfnApp.ResourceMappingProperty.Builder builder()
Copyright © 2022. All rights reserved.