AccessPolicyArn
- class aws_cdk.aws_eks.AccessPolicyArn(policy_name)
Bases:
object
Represents an Amazon EKS Access Policy ARN.
Amazon EKS Access Policies are used to control access to Amazon EKS clusters.
- See:
https://docs.aws.amazon.com/eks/latest/userguide/access-policies.html
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_eks as eks access_policy_arn = eks.AccessPolicyArn.AMAZON_EKS_ADMIN_POLICY
Constructs a new instance of the
AccessEntry
class.- Parameters:
policy_name (
str
) –The name of the Amazon EKS access policy. This is used to construct the policy ARN.
Attributes
- AMAZON_EKS_ADMIN_POLICY = <aws_cdk.aws_eks.AccessPolicyArn object>
- AMAZON_EKS_ADMIN_VIEW_POLICY = <aws_cdk.aws_eks.AccessPolicyArn object>
- AMAZON_EKS_CLUSTER_ADMIN_POLICY = <aws_cdk.aws_eks.AccessPolicyArn object>
- AMAZON_EKS_EDIT_POLICY = <aws_cdk.aws_eks.AccessPolicyArn object>
- AMAZON_EKS_VIEW_POLICY = <aws_cdk.aws_eks.AccessPolicyArn object>
- policy_arn
The Amazon Resource Name (ARN) of the access policy.
- policy_name
The name of the Amazon EKS access policy.
This is used to construct the policy ARN.
Static Methods
- classmethod of(policy_name)
Creates a new instance of the AccessPolicy class with the specified policy name.
- Parameters:
policy_name (
str
) – The name of the access policy.- Return type:
- Returns:
A new instance of the AccessPolicy class.