Interface CfnApp.ResourceMappingProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnApp.ResourceMappingProperty.Jsii$Proxy
- Enclosing class:
CfnApp
@Stability(Stable)
public static interface CfnApp.ResourceMappingProperty
extends software.amazon.jsii.JsiiSerializable
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 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
.eksSourceName("eksSourceName")
.logicalStackName("logicalStackName")
.resourceName("resourceName")
.terraformSourceName("terraformSourceName")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnApp.ResourceMappingPropertystatic final classAn implementation forCfnApp.ResourceMappingProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringName of the Amazon Elastic Kubernetes Service cluster and namespace that this resource is mapped to when themappingTypeisEKS.default StringName of the AWS CloudFormation stack this resource is mapped to when themappingTypeisCfnStack.Specifies the type of resource mapping.Identifier of the physical resource.default StringName of the resource that this resource is mapped to when themappingTypeisResource.default StringName of the Terraform source that this resource is mapped to when themappingTypeisTerraform.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMappingType
Specifies the type of resource mapping.- See Also:
-
getPhysicalResourceId
Identifier of the physical resource.Returns union: either
IResolvableorCfnApp.PhysicalResourceIdProperty- See Also:
-
getEksSourceName
Name of the Amazon Elastic Kubernetes Service cluster and namespace that this resource is mapped to when themappingTypeisEKS.This parameter accepts values in "eks-cluster/namespace" format.
- See Also:
-
getLogicalStackName
Name of the AWS CloudFormation stack this resource is mapped to when themappingTypeisCfnStack.- See Also:
-
getResourceName
Name of the resource that this resource is mapped to when themappingTypeisResource.- See Also:
-
getTerraformSourceName
Name of the Terraform source that this resource is mapped to when themappingTypeisTerraform.- See Also:
-
builder
-