Class Map
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.Resource
software.amazon.awscdk.services.location.alpha.Map
- All Implemented Interfaces:
IResource,IMap,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-29T11:15:51.923Z")
@Stability(Experimental)
public class Map
extends Resource
implements IMap
(experimental) The Amazon Location Service Map.
Example:
Map.Builder.create(this, "Map")
.mapName("my-map")
.style(Style.VECTOR_ESRI_NAVIGATION)
.customLayers(List.of(CustomLayer.POI))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.services.location.alpha.IMap
IMap.Jsii$Default, IMap.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String(experimental) Uniquely identifies this class. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic IMapfromMapArn(software.constructs.Construct scope, String id, String mapArn) (experimental) Use an existing map by ARN.static IMapfromMapName(software.constructs.Construct scope, String id, String mapName) (experimental) Use an existing map by name.(experimental) The Amazon Resource Name (ARN) of the Map.(experimental) The timestamp for when the map resource was created in ISO 8601 format.(experimental) The name of the map.(experimental) The timestamp for when the map resource was last updated in ISO 8601 format.grant(IGrantable grantee, String... actions) (experimental) Grant the given principal identity permissions to perform the actions on this map.grantRendering(IGrantable grantee) (experimental) Grant the given identity permissions to rendering a map resource.Methods inherited from class software.amazon.awscdk.Resource
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isOwnedResource, isResourceMethods inherited from class software.constructs.Construct
getNode, isConstruct, toStringMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getEnv, getStackMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
PROPERTY_INJECTION_ID
(experimental) Uniquely identifies this class.
-
-
Constructor Details
-
Map
protected Map(software.amazon.jsii.JsiiObjectRef objRef) -
Map
protected Map(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
Map
@Stability(Experimental) public Map(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull MapProps props) - Parameters:
scope- This parameter is required.id- This parameter is required.props- This parameter is required.
-
-
Method Details
-
fromMapArn
@Stability(Experimental) @NotNull public static IMap fromMapArn(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String mapArn) (experimental) Use an existing map by ARN.- Parameters:
scope- This parameter is required.id- This parameter is required.mapArn- This parameter is required.
-
fromMapName
@Stability(Experimental) @NotNull public static IMap fromMapName(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String mapName) (experimental) Use an existing map by name.- Parameters:
scope- This parameter is required.id- This parameter is required.mapName- This parameter is required.
-
grant
@Stability(Experimental) @NotNull public Grant grant(@NotNull IGrantable grantee, @NotNull String... actions) (experimental) Grant the given principal identity permissions to perform the actions on this map.- Parameters:
grantee- This parameter is required.actions- This parameter is required.
-
grantRendering
(experimental) Grant the given identity permissions to rendering a map resource.- Parameters:
grantee- This parameter is required.
-
getMapArn
(experimental) The Amazon Resource Name (ARN) of the Map. -
getMapCreateTime
(experimental) The timestamp for when the map resource was created in ISO 8601 format. -
getMapName
(experimental) The name of the map.- Specified by:
getMapNamein interfaceIMap
-
getMapUpdateTime
(experimental) The timestamp for when the map resource was last updated in ISO 8601 format.
-