Interface CfnMappingProps

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

@Generated(value="jsii-pacmak/1.101.0 (build b95fe5d)", date="2024-08-02T00:29:05.295Z") @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");
 
  • 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