We recommend new projects start with resources from the AWS provider.
aws-native.eks.AccessEntry
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
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 string
- The unique name of the resource.
- args AccessEntryArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args 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 string
- The unique name of the resource.
- args AccessEntryArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AccessEntryArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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:
- 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.
- Access
Policies List<Pulumi.Aws Native. Eks. Inputs. 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. 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.
- 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.
- Access
Policies []AccessEntry Access Policy Args - 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
Args - 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 String - The cluster that the access entry is created for.
- principal
Arn String - The principal ARN that the access entry is created for.
- 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.
- 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 string - The cluster that the access entry is created for.
- principal
Arn string - The principal ARN that the access entry is created for.
- 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.
- 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 str - The cluster that the access entry is created for.
- principal_
arn str - The principal ARN that the access entry is created for.
- access_
policies Sequence[AccessEntry Access Policy Args] - 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[Tag
Args] - 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.
- 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.
- 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.
- 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:
- Access
Entry stringArn - The ARN of the access entry.
- Id string
- The provider-assigned unique ID for this managed resource.
- Access
Entry stringArn - The ARN of the access entry.
- Id string
- The provider-assigned unique ID for this managed resource.
- access
Entry StringArn - The ARN of the access entry.
- id String
- The provider-assigned unique ID for this managed resource.
- access
Entry stringArn - The ARN of the access entry.
- id string
- The provider-assigned unique ID for this managed resource.
- access_
entry_ strarn - The ARN of the access entry.
- id str
- The provider-assigned unique ID for this managed resource.
- access
Entry StringArn - The ARN of the access entry.
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
AccessEntryAccessPolicy, AccessEntryAccessPolicyArgs
- 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, AccessEntryAccessScopeArgs
- 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, AccessEntryAccessScopeTypeArgs
- Namespace
- namespace
- Cluster
- cluster
- Access
Entry Access Scope Type Namespace - namespace
- Access
Entry Access Scope Type Cluster - cluster
- Namespace
- namespace
- Cluster
- cluster
- Namespace
- namespace
- Cluster
- cluster
- NAMESPACE
- namespace
- CLUSTER
- cluster
- "namespace"
- namespace
- "cluster"
- cluster
Tag, TagArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.