1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. eks
  5. AccessEntry

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi

aws-native.eks.AccessEntry

Explore with Pulumi AI

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi

An object representing an Amazon EKS AccessEntry.

Create AccessEntry Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new AccessEntry(name: string, args: AccessEntryArgs, opts?: CustomResourceOptions);
@overload
def AccessEntry(resource_name: str,
                args: AccessEntryArgs,
                opts: Optional[ResourceOptions] = None)

@overload
def AccessEntry(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                cluster_name: Optional[str] = None,
                principal_arn: Optional[str] = None,
                access_policies: Optional[Sequence[AccessEntryAccessPolicyArgs]] = None,
                kubernetes_groups: Optional[Sequence[str]] = None,
                tags: Optional[Sequence[_root_inputs.TagArgs]] = None,
                type: Optional[str] = None,
                username: Optional[str] = None)
func NewAccessEntry(ctx *Context, name string, args AccessEntryArgs, opts ...ResourceOption) (*AccessEntry, error)
public AccessEntry(string name, AccessEntryArgs args, CustomResourceOptions? opts = null)
public AccessEntry(String name, AccessEntryArgs args)
public AccessEntry(String name, AccessEntryArgs args, CustomResourceOptions options)
type: aws-native:eks:AccessEntry
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. AccessEntryArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. AccessEntryArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. AccessEntryArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. AccessEntryArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. AccessEntryArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

AccessEntry Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The AccessEntry resource accepts the following input properties:

ClusterName This property is required. string
The cluster that the access entry is created for.
PrincipalArn This property is required. string
The principal ARN that the access entry is created for.
AccessPolicies List<Pulumi.AwsNative.Eks.Inputs.AccessEntryAccessPolicy>
An array of access policies that are associated with the access entry.
KubernetesGroups List<string>
The Kubernetes groups that the access entry is associated with.
Tags List<Pulumi.AwsNative.Inputs.Tag>
An array of key-value pairs to apply to this resource.
Type string
The node type to associate with the access entry.
Username string
The Kubernetes user that the access entry is associated with.
ClusterName This property is required. string
The cluster that the access entry is created for.
PrincipalArn This property is required. string
The principal ARN that the access entry is created for.
AccessPolicies []AccessEntryAccessPolicyArgs
An array of access policies that are associated with the access entry.
KubernetesGroups []string
The Kubernetes groups that the access entry is associated with.
Tags TagArgs
An array of key-value pairs to apply to this resource.
Type string
The node type to associate with the access entry.
Username string
The Kubernetes user that the access entry is associated with.
clusterName This property is required. String
The cluster that the access entry is created for.
principalArn This property is required. String
The principal ARN that the access entry is created for.
accessPolicies List<AccessEntryAccessPolicy>
An array of access policies that are associated with the access entry.
kubernetesGroups List<String>
The Kubernetes groups that the access entry is associated with.
tags List<Tag>
An array of key-value pairs to apply to this resource.
type String
The node type to associate with the access entry.
username String
The Kubernetes user that the access entry is associated with.
clusterName This property is required. string
The cluster that the access entry is created for.
principalArn This property is required. string
The principal ARN that the access entry is created for.
accessPolicies AccessEntryAccessPolicy[]
An array of access policies that are associated with the access entry.
kubernetesGroups string[]
The Kubernetes groups that the access entry is associated with.
tags Tag[]
An array of key-value pairs to apply to this resource.
type string
The node type to associate with the access entry.
username string
The Kubernetes user that the access entry is associated with.
cluster_name This property is required. str
The cluster that the access entry is created for.
principal_arn This property is required. str
The principal ARN that the access entry is created for.
access_policies Sequence[AccessEntryAccessPolicyArgs]
An array of access policies that are associated with the access entry.
kubernetes_groups Sequence[str]
The Kubernetes groups that the access entry is associated with.
tags Sequence[TagArgs]
An array of key-value pairs to apply to this resource.
type str
The node type to associate with the access entry.
username str
The Kubernetes user that the access entry is associated with.
clusterName This property is required. String
The cluster that the access entry is created for.
principalArn This property is required. String
The principal ARN that the access entry is created for.
accessPolicies List<Property Map>
An array of access policies that are associated with the access entry.
kubernetesGroups List<String>
The Kubernetes groups that the access entry is associated with.
tags List<Property Map>
An array of key-value pairs to apply to this resource.
type String
The node type to associate with the access entry.
username String
The Kubernetes user that the access entry is associated with.

