Skip to content
v2.277.0

AccessTokenReference Struct ​

A reference to a AccessToken resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_route53globalresolver as interfaces_route53globalresolver } from 'aws-cdk-lib/interfaces';
const accessTokenReference: interfaces_route53globalresolver.AccessTokenReference = {
  accessTokenArn: 'accessTokenArn',
  accessTokenId: 'accessTokenId',
};
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_route53globalresolver as interfaces_route53globalresolver

access_token_reference = interfaces_route53globalresolver.AccessTokenReference(
    access_token_arn="accessTokenArn",
    access_token_id="accessTokenId"
)
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.route53globalresolver.*;

AccessTokenReference accessTokenReference = AccessTokenReference.builder()
        .accessTokenArn("accessTokenArn")
        .accessTokenId("accessTokenId")
        .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.Route53GlobalResolver;

var accessTokenReference = new AccessTokenReference {
    AccessTokenArn = "accessTokenArn",
    AccessTokenId = "accessTokenId"
};
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"

accessTokenReference := &AccessTokenReference{
	AccessTokenArn: jsii.String("accessTokenArn"),
	AccessTokenId: jsii.String("accessTokenId"),
}

Properties ​

accessTokenArnstringaccess_token_arnstraccessTokenArnStringAccessTokenArnstringAccessTokenArn*stringrequired#
The ARN of the AccessToken resource.
accessTokenIdstringaccess_token_idstraccessTokenIdStringAccessTokenIdstringAccessTokenId*stringrequired#
The AccessTokenId of the AccessToken resource.