Interface CfnMapProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnMapProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.89.0 (build 2f74b3e)",
date="2023-10-26T00:56:10.076Z")
@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();
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
getDescription
An optional description for the map resource.- See Also:
-
getPricingPlan
No longer used. If included, the only allowed value isRequestBasedUsage.Allowed Values :
RequestBasedUsage- See Also:
-
builder
- Returns:
- a
CfnMapProps.BuilderofCfnMapProps
-