@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:40.671Z") @Stability(value=Stable) 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")
.pricingPlan("pricingPlan")
.pricingPlanDataSource("pricingPlanDataSource")
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnGeofenceCollection.Builder
A fluent builder for
CfnGeofenceCollection. |
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnGeofenceCollection(software.constructs.Construct scope,
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 |
|---|---|
String |
getAttrArn()
The Amazon Resource Name (ARN) for the geofence collection resource.
|
String |
getAttrCollectionArn()
Synonym for `Arn` .
|
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` .
|
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 Map<String,Object> |
getCfnProperties() |
String |
getCollectionName()
The name for the geofence collection.
|
String |
getDescription()
An optional description for the geofence collection.
|
String |
getKmsKeyId()
A key identifier for an [AWS KMS customer managed key](https://docs.aws.amazon.com/kms/latest/developerguide/create-keys.html) .
|
String |
getPricingPlan()
No longer used.
|
String |
getPricingPlanDataSource()
This parameter is no longer used.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setCollectionName(String value)
The name for the geofence collection.
|
void |
setDescription(String value)
An optional description for the geofence collection.
|
void |
setKmsKeyId(String value)
A key identifier for an [AWS KMS customer managed key](https://docs.aws.amazon.com/kms/latest/developerguide/create-keys.html) .
|
void |
setPricingPlan(String value)
No longer used.
|
void |
setPricingPlanDataSource(String value)
This parameter is no longer used.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnGeofenceCollection(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnGeofenceCollection(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnGeofenceCollection(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
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.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrArn()
Used when you need to specify a resource across all AWS .
arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollection@Stability(value=Stable) @NotNull public 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@Stability(value=Stable) @NotNull public String getAttrCreateTime()
@Stability(value=Stable) @NotNull public String getAttrUpdateTime()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public String getCollectionName()
@Stability(value=Stable)
public void setCollectionName(@NotNull
String value)
@Stability(value=Stable) @Nullable public String getDescription()
@Stability(value=Stable)
public void setDescription(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getKmsKeyId()
@Stability(value=Stable)
public void setKmsKeyId(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getPricingPlan()
Allowed Values : RequestBasedUsage
@Stability(value=Stable)
public void setPricingPlan(@Nullable
String value)
Allowed Values : RequestBasedUsage
@Stability(value=Stable) @Nullable public String getPricingPlanDataSource()
@Stability(value=Stable)
public void setPricingPlanDataSource(@Nullable
String value)
Copyright © 2022. All rights reserved.