@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-28T18:14:31.832Z") @Stability(value=Stable) public interface CfnMappingProps extends software.amazon.jsii.JsiiSerializable
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");
Modifier and Type | Interface and Description |
---|---|
static class |
CfnMappingProps.Builder
A builder for
CfnMappingProps |
static class |
CfnMappingProps.Jsii$Proxy
An implementation for
CfnMappingProps |
Modifier and Type | Method and Description |
---|---|
static CfnMappingProps.Builder |
builder() |
default Boolean |
getLazy() |
default Map<String,Map<String,Object>> |
getMapping()
Mapping of key to a set of corresponding set of named values.
|
@Stability(value=Stable) @Nullable default Boolean getLazy()
@Stability(value=Stable) @Nullable default Map<String,Map<String,Object>> getMapping()
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.
@Stability(value=Stable) static CfnMappingProps.Builder builder()
CfnMappingProps.Builder
of CfnMappingProps
Copyright © 2022. All rights reserved.