Interface CfnMapProps

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

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:29:59.789Z") @Stability(Stable) public interface CfnMapProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnMap.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.location.*;
 CfnMapProps cfnMapProps = CfnMapProps.builder()
         .configuration(MapConfigurationProperty.builder()
                 .style("style")
                 .build())
         .mapName("mapName")
         // the properties below are optional
         .description("description")
         .pricingPlan("pricingPlan")
         .build();
 
  • Method Details

    • getConfiguration

      @Stability(Stable) @NotNull Object getConfiguration()
      Specifies the MapConfiguration , including the map style, for the map resource that you create.

      The map style defines the look of maps and the data provider for your map resource.

    • getMapName

      @Stability(Stable) @NotNull String getMapName()
      The name for the map resource.

      Requirements:

      • Must contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods (.), and underscores (_).
      • Must be a unique map resource name.
      • No spaces allowed. For example, ExampleMap .
    • getDescription

      @Stability(Stable) @Nullable default String getDescription()
      An optional description for the map resource.
    • getPricingPlan

      @Stability(Stable) @Nullable default String getPricingPlan()
      No longer used. If included, the only allowed value is RequestBasedUsage .

      Allowed Values : RequestBasedUsage

    • builder

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