Outputs

All input properties are implicitly available as output properties. Additionally, the AccessEntry resource produces the following output properties:

AccessEntryArn string
The ARN of the access entry.
Id string
The provider-assigned unique ID for this managed resource.
AccessEntryArn string
The ARN of the access entry.
Id string
The provider-assigned unique ID for this managed resource.
accessEntryArn String
The ARN of the access entry.
id String
The provider-assigned unique ID for this managed resource.
accessEntryArn string
The ARN of the access entry.
id string
The provider-assigned unique ID for this managed resource.
access_entry_arn str
The ARN of the access entry.
id str
The provider-assigned unique ID for this managed resource.
accessEntryArn String
The ARN of the access entry.
id String
The provider-assigned unique ID for this managed resource.

Supporting Types

AccessEntryAccessPolicy
, AccessEntryAccessPolicyArgs

AccessScope This property is required. Pulumi.AwsNative.Eks.Inputs.AccessEntryAccessScope
The scope of an AccessPolicy that's associated to an AccessEntry .
PolicyArn This property is required. string
The ARN of the access policy to add to the access entry.
AccessScope This property is required. AccessEntryAccessScope
The scope of an AccessPolicy that's associated to an AccessEntry .
PolicyArn This property is required. string
The ARN of the access policy to add to the access entry.
accessScope This property is required. AccessEntryAccessScope
The scope of an AccessPolicy that's associated to an AccessEntry .
policyArn This property is required. String
The ARN of the access policy to add to the access entry.
accessScope This property is required. AccessEntryAccessScope
The scope of an AccessPolicy that's associated to an AccessEntry .
policyArn This property is required. string
The ARN of the access policy to add to the access entry.
access_scope This property is required. AccessEntryAccessScope
The scope of an AccessPolicy that's associated to an AccessEntry .
policy_arn This property is required. str
The ARN of the access policy to add to the access entry.
accessScope This property is required. Property Map
The scope of an AccessPolicy that's associated to an AccessEntry .
policyArn This property is required. String
The ARN of the access policy to add to the access entry.

AccessEntryAccessScope
, AccessEntryAccessScopeArgs

Type This property is required. Pulumi.AwsNative.Eks.AccessEntryAccessScopeType
The type of the access scope.
Namespaces List<string>
The namespaces to associate with the access scope. Only specify if Type is set to 'namespace'.
Type This property is required. AccessEntryAccessScopeType
The type of the access scope.
Namespaces []string
The namespaces to associate with the access scope. Only specify if Type is set to 'namespace'.
type This property is required. AccessEntryAccessScopeType
The type of the access scope.
namespaces List<String>
The namespaces to associate with the access scope. Only specify if Type is set to 'namespace'.
type This property is required. AccessEntryAccessScopeType
The type of the access scope.
namespaces string[]
The namespaces to associate with the access scope. Only specify if Type is set to 'namespace'.
type This property is required. AccessEntryAccessScopeType
The type of the access scope.
namespaces Sequence[str]
The namespaces to associate with the access scope. Only specify if Type is set to 'namespace'.
type This property is required. "namespace" | "cluster"
The type of the access scope.
namespaces List<String>
The namespaces to associate with the access scope. Only specify if Type is set to 'namespace'.

AccessEntryAccessScopeType
, AccessEntryAccessScopeTypeArgs

Namespace
namespace
Cluster
cluster
AccessEntryAccessScopeTypeNamespace
namespace
AccessEntryAccessScopeTypeCluster
cluster
Namespace
namespace
Cluster
cluster
Namespace
namespace
Cluster
cluster
NAMESPACE
namespace
CLUSTER
cluster
"namespace"
namespace
"cluster"
cluster

Tag
, TagArgs

Key This property is required. string
The key name of the tag
Value This property is required. string
The value of the tag
Key This property is required. string
The key name of the tag
Value This property is required. string
The value of the tag
key This property is required. String
The key name of the tag
value This property is required. String
The value of the tag
key This property is required. string
The key name of the tag
value This property is required. string
The value of the tag
key This property is required. str
The key name of the tag
value This property is required. str
The value of the tag
key This property is required. String
The key name of the tag
value This property is required. String
The value of the tag

Package Details

Repository
AWS Native pulumi/pulumi-aws-native
License
Apache-2.0

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi