@Generated(value="jsii-pacmak/1.63.2 (build a8a8833)", date="2022-08-17T17:31:10.959Z") 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.
|
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
IConstruct.Jsii$Default
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
Modifier | Constructor and Description |
---|---|
|
CfnMap(Construct scope,
java.lang.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 |
---|---|
java.lang.String |
getAttrArn()
The Amazon Resource Name (ARN) for the map resource.
|
java.lang.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` .
|
java.lang.String |
getAttrDataSource()
The data provider for the associated map tiles.
|
java.lang.String |
getAttrMapArn()
Synonym for `Arn` .
|
java.lang.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 java.util.Map<java.lang.String,java.lang.Object> |
getCfnProperties() |
java.lang.Object |
getConfiguration()
Specifies the map style selected from an available data provider.
|
java.lang.String |
getDescription()
An optional description for the map resource.
|
java.lang.String |
getMapName()
The name for the map resource.
|
java.lang.String |
getPricingPlan()
No longer used.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
renderProperties(java.util.Map<java.lang.String,java.lang.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(java.lang.String value)
An optional description for the map resource.
|
void |
setMapName(java.lang.String value)
The name for the map resource.
|
void |
setPricingPlan(java.lang.String value)
No longer used.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validateProperties
getRef
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
public static final java.lang.String CFN_RESOURCE_TYPE_NAME
protected CfnMap(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnMap(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public CfnMap(Construct scope, java.lang.String id, 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.public void inspect(TreeInspector inspector)
inspect
in interface IInspectable
inspector
- - tree inspector to collect and process attributes. This parameter is required.protected java.util.Map<java.lang.String,java.lang.Object> renderProperties(java.util.Map<java.lang.String,java.lang.Object> props)
renderProperties
in class CfnResource
props
- This parameter is required.public java.lang.String getAttrArn()
arn:aws:geo:region:account-id:maps/ExampleMap
public java.lang.String getAttrCreateTime()
public java.lang.String getAttrDataSource()
public java.lang.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
public java.lang.String getAttrUpdateTime()
protected java.util.Map<java.lang.String,java.lang.Object> getCfnProperties()
getCfnProperties
in class CfnResource
public java.lang.Object getConfiguration()
public void setConfiguration(CfnMap.MapConfigurationProperty value)
public void setConfiguration(IResolvable value)
public java.lang.String getMapName()
Requirements:
ExampleMap
.public void setMapName(java.lang.String value)
Requirements:
ExampleMap
.public java.lang.String getDescription()
public void setDescription(java.lang.String value)
public java.lang.String getPricingPlan()
Allowed Values : RequestBasedUsage
public void setPricingPlan(java.lang.String value)
Allowed Values : RequestBasedUsage