@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:40.691Z") @Stability(value=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();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnTrackerConsumer.Builder
A fluent builder for
CfnTrackerConsumer. |
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| 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 |
|---|---|
|
CfnTrackerConsumer(software.constructs.Construct scope,
String id,
CfnTrackerConsumerProps props)
Create a new `AWS::Location::TrackerConsumer`.
|
protected |
CfnTrackerConsumer(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnTrackerConsumer(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,Object> |
getCfnProperties() |
String |
getConsumerArn()
The Amazon Resource Name (ARN) for the geofence collection that consumes the tracker resource updates.
|
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 |
setConsumerArn(String value)
The Amazon Resource Name (ARN) for the geofence collection that consumes the tracker resource updates.
|
void |
setTrackerName(String value)
The name for the tracker resource.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnTrackerConsumer(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnTrackerConsumer(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnTrackerConsumer(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnTrackerConsumerProps 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 protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public String getConsumerArn()
arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollectionConsumer@Stability(value=Stable)
public void setConsumerArn(@NotNull
String value)
arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollectionConsumer@Stability(value=Stable) @NotNull public String getTrackerName()
Requirements:
ExampleTracker .@Stability(value=Stable)
public void setTrackerName(@NotNull
String value)
Requirements:
ExampleTracker .Copyright © 2022. All rights reserved.