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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnMapPropsstatic final classAn implementation forCfnMapProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnMapProps.Builderbuilder()Specifies theMapConfiguration, including the map style, for the map resource that you create.default StringAn optional description for the map resource.The name for the map resource.default StringNo longer used.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getConfiguration
Specifies theMapConfiguration, 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
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
An optional description for the map resource. -
getPricingPlan
No longer used. If included, the only allowed value isRequestBasedUsage.Allowed Values :
RequestBasedUsage -
builder
- Returns:
- a
CfnMapProps.BuilderofCfnMapProps
-