interface AccessEntryProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.EKS.AccessEntryProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awseks#AccessEntryProps |
Java | software.amazon.awscdk.services.eks.AccessEntryProps |
Python | aws_cdk.aws_eks.AccessEntryProps |
TypeScript (source) | aws-cdk-lib » aws_eks » AccessEntryProps |
Represents the properties required to create an Amazon EKS access entry.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_eks as eks } from 'aws-cdk-lib';
declare const accessPolicy: eks.AccessPolicy;
declare const cluster: eks.Cluster;
const accessEntryProps: eks.AccessEntryProps = {
accessPolicies: [accessPolicy],
cluster: cluster,
principal: 'principal',
// the properties below are optional
accessEntryName: 'accessEntryName',
accessEntryType: eks.AccessEntryType.STANDARD,
};
Properties
Name | Type | Description |
---|---|---|
access | IAccess [] | The access policies that define the permissions and scope for the access entry. |
cluster | ICluster | The Amazon EKS cluster to which the access entry applies. |
principal | string | The Amazon Resource Name (ARN) of the principal (user or role) to associate the access entry with. |
access | string | The name of the AccessEntry. |
access | Access | The type of the AccessEntry. |
accessPolicies
Type:
IAccess
[]
The access policies that define the permissions and scope for the access entry.
cluster
Type:
ICluster
The Amazon EKS cluster to which the access entry applies.
principal
Type:
string
The Amazon Resource Name (ARN) of the principal (user or role) to associate the access entry with.
accessEntryName?
Type:
string
(optional, default: No access entry name is provided)
The name of the AccessEntry.
accessEntryType?
Type:
Access
(optional, default: STANDARD)
The type of the AccessEntry.