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.9.0 published on Monday, Nov 18, 2024 by Pulumi

aws-native.eks.getAccessEntry

Explore with Pulumi AI

aws-native logo

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

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:eks:getAccessEntry
      arguments:
        # arguments dictionary

    The 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:

    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 Pulumi.AwsNative.Eks.Inputs.AccessEntryAccessScope
    The scope of an AccessPolicy that's associated to an AccessEntry .
    PolicyArn string
    The ARN of the access policy to add to the access entry.
    AccessScope AccessEntryAccessScope
    The scope of an AccessPolicy that's associated to an AccessEntry .
    PolicyArn string
    The ARN of the access policy to add to the access entry.
    accessScope AccessEntryAccessScope
    The scope of an AccessPolicy that's associated to an AccessEntry .
    policyArn String
    The ARN of the access policy to add to the access entry.
    accessScope AccessEntryAccessScope
    The scope of an AccessPolicy that's associated to an AccessEntry .
    policyArn string
    The ARN of the access policy to add to the access entry.
    access_scope AccessEntryAccessScope
    The scope of an AccessPolicy that's associated to an AccessEntry .
    policy_arn str
    The ARN of the access policy to add to the access entry.
    accessScope Property Map
    The scope of an AccessPolicy that's associated to an AccessEntry .
    policyArn String
    The ARN of the access policy to add to the access entry.

    AccessEntryAccessScope

    Type 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 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 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 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 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 "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 string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

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

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

    AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi