AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi
aws-native.eks.getAccessEntry
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.109.0 published on Wednesday, Jun 26, 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:
- Cluster
Name string - The cluster that the access entry is created for.
- Principal
Arn string - The principal ARN that the access entry is created for.
- Cluster
Name string - The cluster that the access entry is created for.
- Principal
Arn string - The principal ARN that the access entry is created for.
- cluster
Name String - The cluster that the access entry is created for.
- principal
Arn String - The principal ARN that the access entry is created for.
- cluster
Name string - The cluster that the access entry is created for.
- principal
Arn 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.
- cluster
Name String - The cluster that the access entry is created for.
- principal
Arn String - The principal ARN that the access entry is created for.
getAccessEntry Result
The following output properties are available:
- Access
Entry stringArn - The ARN of the access entry.
- Access
Policies List<Pulumi.Aws Native. Eks. Outputs. Access Entry Access Policy> - An array of access policies that are associated with the access entry.
- Kubernetes
Groups 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.
- Access
Entry stringArn - The ARN of the access entry.
- Access
Policies []AccessEntry Access Policy - An array of access policies that are associated with the access entry.
- Kubernetes
Groups []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 StringArn - The ARN of the access entry.
- access
Policies List<AccessEntry Access Policy> - An array of access policies that are associated with the access entry.
- kubernetes
Groups 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.
- access
Entry stringArn - The ARN of the access entry.
- access
Policies AccessEntry Access Policy[] - An array of access policies that are associated with the access entry.
- kubernetes
Groups 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.
- access
Entry StringArn - The ARN of the access entry.
- access
Policies List<Property Map> - An array of access policies that are associated with the access entry.
- kubernetes
Groups 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
- Access
Scope Pulumi.Aws Native. Eks. Inputs. Access Entry Access Scope - The scope of an
AccessPolicy
that's associated to anAccessEntry
. - Policy
Arn string - The ARN of the access policy to add to the access entry.
- Access
Scope AccessEntry Access Scope - The scope of an
AccessPolicy
that's associated to anAccessEntry
. - Policy
Arn string - The ARN of the access policy to add to the access entry.
- access
Scope AccessEntry Access Scope - The scope of an
AccessPolicy
that's associated to anAccessEntry
. - policy
Arn String - The ARN of the access policy to add to the access entry.
- access
Scope AccessEntry Access Scope - The scope of an
AccessPolicy
that's associated to anAccessEntry
. - policy
Arn string - The ARN of the access policy to add to the access entry.
- access_
scope AccessEntry Access Scope - The scope of an
AccessPolicy
that's associated to anAccessEntry
. - policy_
arn str - The ARN of the access policy to add to the access entry.
- access
Scope Property Map - The scope of an
AccessPolicy
that's associated to anAccessEntry
. - policy
Arn 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
Access
Entry 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
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
Access
Entry 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
Access
Entry 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
AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi