Skip to content
v2.278.0

TrackerConsumerReference Struct ​

A reference to a TrackerConsumer resource.

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 interfaces_location } from 'aws-cdk-lib/interfaces';
const trackerConsumerReference: interfaces_location.TrackerConsumerReference = {
  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.interfaces import aws_location as interfaces_location

tracker_consumer_reference = interfaces_location.TrackerConsumerReference(
    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.interfaces.location.*;

TrackerConsumerReference trackerConsumerReference = TrackerConsumerReference.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.Interfaces.Location;

var trackerConsumerReference = new TrackerConsumerReference {
    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"

trackerConsumerReference := &TrackerConsumerReference{
	ConsumerArn: jsii.String("consumerArn"),
	TrackerName: jsii.String("trackerName"),
}

Properties ​

consumerArnstringconsumer_arnstrconsumerArnStringConsumerArnstringConsumerArn*string required #
The ConsumerArn of the TrackerConsumer resource.
trackerNamestringtracker_namestrtrackerNameStringTrackerNamestringTrackerName*string required #
The TrackerName of the TrackerConsumer resource.