interface AccessPolicyProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.EKS.AccessPolicyProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awseks#AccessPolicyProps |
Java | software.amazon.awscdk.services.eks.AccessPolicyProps |
Python | aws_cdk.aws_eks.AccessPolicyProps |
TypeScript (source) | aws-cdk-lib » aws_eks » AccessPolicyProps |
Properties for configuring an Amazon EKS Access Policy.
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 accessPolicyArn: eks.AccessPolicyArn;
const accessPolicyProps: eks.AccessPolicyProps = {
accessScope: {
type: eks.AccessScopeType.NAMESPACE,
// the properties below are optional
namespaces: ['namespaces'],
},
policy: accessPolicyArn,
};
Properties
Name | Type | Description |
---|---|---|
access | Access | The scope of the access policy, which determines the level of access granted. |
policy | Access | The access policy itself, which defines the specific permissions. |
accessScope
Type:
Access
The scope of the access policy, which determines the level of access granted.
policy
Type:
Access
The access policy itself, which defines the specific permissions.