Class CfnTracker
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.location.CfnTracker
- All Implemented Interfaces:
IInspectable,IEnvironmentAware,ITrackerRef,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-13T16:10:08.897Z")
@Stability(Stable)
public class CfnTracker
extends CfnResource
implements IInspectable, ITrackerRef, ITaggableV2
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")
.eventBridgeEnabled(false)
.kmsKeyEnableGeospatialQueries(false)
.kmsKeyId("kmsKeyId")
.positionFiltering("positionFiltering")
.pricingPlan("pricingPlan")
.pricingPlanDataSource("pricingPlanDataSource")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
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.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.location.ITrackerRef
ITrackerRef.Jsii$Default, ITrackerRef.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnTracker(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnTracker(software.amazon.jsii.JsiiObjectRef objRef) CfnTracker(software.constructs.Construct scope, String id, CfnTrackerProps props) Create a newAWS::Location::Tracker. -
Method Summary
Modifier and TypeMethodDescriptionstatic ITrackerReffromTrackerArn(software.constructs.Construct scope, String id, String arn) Creates a new ITrackerRef from an ARN.static ITrackerReffromTrackerName(software.constructs.Construct scope, String id, String trackerName) Creates a new ITrackerRef from a trackerName.The 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.Tag Manager which manages the tags for this resource.An optional description for the tracker resource.Returns union: eitherBooleanorIResolvableReturns union: eitherBooleanorIResolvableA key identifier for an AWS KMS customer managed key .Specifies the position filtering for the tracker resource.Deprecated.this property has been deprecatedDeprecated.this property has been deprecatedgetTags()An array of key-value pairs to apply to this resource.The name for the tracker resource.A reference to a 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.voidsetEventBridgeEnabled(Boolean value) voidsetEventBridgeEnabled(IResolvable value) voidvoidvoidsetKmsKeyId(String value) A key identifier for an AWS KMS customer managed key .voidsetPositionFiltering(String value) Specifies the position filtering for the tracker resource.voidsetPricingPlan(String value) Deprecated.this property has been deprecatedvoidsetPricingPlanDataSource(String value) Deprecated.this property has been deprecatedvoidAn array of key-value pairs to apply to this resource.voidsetTrackerName(String value) The name for the tracker resource.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods 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.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods 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 software.constructs.Construct scope, @NotNull String id, @NotNull CfnTrackerProps props) Create a newAWS::Location::Tracker.- Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
fromTrackerArn
@Stability(Stable) @NotNull public static ITrackerRef fromTrackerArn(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String arn) Creates a new ITrackerRef from an ARN.- Parameters:
scope- This parameter is required.id- This parameter is required.arn- This parameter is required.
-
fromTrackerName
@Stability(Stable) @NotNull public static ITrackerRef fromTrackerName(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String trackerName) Creates a new ITrackerRef from a trackerName.- Parameters:
scope- This parameter is required.id- This parameter is required.trackerName- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
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. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getTrackerRef
A reference to a Tracker resource.- Specified by:
getTrackerRefin interfaceITrackerRef
-
getTrackerName
The name for the tracker resource. -
setTrackerName
The name for the tracker resource. -
getDescription
An optional description for the tracker resource. -
setDescription
An optional description for the tracker resource. -
getEventBridgeEnabled
Returns union: eitherBooleanorIResolvable -
setEventBridgeEnabled
-
setEventBridgeEnabled
-
getKmsKeyEnableGeospatialQueries
Returns union: eitherBooleanorIResolvable -
setKmsKeyEnableGeospatialQueries
-
setKmsKeyEnableGeospatialQueries
-
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. -
setPositionFiltering
Specifies the position filtering for the tracker resource. -
getPricingPlan
Deprecated.this property has been deprecated -
setPricingPlan
Deprecated.this property has been deprecated -
getPricingPlanDataSource
Deprecated.this property has been deprecated(deprecated) This shape is deprecated since 2022-02-01: Deprecated. -
setPricingPlanDataSource
Deprecated.this property has been deprecated(deprecated) This shape is deprecated since 2022-02-01: Deprecated. -
getTags
An array of key-value pairs to apply to this resource. -
setTags
An array of key-value pairs to apply to this resource.
-