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

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.getAccessEntry

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.

Using getAccessEntry

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getAccessEntry(args: GetAccessEntryArgs, opts?: InvokeOptions): Promise<GetAccessEntryResult>
function getAccessEntryOutput(args: GetAccessEntryOutputArgs, opts?: InvokeOptions): Output<GetAccessEntryResult>
Copy
def get_access_entry(cluster_name: Optional[str] = None,
                     principal_arn: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetAccessEntryResult
def get_access_entry_output(cluster_name: Optional[pulumi.Input[str]] = None,
                     principal_arn: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetAccessEntryResult]
Copy
func LookupAccessEntry(ctx *Context, args *LookupAccessEntryArgs, opts ...InvokeOption) (*LookupAccessEntryResult, error)
func LookupAccessEntryOutput(ctx *Context, args *LookupAccessEntryOutputArgs, opts ...InvokeOption) LookupAccessEntryResultOutput
Copy

> Note: This function is named LookupAccessEntry in the Go SDK.

public static class GetAccessEntry 
{
    public static Task<GetAccessEntryResult> InvokeAsync(GetAccessEntryArgs args, InvokeOptions? opts = null)
    public static Output<GetAccessEntryResult> Invoke(GetAccessEntryInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetAccessEntryResult> getAccessEntry(GetAccessEntryArgs args, InvokeOptions options)
public static Output<GetAccessEntryResult> getAccessEntry(GetAccessEntryArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: aws-native:eks:getAccessEntry
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

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.
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.
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.
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.
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.
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.

getAccessEntry Result

The following output properties are available:

AccessEntryArn string
The ARN of the access entry.
AccessPolicies List<Pulumi.AwsNative.Eks.Outputs.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.Outputs.Tag>
An array of key-value pairs to apply to this resource.
Username string
The Kubernetes user that the access entry is associated with.
AccessEntryArn string
The ARN of the access entry.
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.
Username string
The Kubernetes user that the access entry is associated with.
accessEntryArn String
The ARN of the access entry.
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.
username String
The Kubernetes user that the access entry is associated with.
accessEntryArn string
The ARN of the access entry.
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.
username string
The Kubernetes user that the access entry is associated with.
access_entry_arn str
The ARN of the access entry.
access_policies Sequence[AccessEntryAccessPolicy]
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[root_Tag]
An array of key-value pairs to apply to this resource.
username str
The Kubernetes user that the access entry is associated with.
accessEntryArn String
The ARN of the access entry.
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.
username String
The Kubernetes user that the access entry is associated with.

Supporting Types

AccessEntryAccessPolicy

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

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

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. 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