@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-04T15:39:11.807Z") @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")
.pricingPlan("pricingPlan")
// the properties below are optional
.description("description")
.kmsKeyId("kmsKeyId")
.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$ProxyIConstruct.Jsii$Default| 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(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() |
String |
getAttrCollectionArn() |
String |
getAttrCreateTime() |
String |
getAttrUpdateTime() |
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()
Specifies the pricing plan for the geofence collection.
|
String |
getPricingPlanDataSource()
Specifies the data provider for the geofence collection.
|
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)
Specifies the pricing plan for the geofence collection.
|
void |
setPricingPlanDataSource(String value)
Specifies the data provider for the geofence collection.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdgetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validatejsiiAsyncCall, 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
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()
@Stability(value=Stable) @NotNull public String getAttrCollectionArn()
@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) @NotNull public String getPricingPlan()
For additional details and restrictions on each pricing plan option, see the Amazon Location Service pricing page .
@Stability(value=Stable)
public void setPricingPlan(@NotNull
String value)
For additional details and restrictions on each pricing plan option, see the Amazon Location Service pricing page .
@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 getPricingPlanDataSource()
MobileAssetTracking | MobileAssetManagementFor more information about Data Providers , and Pricing plans , see the Amazon Location Service product page.
Amazon Location Service only uses
PricingPlanDataSourceto calculate billing for your geofence collection. Your data will not be shared with the data provider, and will remain in your AWS account or region unless you move it.
Valid Values: Esri | Here
@Stability(value=Stable)
public void setPricingPlanDataSource(@Nullable
String value)
MobileAssetTracking | MobileAssetManagementFor more information about Data Providers , and Pricing plans , see the Amazon Location Service product page.
Amazon Location Service only uses
PricingPlanDataSourceto calculate billing for your geofence collection. Your data will not be shared with the data provider, and will remain in your AWS account or region unless you move it.
Valid Values: Esri | Here
Copyright © 2022. All rights reserved.