Class CfnTracker

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IInspectable, ITaggableV2, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.101.0 (build b95fe5d)", date="2024-07-22T22:42:54.056Z") @Stability(Stable) public class CfnTracker extends CfnResource implements IInspectable, 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:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String 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)
      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

    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      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:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrArn

      @Stability(Stable) @NotNull public String 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
    • getAttrCreateTime

      @Stability(Stable) @NotNull public String getAttrCreateTime()
      The timestamp for when the tracker resource was created in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ .
    • getAttrTrackerArn

      @Stability(Stable) @NotNull public String getAttrTrackerArn()
      Synonym for Arn .

      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
    • getAttrUpdateTime

      @Stability(Stable) @NotNull public String getAttrUpdateTime()
      The timestamp for when the tracker resource was last updated in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ .
    • getCdkTagManager

      @Stability(Stable) @NotNull public TagManager getCdkTagManager()
      Tag Manager which manages the tags for this resource.
      Specified by:
      getCdkTagManager in interface ITaggableV2
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getTrackerName

      @Stability(Stable) @NotNull public String getTrackerName()
      The name for the tracker resource.
    • setTrackerName

      @Stability(Stable) public void setTrackerName(@NotNull String value)
      The name for the tracker resource.
    • getDescription

      @Stability(Stable) @Nullable public String getDescription()
      An optional description for the tracker resource.
    • setDescription

      @Stability(Stable) public void setDescription(@Nullable String value)
      An optional description for the tracker resource.
    • getEventBridgeEnabled

      @Stability(Stable) @Nullable public Object getEventBridgeEnabled()
    • setEventBridgeEnabled

      @Stability(Stable) public void setEventBridgeEnabled(@Nullable Boolean value)
    • setEventBridgeEnabled

      @Stability(Stable) public void setEventBridgeEnabled(@Nullable IResolvable value)
    • getKmsKeyEnableGeospatialQueries

      @Stability(Stable) @Nullable public Object getKmsKeyEnableGeospatialQueries()
    • setKmsKeyEnableGeospatialQueries

      @Stability(Stable) public void setKmsKeyEnableGeospatialQueries(@Nullable Boolean value)
    • setKmsKeyEnableGeospatialQueries

      @Stability(Stable) public void setKmsKeyEnableGeospatialQueries(@Nullable IResolvable value)
    • getKmsKeyId

      @Stability(Stable) @Nullable public String getKmsKeyId()
      A key identifier for an AWS KMS customer managed key . Enter a key ID, key ARN, alias name, or alias ARN.
    • setKmsKeyId

      @Stability(Stable) public void setKmsKeyId(@Nullable String value)
      A key identifier for an AWS KMS customer managed key . Enter a key ID, key ARN, alias name, or alias ARN.
    • getPositionFiltering

      @Stability(Stable) @Nullable public String getPositionFiltering()
      Specifies the position filtering for the tracker resource.
    • setPositionFiltering

      @Stability(Stable) public void setPositionFiltering(@Nullable String value)
      Specifies the position filtering for the tracker resource.
    • getPricingPlan

      @Stability(Deprecated) @Deprecated @Nullable public String getPricingPlan()
      Deprecated.
      this property has been deprecated
    • setPricingPlan

      @Stability(Deprecated) @Deprecated public void setPricingPlan(@Nullable String value)
      Deprecated.
      this property has been deprecated
    • getPricingPlanDataSource

      @Stability(Deprecated) @Deprecated @Nullable public String getPricingPlanDataSource()
      Deprecated.
      this property has been deprecated
      (deprecated) This shape is deprecated since 2022-02-01: Deprecated.

    • setPricingPlanDataSource

      @Stability(Deprecated) @Deprecated public void setPricingPlanDataSource(@Nullable String value)
      Deprecated.
      this property has been deprecated
      (deprecated) This shape is deprecated since 2022-02-01: Deprecated.

    • getTags

      @Stability(Stable) @Nullable public List<CfnTag> getTags()
      An array of key-value pairs to apply to this resource.
    • setTags

      @Stability(Stable) public void setTags(@Nullable List<CfnTag> value)
      An array of key-value pairs to apply to this resource.