@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-14T16:25:24.055Z") 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 . |
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
IConstruct.Jsii$Default
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
Modifier | Constructor and Description |
---|---|
|
CfnTrackerConsumer(Construct scope,
java.lang.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 java.util.Map<java.lang.String,java.lang.Object> |
getCfnProperties() |
java.lang.String |
getConsumerArn()
The Amazon Resource Name (ARN) for the geofence collection to be associated to tracker resource.
|
java.lang.String |
getTrackerName()
The name for the tracker resource.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
renderProperties(java.util.Map<java.lang.String,java.lang.Object> props) |
void |
setConsumerArn(java.lang.String value)
The Amazon Resource Name (ARN) for the geofence collection to be associated to tracker resource.
|
void |
setTrackerName(java.lang.String value)
The name for the tracker resource.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validateProperties
getRef
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
public static final java.lang.String CFN_RESOURCE_TYPE_NAME
protected CfnTrackerConsumer(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnTrackerConsumer(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public CfnTrackerConsumer(Construct scope, java.lang.String id, 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.public void inspect(TreeInspector inspector)
inspect
in interface IInspectable
inspector
- - tree inspector to collect and process attributes. This parameter is required.protected java.util.Map<java.lang.String,java.lang.Object> renderProperties(java.util.Map<java.lang.String,java.lang.Object> props)
renderProperties
in class CfnResource
props
- This parameter is required.protected java.util.Map<java.lang.String,java.lang.Object> getCfnProperties()
getCfnProperties
in class CfnResource
public java.lang.String getConsumerArn()
Used when you need to specify a resource across all AWS .
arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollectionConsumer
public void setConsumerArn(java.lang.String value)
Used when you need to specify a resource across all AWS .
arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollectionConsumer
public java.lang.String getTrackerName()
Requirements:
ExampleTracker
.public void setTrackerName(java.lang.String value)
Requirements:
ExampleTracker
.