Class GeofenceCollection
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.Resource
software.amazon.awscdk.services.location.alpha.GeofenceCollection
- All Implemented Interfaces:
IResource,IGeofenceCollection,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-24T13:34:50.282Z")
@Stability(Experimental)
public class GeofenceCollection
extends Resource
implements IGeofenceCollection
(experimental) A Geofence Collection.
Example:
Key key;
GeofenceCollection.Builder.create(this, "GeofenceCollection")
.geofenceCollectionName("MyGeofenceCollection") // optional, defaults to a generated name
.kmsKey(key)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class(experimental) A fluent builder forGeofenceCollection.Nested 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.IGeofenceCollection
IGeofenceCollection.Jsii$Default, IGeofenceCollection.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
ConstructorsModifierConstructorDescriptionprotectedGeofenceCollection(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedGeofenceCollection(software.amazon.jsii.JsiiObjectRef objRef) GeofenceCollection(software.constructs.Construct scope, String id) GeofenceCollection(software.constructs.Construct scope, String id, GeofenceCollectionProps props) -
Method Summary
Modifier and TypeMethodDescriptionstatic IGeofenceCollectionfromGeofenceCollectionArn(software.constructs.Construct scope, String id, String geofenceCollectionArn) (experimental) Use an existing geofence collection by ARN.static IGeofenceCollectionfromGeofenceCollectionName(software.constructs.Construct scope, String id, String geofenceCollectionName) (experimental) Use an existing geofence collection by name.(experimental) The Amazon Resource Name (ARN) of the geofence collection resource.(experimental) The timestamp for when the geofence collection resource was created in ISO 8601 format.(experimental) The name of the geofence collection.(experimental) The timestamp for when the geofence collection 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 geofence collection.grantRead(IGrantable grantee) (experimental) Grant the given identity permissions to read this geofence collection.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
-
GeofenceCollection
protected GeofenceCollection(software.amazon.jsii.JsiiObjectRef objRef) -
GeofenceCollection
protected GeofenceCollection(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
GeofenceCollection
@Stability(Experimental) public GeofenceCollection(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable GeofenceCollectionProps props) - Parameters:
scope- This parameter is required.id- This parameter is required.props-
-
GeofenceCollection
@Stability(Experimental) public GeofenceCollection(@NotNull software.constructs.Construct scope, @NotNull String id) - Parameters:
scope- This parameter is required.id- This parameter is required.
-
-
Method Details
-
fromGeofenceCollectionArn
@Stability(Experimental) @NotNull public static IGeofenceCollection fromGeofenceCollectionArn(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String geofenceCollectionArn) (experimental) Use an existing geofence collection by ARN.- Parameters:
scope- This parameter is required.id- This parameter is required.geofenceCollectionArn- This parameter is required.
-
fromGeofenceCollectionName
@Stability(Experimental) @NotNull public static IGeofenceCollection fromGeofenceCollectionName(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String geofenceCollectionName) (experimental) Use an existing geofence collection by name.- Parameters:
scope- This parameter is required.id- This parameter is required.geofenceCollectionName- 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 geofence collection.- Parameters:
grantee- This parameter is required.actions- This parameter is required.
-
grantRead
(experimental) Grant the given identity permissions to read this geofence collection.- Parameters:
grantee- This parameter is required.- See Also:
-
getGeofenceCollectionArn
(experimental) The Amazon Resource Name (ARN) of the geofence collection resource.- Specified by:
getGeofenceCollectionArnin interfaceIGeofenceCollection
-
getGeofenceCollectionCreateTime
(experimental) The timestamp for when the geofence collection resource was created in ISO 8601 format. -
getGeofenceCollectionName
(experimental) The name of the geofence collection.- Specified by:
getGeofenceCollectionNamein interfaceIGeofenceCollection
-
getGeofenceCollectionUpdateTime
(experimental) The timestamp for when the geofence collection resource was last updated in ISO 8601 format.
-