Interface CfnMappingProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnMappingProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:29:54.862Z") @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)")))
         .build();
 regionTable.findInMap(Aws.REGION, "regionName");
 
  • Method Details

    • getLazy

      @Stability(Stable) @Nullable default Boolean getLazy()
    • getMapping

      @Stability(Stable) @Nullable default Map<String,Map<String,Object>> 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

      @Stability(Stable) static CfnMappingProps.Builder builder()
      Returns:
      a CfnMappingProps.Builder of CfnMappingProps