Class CfnTracker
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.core.Construct
software.amazon.awscdk.core.CfnElement
software.amazon.awscdk.core.CfnRefElement
software.amazon.awscdk.core.CfnResource
software.amazon.awscdk.services.location.CfnTracker
- 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.797Z")
@Stability(Stable)
public class CfnTracker
extends CfnResource
implements IInspectable
A CloudFormation
AWS::Location::Tracker.
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")
.trackerName("trackerName")
// the properties below are optional
.description("description")
.kmsKeyId("kmsKeyId")
.positionFiltering("positionFiltering")
.build();
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.core.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionCfnTracker(Construct scope, String id, CfnTrackerProps props) Create a newAWS::Location::Tracker.protectedCfnTracker(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnTracker(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) for the tracker resource.The timestamp for when the tracker resource was created in ISO 8601 format:YYYY-MM-DDThh:mm:ss.sssZ.Synonym forArn.The timestamp for when the tracker resource was last updated in ISO 8601 format:YYYY-MM-DDThh:mm:ss.sssZ.An optional description for the tracker resource.A key identifier for an AWS KMS customer managed key .Specifies the position filtering for the tracker resource.The name for the tracker resource.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetDescription(String value) An optional description for the tracker resource.voidsetKmsKeyId(String value) A key identifier for an AWS KMS customer managed key .voidsetPositionFiltering(String value) Specifies the position filtering for the tracker resource.voidsetTrackerName(String value) The name for the tracker resource.Methods inherited from class software.amazon.awscdk.core.CfnResource
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.core.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.core.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validateMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnTracker
protected CfnTracker(software.amazon.jsii.JsiiObjectRef objRef) -
CfnTracker
protected CfnTracker(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnTracker
@Stability(Stable) public CfnTracker(@NotNull Construct scope, @NotNull String id, @NotNull CfnTrackerProps props) Create a newAWS::Location::Tracker.- Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
props-- resource properties.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector-- tree inspector to collect and process attributes.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrArn
The Amazon Resource Name (ARN) for the tracker resource.Used when you need to specify a resource across all AWS .
- Format example:
arn:aws:geo:region:account-id:tracker/ExampleTracker
- Format example:
-
getAttrCreateTime
The timestamp for when the tracker resource was created in ISO 8601 format:YYYY-MM-DDThh:mm:ss.sssZ. -
getAttrTrackerArn
Synonym forArn.The Amazon Resource Name (ARN) for the tracker resource. Used when you need to specify a resource across all AWS .
- Format example:
arn:aws:geo:region:account-id:tracker/ExampleTracker
- Format example:
-
getAttrUpdateTime
The timestamp for when the tracker resource was last updated in ISO 8601 format:YYYY-MM-DDThh:mm:ss.sssZ. -
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getTrackerName
The name for the tracker resource.Requirements:
- Contain only alphanumeric characters (A-Z, a-z, 0-9) , hyphens (-), periods (.), and underscores (_).
- Must be a unique tracker resource name.
- No spaces allowed. For example,
ExampleTracker.
-
setTrackerName
The name for the tracker resource.Requirements:
- Contain only alphanumeric characters (A-Z, a-z, 0-9) , hyphens (-), periods (.), and underscores (_).
- Must be a unique tracker resource name.
- No spaces allowed. For example,
ExampleTracker.
-
getDescription
An optional description for the tracker resource. -
setDescription
An optional description for the tracker resource. -
getKmsKeyId
A key identifier for an AWS KMS customer managed key . Enter a key ID, key ARN, alias name, or alias ARN. -
setKmsKeyId
A key identifier for an AWS KMS customer managed key . Enter a key ID, key ARN, alias name, or alias ARN. -
getPositionFiltering
Specifies the position filtering for the tracker resource.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.AccuracyBased- If the device has moved less than the measured accuracy, location updates are ignored. For example, if two consecutive updates from a device have a horizontal accuracy of 5 m and 10 m, the second update is ignored if the device has moved less than 15 m. Ignored location updates are neither evaluated against linked geofence collections, nor stored. This can reduce the effects of GPS noise when displaying device trajectories on a map, and can help control your costs by reducing the number of geofence evaluations.
This field is optional. If not specified, the default value is
TimeBased. -
setPositionFiltering
Specifies the position filtering for the tracker resource.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.AccuracyBased- If the device has moved less than the measured accuracy, location updates are ignored. For example, if two consecutive updates from a device have a horizontal accuracy of 5 m and 10 m, the second update is ignored if the device has moved less than 15 m. Ignored location updates are neither evaluated against linked geofence collections, nor stored. This can reduce the effects of GPS noise when displaying device trajectories on a map, and can help control your costs by reducing the number of geofence evaluations.
This field is optional. If not specified, the default value is
TimeBased.
-