Class CfnGeofenceCollection
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.location.CfnGeofenceCollection
- All Implemented Interfaces:
IEnvironmentAware,IInspectable,ITaggableV2,IGeofenceCollectionRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)",
date="2025-11-10T13:40:09.228Z")
@Stability(Stable)
public class CfnGeofenceCollection
extends CfnResource
implements IInspectable, IGeofenceCollectionRef, ITaggableV2
The
AWS::Location::GeofenceCollection resource specifies the ability to detect and act when a tracked device enters or exits a defined geographical boundary known as a geofence.
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.*;
CfnGeofenceCollection cfnGeofenceCollection = CfnGeofenceCollection.Builder.create(this, "MyCfnGeofenceCollection")
.collectionName("collectionName")
// the properties below are optional
.description("description")
.kmsKeyId("kmsKeyId")
.pricingPlan("pricingPlan")
.pricingPlanDataSource("pricingPlanDataSource")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.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.IGeofenceCollectionRef
IGeofenceCollectionRef.Jsii$Default, IGeofenceCollectionRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnGeofenceCollection(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnGeofenceCollection(software.amazon.jsii.JsiiObjectRef objRef) CfnGeofenceCollection(software.constructs.Construct scope, String id, CfnGeofenceCollectionProps props) -
Method Summary
Modifier and TypeMethodDescriptionstatic IGeofenceCollectionReffromCollectionName(software.constructs.Construct scope, String id, String collectionName) Creates a new IGeofenceCollectionRef from a collectionName.static IGeofenceCollectionReffromGeofenceCollectionArn(software.constructs.Construct scope, String id, String arn) Creates a new IGeofenceCollectionRef from an ARN.The Amazon Resource Name (ARN) for the geofence collection resource.Synonym forArn.The timestamp for when the geofence collection resource was created in ISO 8601 format:YYYY-MM-DDThh:mm:ss.sssZ.The timestamp for when the geofence collection resource was last updated in ISO 8601 format:YYYY-MM-DDThh:mm:ss.sssZ.Tag Manager which manages the tags for this resource.A custom name for the geofence collection.An optional description for the geofence collection.A reference to a GeofenceCollection resource.A key identifier for an AWS KMS customer managed key .Deprecated.this property has been deprecatedDeprecated.this property has been deprecatedgetTags()Applies one or more tags to the geofence collection.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetCollectionName(String value) A custom name for the geofence collection.voidsetDescription(String value) An optional description for the geofence collection.voidsetKmsKeyId(String value) A key identifier for an AWS KMS customer managed key .voidsetPricingPlan(String value) Deprecated.this property has been deprecatedvoidsetPricingPlanDataSource(String value) Deprecated.this property has been deprecatedvoidApplies one or more tags to the geofence collection.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods 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.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnGeofenceCollection
protected CfnGeofenceCollection(software.amazon.jsii.JsiiObjectRef objRef) -
CfnGeofenceCollection
protected CfnGeofenceCollection(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnGeofenceCollection
@Stability(Stable) public CfnGeofenceCollection(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnGeofenceCollectionProps props) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
fromCollectionName
@Stability(Stable) @NotNull public static IGeofenceCollectionRef fromCollectionName(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String collectionName) Creates a new IGeofenceCollectionRef from a collectionName.- Parameters:
scope- This parameter is required.id- This parameter is required.collectionName- This parameter is required.
-
fromGeofenceCollectionArn
@Stability(Stable) @NotNull public static IGeofenceCollectionRef fromGeofenceCollectionArn(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String arn) Creates a new IGeofenceCollectionRef from an ARN.- Parameters:
scope- This parameter is required.id- This parameter is required.arn- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrArn
The Amazon Resource Name (ARN) for the geofence collection resource.Used when you need to specify a resource across all AWS .
- Format example:
arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollection
- Format example:
-
getAttrCollectionArn
Synonym forArn.The Amazon Resource Name (ARN) for the geofence collection resource. Used when you need to specify a resource across all AWS .
- Format example:
arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollection
- Format example:
-
getAttrCreateTime
The timestamp for when the geofence collection resource was created in ISO 8601 format:YYYY-MM-DDThh:mm:ss.sssZ. -
getAttrUpdateTime
The timestamp for when the geofence collection resource was last updated in ISO 8601 format:YYYY-MM-DDThh:mm:ss.sssZ. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getGeofenceCollectionRef
A reference to a GeofenceCollection resource.- Specified by:
getGeofenceCollectionRefin interfaceIGeofenceCollectionRef
-
getCollectionName
A custom name for the geofence collection. -
setCollectionName
A custom name for the geofence collection. -
getDescription
An optional description for the geofence collection. -
setDescription
An optional description for the geofence collection. -
getKmsKeyId
A key identifier for an AWS KMS customer managed key . Enter a key ID, key ARN, alias name, or alias ARN. -
setKmsKeyId
A key identifier for an AWS KMS customer managed key . Enter a key ID, key ARN, alias name, or alias ARN. -
getPricingPlan
Deprecated.this property has been deprecated -
setPricingPlan
Deprecated.this property has been deprecated -
getPricingPlanDataSource
Deprecated.this property has been deprecated(deprecated) This shape is deprecated since 2022-02-01: Deprecated. -
setPricingPlanDataSource
Deprecated.this property has been deprecated(deprecated) This shape is deprecated since 2022-02-01: Deprecated. -
getTags
Applies one or more tags to the geofence collection. -
setTags
Applies one or more tags to the geofence collection.
-