@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:40.673Z") @Stability(value=Stable) public class CfnMap extends CfnResource implements IInspectable
The AWS::Location::Map resource specifies a map resource in your AWS account, which provides map tiles of different styles sourced from global location data providers.
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.*;
CfnMap cfnMap = CfnMap.Builder.create(this, "MyCfnMap")
.configuration(MapConfigurationProperty.builder()
.style("style")
.build())
.mapName("mapName")
// the properties below are optional
.description("description")
.pricingPlan("pricingPlan")
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnMap.Builder
A fluent builder for
CfnMap. |
static interface |
CfnMap.MapConfigurationProperty
Specifies the map tile style selected from an available provider.
|
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnMap(software.constructs.Construct scope,
String id,
CfnMapProps props)
Create a new `AWS::Location::Map`.
|
protected |
CfnMap(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnMap(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrArn()
The Amazon Resource Name (ARN) for the map resource.
|
String |
getAttrCreateTime()
The timestamp for when the map resource was created in [ISO 8601](https://docs.aws.amazon.com/https://www.iso.org/iso-8601-date-and-time-format.html) format: `YYYY-MM-DDThh:mm:ss.sssZ` .
|
String |
getAttrDataSource()
The data provider for the associated map tiles.
|
String |
getAttrMapArn()
Synonym for `Arn` .
|
String |
getAttrUpdateTime()
The timestamp for when the map resource was last updated in [ISO 8601](https://docs.aws.amazon.com/https://www.iso.org/iso-8601-date-and-time-format.html) format: `YYYY-MM-DDThh:mm:ss.sssZ` .
|
protected Map<String,Object> |
getCfnProperties() |
Object |
getConfiguration()
Specifies the map style selected from an available data provider.
|
String |
getDescription()
An optional description for the map resource.
|
String |
getMapName()
The name for the map resource.
|
String |
getPricingPlan()
No longer used.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setConfiguration(CfnMap.MapConfigurationProperty value)
Specifies the map style selected from an available data provider.
|
void |
setConfiguration(IResolvable value)
Specifies the map style selected from an available data provider.
|
void |
setDescription(String value)
An optional description for the map resource.
|
void |
setMapName(String value)
The name for the map resource.
|
void |
setPricingPlan(String value)
No longer used.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnMap(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnMap(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnMap(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnMapProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrArn()
arn:aws:geo:region:account-id:maps/ExampleMap@Stability(value=Stable) @NotNull public String getAttrCreateTime()
@Stability(value=Stable) @NotNull public String getAttrDataSource()
@Stability(value=Stable) @NotNull public String getAttrMapArn()
The Amazon Resource Name (ARN) for the map resource. Used to specify a resource across all AWS .
arn:aws:geo:region:account-id:maps/ExampleMap@Stability(value=Stable) @NotNull public String getAttrUpdateTime()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public Object getConfiguration()
@Stability(value=Stable)
public void setConfiguration(@NotNull
CfnMap.MapConfigurationProperty value)
@Stability(value=Stable)
public void setConfiguration(@NotNull
IResolvable value)
@Stability(value=Stable) @NotNull public String getMapName()
Requirements:
ExampleMap .@Stability(value=Stable)
public void setMapName(@NotNull
String value)
Requirements:
ExampleMap .@Stability(value=Stable) @Nullable public String getDescription()
@Stability(value=Stable)
public void setDescription(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getPricingPlan()
Allowed Values : RequestBasedUsage
@Stability(value=Stable)
public void setPricingPlan(@Nullable
String value)
Allowed Values : RequestBasedUsage
Copyright © 2022. All rights reserved.