@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-04T15:39:11.820Z") @Stability(value=Stable) public class CfnTracker extends CfnResource implements IInspectable
The AWS::Location::Tracker resource specifies a tracker resource in your AWS account , which lets you receive current and historical location of devices.
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.*;
CfnTracker cfnTracker = CfnTracker.Builder.create(this, "MyCfnTracker")
.pricingPlan("pricingPlan")
.trackerName("trackerName")
// the properties below are optional
.description("description")
.kmsKeyId("kmsKeyId")
.positionFiltering("positionFiltering")
.pricingPlanDataSource("pricingPlanDataSource")
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnTracker.Builder
A fluent builder for
CfnTracker. |
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 |
|---|---|
|
CfnTracker(Construct scope,
String id,
CfnTrackerProps props)
Create a new `AWS::Location::Tracker`.
|
protected |
CfnTracker(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnTracker(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrArn() |
String |
getAttrCreateTime() |
String |
getAttrTrackerArn() |
String |
getAttrUpdateTime() |
protected Map<String,Object> |
getCfnProperties() |
String |
getDescription()
An optional description for the tracker resource.
|
String |
getKmsKeyId()
A key identifier for an [AWS KMS customer managed key](https://docs.aws.amazon.com/kms/latest/developerguide/create-keys.html) .
|
String |
getPositionFiltering()
Specifies the position filtering for the tracker resource.
|
String |
getPricingPlan()
Specifies the pricing plan for the tracker resource.
|
String |
getPricingPlanDataSource()
Specifies the data provider for the tracker resource.
|
String |
getTrackerName()
The name for the tracker resource.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setDescription(String value)
An optional description for the tracker resource.
|
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 |
setPositionFiltering(String value)
Specifies the position filtering for the tracker resource.
|
void |
setPricingPlan(String value)
Specifies the pricing plan for the tracker resource.
|
void |
setPricingPlanDataSource(String value)
Specifies the data provider for the tracker resource.
|
void |
setTrackerName(String value)
The name for the tracker resource.
|
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 CfnTracker(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnTracker(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnTracker(@NotNull
Construct scope,
@NotNull
String id,
@NotNull
CfnTrackerProps 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 getAttrCreateTime()
@Stability(value=Stable) @NotNull public String getAttrTrackerArn()
@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 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) @NotNull public String getTrackerName()
Requirements:
ExampleTracker .@Stability(value=Stable)
public void setTrackerName(@NotNull
String value)
Requirements:
ExampleTracker .@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 getPositionFiltering()
Valid values:
TimeBased - Location updates are evaluated against linked geofence collections, but not every location update is stored. If your update frequency is more often than 30 seconds, only one update per 30 seconds is stored for each unique device ID.DistanceBased - If the device has moved less than 30 m (98.4 ft), location updates are ignored. Location updates within this area are neither evaluated against linked geofence collections, nor stored. This helps control costs by reducing the number of geofence evaluations and historical device positions to paginate through. Distance-based filtering can also reduce the effects of GPS noise when displaying device trajectories on a map.
This field is optional. If not specified, the default value is TimeBased .
@Stability(value=Stable)
public void setPositionFiltering(@Nullable
String value)
Valid values:
TimeBased - Location updates are evaluated against linked geofence collections, but not every location update is stored. If your update frequency is more often than 30 seconds, only one update per 30 seconds is stored for each unique device ID.DistanceBased - If the device has moved less than 30 m (98.4 ft), location updates are ignored. Location updates within this area are neither evaluated against linked geofence collections, nor stored. This helps control costs by reducing the number of geofence evaluations and historical device positions to paginate through. Distance-based filtering can also reduce the effects of GPS noise when displaying device trajectories on a map.
This field is optional. If not specified, the default value is TimeBased .
@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 tracker resource. 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 tracker resource. 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.