We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 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.26.0 published on Wednesday, Mar 12, 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>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]func LookupAccessEntry(ctx *Context, args *LookupAccessEntryArgs, opts ...InvokeOption) (*LookupAccessEntryResult, error)
func LookupAccessEntryOutput(ctx *Context, args *LookupAccessEntryOutputArgs, opts ...InvokeOption) LookupAccessEntryResultOutput> 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)
}public static CompletableFuture<GetAccessEntryResult> getAccessEntry(GetAccessEntryArgs args, InvokeOptions options)
public static Output<GetAccessEntryResult> getAccessEntry(GetAccessEntryArgs args, InvokeOptions options)
fn::invoke:
  function: aws-native:eks:getAccessEntry
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ClusterName string
- The cluster that the access entry is created for.
- PrincipalArn string
- The principal ARN that the access entry is created for.
- ClusterName string
- The cluster that the access entry is created for.
- PrincipalArn string
- The principal ARN that the access entry is created for.
- clusterName String
- The cluster that the access entry is created for.
- principalArn String
- The principal ARN that the access entry is created for.
- clusterName string
- The cluster that the access entry is created for.
- principalArn string
- The principal ARN that the access entry is created for.
- cluster_name str
- The cluster that the access entry is created for.
- principal_arn str
- The principal ARN that the access entry is created for.
- clusterName String
- The cluster that the access entry is created for.
- principalArn String
- The principal ARN that the access entry is created for.
getAccessEntry Result
The following output properties are available:
- AccessEntry stringArn 
- The ARN of the access entry.
- AccessPolicies List<Pulumi.Aws Native. Eks. Outputs. Access Entry Access Policy> 
- 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.
- 
List<Pulumi.Aws Native. 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.
- AccessEntry stringArn 
- The ARN of the access entry.
- AccessPolicies []AccessEntry Access Policy 
- An array of access policies that are associated with the access entry.
- KubernetesGroups []string
- The Kubernetes groups that the access entry is associated with.
- Tag
- An array of key-value pairs to apply to this resource.
- Username string
- The Kubernetes user that the access entry is associated with.
- accessEntry StringArn 
- The ARN of the access entry.
- accessPolicies List<AccessEntry Access Policy> 
- 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.
- 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.
- accessEntry stringArn 
- The ARN of the access entry.
- accessPolicies AccessEntry Access Policy[] 
- An array of access policies that are associated with the access entry.
- kubernetesGroups string[]
- The Kubernetes groups that the access entry is associated with.
- 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_ strarn 
- The ARN of the access entry.
- access_policies Sequence[AccessEntry Access Policy] 
- 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.
- 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.
- accessEntry StringArn 
- 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.
- 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 Pulumi.Aws Native. Eks. Inputs. Access Entry Access Scope 
- The scope of an AccessPolicythat's associated to anAccessEntry.
- PolicyArn string
- The ARN of the access policy to add to the access entry.
- AccessScope AccessEntry Access Scope 
- The scope of an AccessPolicythat's associated to anAccessEntry.
- PolicyArn string
- The ARN of the access policy to add to the access entry.
- accessScope AccessEntry Access Scope 
- The scope of an AccessPolicythat's associated to anAccessEntry.
- policyArn String
- The ARN of the access policy to add to the access entry.
- accessScope AccessEntry Access Scope 
- The scope of an AccessPolicythat's associated to anAccessEntry.
- policyArn string
- The ARN of the access policy to add to the access entry.
- access_scope AccessEntry Access Scope 
- The scope of an AccessPolicythat's associated to anAccessEntry.
- policy_arn str
- The ARN of the access policy to add to the access entry.
- accessScope Property Map
- The scope of an AccessPolicythat's associated to anAccessEntry.
- policyArn String
- The ARN of the access policy to add to the access entry.
AccessEntryAccessScope   
- Type
Pulumi.Aws Native. Eks. Access Entry Access Scope Type 
- 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
AccessEntry Access Scope Type 
- 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
AccessEntry Access Scope Type 
- 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
AccessEntry Access Scope Type 
- 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
AccessEntry Access Scope Type 
- 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 "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
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.26.0 published on Wednesday, Mar 12, 2025 by Pulumi