Class CfnTrackerConsumer

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

@Generated(value="jsii-pacmak/1.97.0 (build 729de35)", date="2024-04-18T17:54:19.546Z") @Stability(Stable) public class CfnTrackerConsumer extends CfnResource implements IInspectable
The AWS::Location::TrackerConsumer resource specifies an association between a geofence collection and a tracker resource.

The geofence collection is referred to as the consumer of the tracker. This allows the tracker resource to communicate location data to the linked geofence collection.

Currently not supported — Cross-account configurations, such as creating associations between a tracker resource in one account and a geofence collection in another account.

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.*;
 CfnTrackerConsumer cfnTrackerConsumer = CfnTrackerConsumer.Builder.create(this, "MyCfnTrackerConsumer")
         .consumerArn("consumerArn")
         .trackerName("trackerName")
         .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

    • CfnTrackerConsumer

      protected CfnTrackerConsumer(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnTrackerConsumer

      protected CfnTrackerConsumer(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnTrackerConsumer

      @Stability(Stable) public CfnTrackerConsumer(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnTrackerConsumerProps 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.
    • getCfnProperties

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

      @Stability(Stable) @NotNull public String getConsumerArn()
      The Amazon Resource Name (ARN) for the geofence collection to be associated to tracker resource.
    • setConsumerArn

      @Stability(Stable) public void setConsumerArn(@NotNull String value)
      The Amazon Resource Name (ARN) for the geofence collection to be associated to tracker resource.
    • 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.