Package com.pulumi.aws.eks
Class AccessEntryArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.eks.AccessEntryArgs.Builder
-
- Enclosing class:
- AccessEntryArgs
public static final class AccessEntryArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(AccessEntryArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccessEntryArgs
build()
AccessEntryArgs.Builder
clusterName(com.pulumi.core.Output<java.lang.String> clusterName)
AccessEntryArgs.Builder
clusterName(java.lang.String clusterName)
AccessEntryArgs.Builder
kubernetesGroups(com.pulumi.core.Output<java.util.List<java.lang.String>> kubernetesGroups)
AccessEntryArgs.Builder
kubernetesGroups(java.lang.String... kubernetesGroups)
AccessEntryArgs.Builder
kubernetesGroups(java.util.List<java.lang.String> kubernetesGroups)
AccessEntryArgs.Builder
principalArn(com.pulumi.core.Output<java.lang.String> principalArn)
AccessEntryArgs.Builder
principalArn(java.lang.String principalArn)
AccessEntryArgs.Builder
tags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
AccessEntryArgs.Builder
tags(java.util.Map<java.lang.String,java.lang.String> tags)
AccessEntryArgs.Builder
type(com.pulumi.core.Output<java.lang.String> type)
AccessEntryArgs.Builder
type(java.lang.String type)
AccessEntryArgs.Builder
userName(com.pulumi.core.Output<java.lang.String> userName)
AccessEntryArgs.Builder
userName(java.lang.String userName)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(AccessEntryArgs defaults)
-
-
Method Detail
-
clusterName
public AccessEntryArgs.Builder clusterName(com.pulumi.core.Output<java.lang.String> clusterName)
- Parameters:
clusterName
- Name of the EKS Cluster.- Returns:
- builder
-
clusterName
public AccessEntryArgs.Builder clusterName(java.lang.String clusterName)
- Parameters:
clusterName
- Name of the EKS Cluster.- Returns:
- builder
-
kubernetesGroups
public AccessEntryArgs.Builder kubernetesGroups(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> kubernetesGroups)
- Parameters:
kubernetesGroups
- List of string which can optionally specify the Kubernetes groups the user would belong to when creating an access entry.- Returns:
- builder
-
kubernetesGroups
public AccessEntryArgs.Builder kubernetesGroups(java.util.List<java.lang.String> kubernetesGroups)
- Parameters:
kubernetesGroups
- List of string which can optionally specify the Kubernetes groups the user would belong to when creating an access entry.- Returns:
- builder
-
kubernetesGroups
public AccessEntryArgs.Builder kubernetesGroups(java.lang.String... kubernetesGroups)
- Parameters:
kubernetesGroups
- List of string which can optionally specify the Kubernetes groups the user would belong to when creating an access entry.- Returns:
- builder
-
principalArn
public AccessEntryArgs.Builder principalArn(com.pulumi.core.Output<java.lang.String> principalArn)
- Parameters:
principalArn
- The IAM Principal ARN which requires Authentication access to the EKS cluster. The following arguments are optional:- Returns:
- builder
-
principalArn
public AccessEntryArgs.Builder principalArn(java.lang.String principalArn)
- Parameters:
principalArn
- The IAM Principal ARN which requires Authentication access to the EKS cluster. The following arguments are optional:- Returns:
- builder
-
tags
public AccessEntryArgs.Builder tags(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
- Parameters:
tags
- Key-value map of resource tags. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
tags
public AccessEntryArgs.Builder tags(java.util.Map<java.lang.String,java.lang.String> tags)
- Parameters:
tags
- Key-value map of resource tags. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
type
public AccessEntryArgs.Builder type(@Nullable com.pulumi.core.Output<java.lang.String> type)
- Parameters:
type
- Defaults to STANDARD which provides the standard workflow. EC2_LINUX, EC2_WINDOWS, FARGATE_LINUX types disallow users to input a username or groups, and prevent associations.- Returns:
- builder
-
type
public AccessEntryArgs.Builder type(java.lang.String type)
- Parameters:
type
- Defaults to STANDARD which provides the standard workflow. EC2_LINUX, EC2_WINDOWS, FARGATE_LINUX types disallow users to input a username or groups, and prevent associations.- Returns:
- builder
-
userName
public AccessEntryArgs.Builder userName(@Nullable com.pulumi.core.Output<java.lang.String> userName)
- Parameters:
userName
- Defaults to principal ARN if user is principal else defaults to assume-role/session-name is role is used.- Returns:
- builder
-
userName
public AccessEntryArgs.Builder userName(java.lang.String userName)
- Parameters:
userName
- Defaults to principal ARN if user is principal else defaults to assume-role/session-name is role is used.- Returns:
- builder
-
build
public AccessEntryArgs build()
-
-