Show / Hide Table of Contents

Class AccessPolicyArn

(experimental) Represents an Amazon EKS Access Policy ARN.

Inheritance
object
AccessPolicyArn
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

AccessPolicyArn(string)

(experimental) Constructs a new instance of the AccessEntry class.

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.

PolicyArn

(experimental) The Amazon Resource Name (ARN) of the access policy.

PolicyName

(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(string)

(experimental) Constructs a new instance of the AccessEntry class.

public AccessPolicyArn(string policyName)
Parameters
policyName 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

AccessPolicyArn

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

AccessPolicyArn

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

AccessPolicyArn

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

AccessPolicyArn

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

AccessPolicyArn

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

string

Remarks

Stability: Experimental

PolicyName

(experimental) - The name of the Amazon EKS access policy.

public virtual string PolicyName { get; }
Property Value

string

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 string

The name of the access policy.

Returns

AccessPolicyArn

A new instance of the AccessPolicy class.

Remarks

Stability: Experimental

Back to top Generated by DocFX