Package software.amazon.awscdk
Interface CfnMappingProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnMappingProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-29T11:15:30.871Z")
@Stability(Stable)
public interface CfnMappingProps
extends software.amazon.jsii.JsiiSerializable
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)")))
.lazy(true)
.build();
regionTable.findInMap("us-east-2", "regionName");
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnMappingPropsstatic final classAn implementation forCfnMappingProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnMappingProps.Builderbuilder()default BooleangetLazy()Mapping of key to a set of corresponding set of named values.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getLazy
-
getMapping
Mapping of key to a set of corresponding set of named values.The key identifies a map of name-value pairs and must be unique within the mapping.
For example, if you want to set values based on a region, you can create a mapping that uses the region name as a key and contains the values you want to specify for each specific region.
Default: - No mapping.
-
builder
- Returns:
- a
CfnMappingProps.BuilderofCfnMappingProps
-