Class AccessPolicyArn
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
Amazon EKS Access Policies are used to control access to Amazon EKS clusters.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.eks.*; AccessPolicyArn accessPolicyArn = AccessPolicyArn.AMAZON_EKS_ADMIN_POLICY;
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Field Summary
Modifier and TypeFieldDescriptionstatic final AccessPolicyArn
The Amazon EKS Admin Policy.static final AccessPolicyArn
The Amazon EKS Admin View Policy.static final AccessPolicyArn
The Amazon EKS Cluster Admin Policy.static final AccessPolicyArn
The Amazon EKS Edit Policy.static final AccessPolicyArn
The Amazon EKS View Policy. -
Constructor Summary
ModifierConstructorDescriptionAccessPolicyArn
(String policyName) Constructs a new instance of theAccessEntry
class.protected
AccessPolicyArn
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
AccessPolicyArn
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the access policy.The name of the Amazon EKS access policy.static AccessPolicyArn
Creates a new instance of the AccessPolicy class with the specified policy name.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
AMAZON_EKS_ADMIN_POLICY
The Amazon EKS Admin Policy.This access policy includes permissions that grant an IAM principal most permissions to resources. When associated to an access entry, its access scope is typically one or more Kubernetes namespaces.
-
AMAZON_EKS_ADMIN_VIEW_POLICY
The Amazon EKS Admin View Policy.This access policy includes permissions that grant an IAM principal access to list/view all resources in a cluster.
-
AMAZON_EKS_CLUSTER_ADMIN_POLICY
The Amazon EKS Cluster Admin Policy.This access policy includes permissions that grant an IAM principal administrator access to a cluster. When associated to an access entry, its access scope is typically the cluster, rather than a Kubernetes namespace.
-
AMAZON_EKS_EDIT_POLICY
The Amazon EKS Edit Policy.This access policy includes permissions that allow an IAM principal to edit most Kubernetes resources.
-
AMAZON_EKS_VIEW_POLICY
The Amazon EKS View Policy.This access policy includes permissions that grant an IAM principal access to list/view all resources in a cluster.
-
-
Constructor Details
-
AccessPolicyArn
protected AccessPolicyArn(software.amazon.jsii.JsiiObjectRef objRef) -
AccessPolicyArn
protected AccessPolicyArn(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
AccessPolicyArn
Constructs a new instance of theAccessEntry
class.- Parameters:
policyName
-- The name of the Amazon EKS access policy.
-
-
Method Details
-
of
Creates a new instance of the AccessPolicy class with the specified policy name.- Parameters:
policyName
- The name of the access policy. This parameter is required.- Returns:
- A new instance of the AccessPolicy class.
-
getPolicyArn
The Amazon Resource Name (ARN) of the access policy. -
getPolicyName
- The name of the Amazon EKS access policy.
This is used to construct the policy ARN.
-