Interface CfnAppPropsMixin.ResourceMappingProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAppPropsMixin.ResourceMappingProperty.Jsii$Proxy
- Enclosing class:
CfnAppPropsMixin
@Stability(Stable)
public static interface CfnAppPropsMixin.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.cfnpropertymixins.services.resiliencehub.*;
ResourceMappingProperty resourceMappingProperty = ResourceMappingProperty.builder()
.eksSourceName("eksSourceName")
.logicalStackName("logicalStackName")
.mappingType("mappingType")
.physicalResourceId(PhysicalResourceIdProperty.builder()
.awsAccountId("awsAccountId")
.awsRegion("awsRegion")
.identifier("identifier")
.type("type")
.build())
.resourceName("resourceName")
.terraformSourceName("terraformSourceName")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnAppPropsMixin.ResourceMappingPropertystatic final classAn implementation forCfnAppPropsMixin.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 CloudFormation stack this resource is mapped to when themappingTypeisCfnStack.default StringSpecifies the type of resource mapping.default ObjectIdentifier 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
-
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 CloudFormation stack this resource is mapped to when themappingTypeisCfnStack.- See Also:
-
getMappingType
Specifies the type of resource mapping.- See Also:
-
getPhysicalResourceId
Identifier of the physical resource.Returns union: either
IResolvableorCfnAppPropsMixin.PhysicalResourceIdProperty- 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
-