Skip to content
v2.277.0

AccessEntryReference Struct ​

A reference to a AccessEntry resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_eks as interfaces_eks } from 'aws-cdk-lib/interfaces';
const accessEntryReference: interfaces_eks.AccessEntryReference = {
  accessEntryArn: 'accessEntryArn',
  clusterName: 'clusterName',
  principalArn: 'principalArn',
};
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_eks as interfaces_eks

access_entry_reference = interfaces_eks.AccessEntryReference(
    access_entry_arn="accessEntryArn",
    cluster_name="clusterName",
    principal_arn="principalArn"
)
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.eks.*;

AccessEntryReference accessEntryReference = AccessEntryReference.builder()
        .accessEntryArn("accessEntryArn")
        .clusterName("clusterName")
        .principalArn("principalArn")
        .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.EKS;

var accessEntryReference = new AccessEntryReference {
    AccessEntryArn = "accessEntryArn",
    ClusterName = "clusterName",
    PrincipalArn = "principalArn"
};
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"

accessEntryReference := &AccessEntryReference{
	AccessEntryArn: jsii.String("accessEntryArn"),
	ClusterName: jsii.String("clusterName"),
	PrincipalArn: jsii.String("principalArn"),
}

Properties ​

accessEntryArnstringaccess_entry_arnstraccessEntryArnStringAccessEntryArnstringAccessEntryArn*stringrequired#
The ARN of the AccessEntry resource.
clusterNamestringcluster_namestrclusterNameStringClusterNamestringClusterName*stringrequired#
The ClusterName of the AccessEntry resource.
principalArnstringprincipal_arnstrprincipalArnStringPrincipalArnstringPrincipalArn*stringrequired#
The PrincipalArn of the AccessEntry resource.