@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-14T16:25:24.031Z") public class CfnGeofenceCollection extends CfnResource implements IInspectable
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();
Modifier and Type | Class and Description |
---|---|
static class |
CfnGeofenceCollection.Builder
A fluent builder for
CfnGeofenceCollection . |
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 |
---|---|
|
CfnGeofenceCollection(Construct scope,
java.lang.String id,
CfnGeofenceCollectionProps props)
Create a new `AWS::Location::GeofenceCollection`.
|
protected |
CfnGeofenceCollection(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnGeofenceCollection(software.amazon.jsii.JsiiObjectRef objRef) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAttrArn()
The Amazon Resource Name (ARN) for the geofence collection resource.
|
java.lang.String |
getAttrCollectionArn()
Synonym for `Arn` .
|
java.lang.String |
getAttrCreateTime()
The timestamp for when the geofence collection 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 |
getAttrUpdateTime()
The timestamp for when the geofence collection 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.String |
getCollectionName()
A custom name for the geofence collection.
|
java.lang.String |
getDescription()
An optional description for the geofence collection.
|
java.lang.String |
getKmsKeyId()
A key identifier for an [AWS KMS customer managed key](https://docs.aws.amazon.com/kms/latest/developerguide/create-keys.html) .
|
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 |
setCollectionName(java.lang.String value)
A custom name for the geofence collection.
|
void |
setDescription(java.lang.String value)
An optional description for the geofence collection.
|
void |
setKmsKeyId(java.lang.String value)
A key identifier for an [AWS KMS customer managed key](https://docs.aws.amazon.com/kms/latest/developerguide/create-keys.html) .
|
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 CfnGeofenceCollection(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnGeofenceCollection(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public CfnGeofenceCollection(Construct scope, java.lang.String id, CfnGeofenceCollectionProps 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()
Used when you need to specify a resource across all AWS .
arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollection
public java.lang.String getAttrCollectionArn()
The Amazon Resource Name (ARN) for the geofence collection resource. Used when you need to specify a resource across all AWS .
arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollection
public java.lang.String getAttrCreateTime()
public java.lang.String getAttrUpdateTime()
protected java.util.Map<java.lang.String,java.lang.Object> getCfnProperties()
getCfnProperties
in class CfnResource
public java.lang.String getCollectionName()
Requirements:
ExampleGeofenceCollection
.public void setCollectionName(java.lang.String value)
Requirements:
ExampleGeofenceCollection
.public java.lang.String getDescription()
public void setDescription(java.lang.String value)
public java.lang.String getKmsKeyId()
public void setKmsKeyId(java.lang.String value)