Class AccessPolicyArn
(experimental) Represents an Amazon EKS Access Policy ARN.
Inheritance
Namespace: Amazon.CDK.AWS.Eks.V2.Alpha
Assembly: Amazon.CDK.AWS.Eks.V2.Alpha.dll
Syntax (csharp)
public class AccessPolicyArn : DeputyBase
Syntax (vb)
Public Class AccessPolicyArn
Inherits DeputyBase
Remarks
Amazon EKS Access Policies are used to control access to Amazon EKS clusters.
Stability: Experimental
See: https://docs.aws.amazon.com/eks/latest/userguide/access-policies.html
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Eks.V2.Alpha;
var accessPolicyArn = AccessPolicyArn.AMAZON_EKS_ADMIN_POLICY;
Synopsis
Constructors
Access |
Used by jsii to construct an instance of this class from a Javascript-owned object reference |
Access |
Used by jsii to construct an instance of this class from DeputyProps |
Access |
(experimental) Constructs a new instance of the |
Properties
AMAZON_EKS_ADMIN_POLICY | (experimental) The Amazon EKS Admin Policy. |
AMAZON_EKS_ADMIN_VIEW_POLICY | (experimental) The Amazon EKS Admin View Policy. |
AMAZON_EKS_CLUSTER_ADMIN_POLICY | (experimental) The Amazon EKS Cluster Admin Policy. |
AMAZON_EKS_EDIT_POLICY | (experimental) The Amazon EKS Edit Policy. |
AMAZON_EKS_VIEW_POLICY | (experimental) The Amazon EKS View Policy. |
Policy |
(experimental) The Amazon Resource Name (ARN) of the access policy. |
Policy |
(experimental) - The name of the Amazon EKS access policy. |
Methods
Of(String) | (experimental) Creates a new instance of the AccessPolicy class with the specified policy name. |
Constructors
AccessPolicyArn(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected AccessPolicyArn(ByRefValue reference)
Parameters
- reference Amazon.
JSII. Runtime. Deputy. By Ref Value The Javascript-owned object reference
AccessPolicyArn(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected AccessPolicyArn(DeputyBase.DeputyProps props)
Parameters
- props Amazon.
JSII. Runtime. Deputy. Deputy Base. Deputy Props The deputy props
AccessPolicyArn(String)
(experimental) Constructs a new instance of the AccessEntry
class.
public AccessPolicyArn(string policyName)
Parameters
- policyName System.
String - The name of the Amazon EKS access policy.
Remarks
Stability: Experimental
Properties
AMAZON_EKS_ADMIN_POLICY
(experimental) The Amazon EKS Admin Policy.
public static AccessPolicyArn AMAZON_EKS_ADMIN_POLICY { get; }
Property Value
Remarks
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.
Stability: Experimental
AMAZON_EKS_ADMIN_VIEW_POLICY
(experimental) The Amazon EKS Admin View Policy.
public static AccessPolicyArn AMAZON_EKS_ADMIN_VIEW_POLICY { get; }
Property Value
Remarks
This access policy includes permissions that grant an IAM principal access to list/view all resources in a cluster.
Stability: Experimental
AMAZON_EKS_CLUSTER_ADMIN_POLICY
(experimental) The Amazon EKS Cluster Admin Policy.
public static AccessPolicyArn AMAZON_EKS_CLUSTER_ADMIN_POLICY { get; }
Property Value
Remarks
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.
Stability: Experimental
AMAZON_EKS_EDIT_POLICY
(experimental) The Amazon EKS Edit Policy.
public static AccessPolicyArn AMAZON_EKS_EDIT_POLICY { get; }
Property Value
Remarks
This access policy includes permissions that allow an IAM principal to edit most Kubernetes resources.
Stability: Experimental
AMAZON_EKS_VIEW_POLICY
(experimental) The Amazon EKS View Policy.
public static AccessPolicyArn AMAZON_EKS_VIEW_POLICY { get; }
Property Value
Remarks
This access policy includes permissions that grant an IAM principal access to list/view all resources in a cluster.
Stability: Experimental
PolicyArn
(experimental) The Amazon Resource Name (ARN) of the access policy.
public virtual string PolicyArn { get; }
Property Value
System.
Remarks
Stability: Experimental
PolicyName
(experimental) - The name of the Amazon EKS access policy.
public virtual string PolicyName { get; }
Property Value
System.
Remarks
This is used to construct the policy ARN.
Stability: Experimental
Methods
Of(String)
(experimental) Creates a new instance of the AccessPolicy class with the specified policy name.
public static AccessPolicyArn Of(string policyName)
Parameters
- policyName System.
String The name of the access policy.
Returns
A new instance of the AccessPolicy class.
Remarks
Stability: Experimental