public static final class CfnMapping.Builder
extends java.lang.Object
CfnMapping
.Modifier and Type | Method and Description |
---|---|
CfnMapping |
build() |
static CfnMapping.Builder |
create(software.constructs.Construct scope,
java.lang.String id) |
CfnMapping.Builder |
lazy(java.lang.Boolean lazy) |
CfnMapping.Builder |
mapping(java.util.Map<java.lang.String,? extends java.util.Map<java.lang.String,? extends java.lang.Object>> mapping)
Mapping of key to a set of corresponding set of named values.
|
public static CfnMapping.Builder create(software.constructs.Construct scope, java.lang.String id)
scope
- This parameter is required.id
- This parameter is required.CfnMapping.Builder
.public CfnMapping.Builder lazy(java.lang.Boolean lazy)
lazy
- This parameter is required.this
public CfnMapping.Builder mapping(java.util.Map<java.lang.String,? extends java.util.Map<java.lang.String,? extends java.lang.Object>> mapping)
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.
mapping
- Mapping of key to a set of corresponding set of named values. This parameter is required.this
public CfnMapping build()