Class CfnGeofenceCollection

java.lang.Object
software.amazon.jsii.JsiiObject
All Implemented Interfaces:
IConstruct, IDependable, IInspectable, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:29:59.774Z") @Stability(Stable) public class CfnGeofenceCollection extends CfnResource implements IInspectable
A CloudFormation AWS::Location::GeofenceCollection.

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")
         .build();
 
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String 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 Construct scope, @NotNull String id, @NotNull CfnGeofenceCollectionProps props)
      Create a new AWS::Location::GeofenceCollection.

      Parameters:
      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.
  • Method Details

    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      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:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrArn

      @Stability(Stable) @NotNull public String 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
    • getAttrCollectionArn

      @Stability(Stable) @NotNull public String getAttrCollectionArn()
      Synonym for Arn .

      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
    • getAttrCreateTime

      @Stability(Stable) @NotNull public String getAttrCreateTime()
      The timestamp for when the geofence collection resource was created in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ .
    • getAttrUpdateTime

      @Stability(Stable) @NotNull public String getAttrUpdateTime()
      The timestamp for when the geofence collection resource was last updated in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ .
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getCollectionName

      @Stability(Stable) @NotNull public String getCollectionName()
      A custom name for the geofence collection.

      Requirements:

      • Contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods (.), and underscores (_).
      • Must be a unique geofence collection name.
      • No spaces allowed. For example, ExampleGeofenceCollection .
    • setCollectionName

      @Stability(Stable) public void setCollectionName(@NotNull String value)
      A custom name for the geofence collection.

      Requirements:

      • Contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods (.), and underscores (_).
      • Must be a unique geofence collection name.
      • No spaces allowed. For example, ExampleGeofenceCollection .
    • getDescription

      @Stability(Stable) @Nullable public String getDescription()
      An optional description for the geofence collection.
    • setDescription

      @Stability(Stable) public void setDescription(@Nullable String value)
      An optional description for the geofence collection.
    • getKmsKeyId

      @Stability(Stable) @Nullable public String getKmsKeyId()
      A key identifier for an AWS KMS customer managed key . Enter a key ID, key ARN, alias name, or alias ARN.
    • setKmsKeyId

      @Stability(Stable) public void setKmsKeyId(@Nullable String value)
      A key identifier for an AWS KMS customer managed key . Enter a key ID, key ARN, alias name, or alias ARN.