Skip to content
v2.278.0

TrackerReference Struct ​

A reference to a Tracker 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 trackerReference: interfaces_location.TrackerReference = {
  trackerArn: 'trackerArn',
  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_reference = interfaces_location.TrackerReference(
    tracker_arn="trackerArn",
    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.*;

TrackerReference trackerReference = TrackerReference.builder()
        .trackerArn("trackerArn")
        .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 trackerReference = new TrackerReference {
    TrackerArn = "trackerArn",
    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"

trackerReference := &TrackerReference{
	TrackerArn: jsii.String("trackerArn"),
	TrackerName: jsii.String("trackerName"),
}

Properties ​

trackerArnstringtracker_arnstrtrackerArnStringTrackerArnstringTrackerArn*string required #
The ARN of the Tracker resource.
trackerNamestringtracker_namestrtrackerNameStringTrackerNamestringTrackerName*string required #
The TrackerName of the Tracker resource.