@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-04T15:39:11.837Z") @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. 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$ProxyIConstruct.Jsii$Default| 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(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 to be disassociated from the tracker resource.
|
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 to be disassociated from the tracker resource.
|
void |
setTrackerName(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, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdgetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validatejsiiAsyncCall, 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
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()
Used when you need to specify a resource across all AWS .
arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollectionConsumer@Stability(value=Stable)
public void setConsumerArn(@NotNull
String value)
Used when you need to specify a resource across all AWS .
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.