CfnTrackerConsumerProps Struct
Properties for defining a CfnTrackerConsumer.
| Source |
|---|
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_location as location } from 'aws-cdk-lib';
const cfnTrackerConsumerProps: location.CfnTrackerConsumerProps = {
consumerArn: 'consumerArn',
trackerName: 'trackerName',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_location as location
cfn_tracker_consumer_props = location.CfnTrackerConsumerProps(
consumer_arn="consumerArn",
tracker_name="trackerName"
)
java
// 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.*;
CfnTrackerConsumerProps cfnTrackerConsumerProps = CfnTrackerConsumerProps.builder()
.consumerArn("consumerArn")
.trackerName("trackerName")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Location;
var cfnTrackerConsumerProps = new CfnTrackerConsumerProps {
ConsumerArn = "consumerArn",
TrackerName = "trackerName"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
cfnTrackerConsumerProps := &CfnTrackerConsumerProps{
ConsumerArn: jsii.String("consumerArn"),
TrackerName: jsii.String("trackerName"),
}
Properties
The Amazon Resource Name (ARN) for the geofence collection to be associated to tracker resource.
Used when you need to specify a resource across all AWS .
- Format example:
arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollectionConsumer
The name for the tracker resource.
Requirements:
- Contain only alphanumeric characters (A-Z, a-z, 0-9) , hyphens (-), periods (.), and underscores (_).
- Must be a unique tracker resource name.
- No spaces allowed. For example,
ExampleTracker.