com.pulumi.aws.eks.outputs.ClusterAccessConfig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
The newest version!
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.aws.eks.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class ClusterAccessConfig {
/**
* @return The authentication mode for the cluster. Valid values are `CONFIG_MAP`, `API` or `API_AND_CONFIG_MAP`
*
*/
private @Nullable String authenticationMode;
/**
* @return Whether or not to bootstrap the access config values to the cluster. Default is `false`.
*
*/
private @Nullable Boolean bootstrapClusterCreatorAdminPermissions;
private ClusterAccessConfig() {}
/**
* @return The authentication mode for the cluster. Valid values are `CONFIG_MAP`, `API` or `API_AND_CONFIG_MAP`
*
*/
public Optional authenticationMode() {
return Optional.ofNullable(this.authenticationMode);
}
/**
* @return Whether or not to bootstrap the access config values to the cluster. Default is `false`.
*
*/
public Optional bootstrapClusterCreatorAdminPermissions() {
return Optional.ofNullable(this.bootstrapClusterCreatorAdminPermissions);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ClusterAccessConfig defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String authenticationMode;
private @Nullable Boolean bootstrapClusterCreatorAdminPermissions;
public Builder() {}
public Builder(ClusterAccessConfig defaults) {
Objects.requireNonNull(defaults);
this.authenticationMode = defaults.authenticationMode;
this.bootstrapClusterCreatorAdminPermissions = defaults.bootstrapClusterCreatorAdminPermissions;
}
@CustomType.Setter
public Builder authenticationMode(@Nullable String authenticationMode) {
this.authenticationMode = authenticationMode;
return this;
}
@CustomType.Setter
public Builder bootstrapClusterCreatorAdminPermissions(@Nullable Boolean bootstrapClusterCreatorAdminPermissions) {
this.bootstrapClusterCreatorAdminPermissions = bootstrapClusterCreatorAdminPermissions;
return this;
}
public ClusterAccessConfig build() {
final var _resultValue = new ClusterAccessConfig();
_resultValue.authenticationMode = authenticationMode;
_resultValue.bootstrapClusterCreatorAdminPermissions = bootstrapClusterCreatorAdminPermissions;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy