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

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

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.

    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:

    ClusterName string
    The cluster that the access entry is created for.
    PrincipalArn string
    The principal ARN that the access entry is created for.
    AccessPolicies List<Pulumi.AwsNative.Eks.Inputs.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.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.
    ClusterName string
    The cluster that the access entry is created for.
    PrincipalArn string
    The principal ARN that the access entry is created for.
    AccessPolicies []AccessEntryAccessPolicyArgs
    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 TagArgs
    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.
    clusterName String
    The cluster that the access entry is created for.
    principalArn String
    The principal ARN that the access entry is created for.
    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.
    type String
    The node type to associate with the access entry.
    username String
    The Kubernetes user that the access entry is associated with.
    clusterName string
    The cluster that the access entry is created for.
    principalArn string
    The principal ARN that the access entry is created for.
    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.
    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[AccessEntryAccessPolicyArgs]
    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[TagArgs]
    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.
    clusterName String
    The cluster that the access entry is created for.
    principalArn String
    The principal ARN that the access entry is created for.
    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.
    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:

    AccessEntryArn string
    The ARN of the access entry.
    Id string
    The provider-assigned unique ID for this managed resource.
    AccessEntryArn string
    The ARN of the access entry.
    Id string
    The provider-assigned unique ID for this managed resource.
    accessEntryArn String
    The ARN of the access entry.
    id String
    The provider-assigned unique ID for this managed resource.
    accessEntryArn string
    The ARN of the access entry.
    id string
    The provider-assigned unique ID for this managed resource.
    access_entry_arn str
    The ARN of the access entry.
    id str
    The provider-assigned unique ID for this managed resource.
    accessEntryArn String
    The ARN of the access entry.
    id String
    The provider-assigned unique ID for this managed resource.

    Supporting Types

    AccessEntryAccessPolicy, AccessEntryAccessPolicyArgs

    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, AccessEntryAccessScopeArgs

    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, AccessEntryAccessScopeTypeArgs

    Namespace
    namespace
    Cluster
    cluster
    AccessEntryAccessScopeTypeNamespace
    namespace
    AccessEntryAccessScopeTypeCluster
    cluster
    Namespace
    namespace
    Cluster
    cluster
    Namespace
    namespace
    Cluster
    cluster
    NAMESPACE
    namespace
    CLUSTER
    cluster
    "namespace"
    namespace
    "cluster"
    cluster

    Tag, TagArgs

    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