Class CfnMapping
- All Implemented Interfaces:
IConstruct
,IDependable
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
Example:
CfnMapping regionTable = CfnMapping.Builder.create(this, "RegionTable") .mapping(Map.of( "us-east-1", Map.of( "regionName", "US East (N. Virginia)"), "us-east-2", Map.of( "regionName", "US East (Ohio)"))) .build(); regionTable.findInMap(Aws.REGION, "regionName");
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
CfnMapping
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnMapping
(software.amazon.jsii.JsiiObjectRef objRef) CfnMapping
(software.constructs.Construct scope, String id) CfnMapping
(software.constructs.Construct scope, String id, CfnMappingProps props) -
Method Summary
Methods inherited from class software.amazon.awscdk.core.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.core.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
Methods inherited from class software.constructs.Construct
toString
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
CfnMapping
protected CfnMapping(software.amazon.jsii.JsiiObjectRef objRef) -
CfnMapping
protected CfnMapping(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnMapping
@Stability(Stable) public CfnMapping(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable CfnMappingProps props) - Parameters:
scope
- This parameter is required.id
- This parameter is required.props
-
-
CfnMapping
@Stability(Stable) public CfnMapping(@NotNull software.constructs.Construct scope, @NotNull String id) - Parameters:
scope
- This parameter is required.id
- This parameter is required.
-
-
Method Details
-
findInMap
- Parameters:
key1
- This parameter is required.key2
- This parameter is required.- Returns:
- A reference to a value in the map based on the two keys.
-
setValue
@Stability(Stable) public void setValue(@NotNull String key1, @NotNull String key2, @NotNull Object value) Sets a value in the map based on the two keys.- Parameters:
key1
- This parameter is required.key2
- This parameter is required.value
- This parameter is required.
-