All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.eks.IdentityProviderConfigArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

There is a newer version: 6.60.0-alpha.1731982519
Show 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;

import com.pulumi.aws.eks.inputs.IdentityProviderConfigOidcArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class IdentityProviderConfigArgs extends com.pulumi.resources.ResourceArgs {

    public static final IdentityProviderConfigArgs Empty = new IdentityProviderConfigArgs();

    /**
     * Name of the EKS Cluster.
     * 
     */
    @Import(name="clusterName", required=true)
    private Output clusterName;

    /**
     * @return Name of the EKS Cluster.
     * 
     */
    public Output clusterName() {
        return this.clusterName;
    }

    /**
     * Nested attribute containing [OpenID Connect](https://openid.net/connect/) identity provider information for the cluster. Detailed below.
     * 
     */
    @Import(name="oidc", required=true)
    private Output oidc;

    /**
     * @return Nested attribute containing [OpenID Connect](https://openid.net/connect/) identity provider information for the cluster. Detailed below.
     * 
     */
    public Output oidc() {
        return this.oidc;
    }

    /**
     * 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.
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return 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.
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    private IdentityProviderConfigArgs() {}

    private IdentityProviderConfigArgs(IdentityProviderConfigArgs $) {
        this.clusterName = $.clusterName;
        this.oidc = $.oidc;
        this.tags = $.tags;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(IdentityProviderConfigArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private IdentityProviderConfigArgs $;

        public Builder() {
            $ = new IdentityProviderConfigArgs();
        }

        public Builder(IdentityProviderConfigArgs defaults) {
            $ = new IdentityProviderConfigArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param clusterName Name of the EKS Cluster.
         * 
         * @return builder
         * 
         */
        public Builder clusterName(Output clusterName) {
            $.clusterName = clusterName;
            return this;
        }

        /**
         * @param clusterName Name of the EKS Cluster.
         * 
         * @return builder
         * 
         */
        public Builder clusterName(String clusterName) {
            return clusterName(Output.of(clusterName));
        }

        /**
         * @param oidc Nested attribute containing [OpenID Connect](https://openid.net/connect/) identity provider information for the cluster. Detailed below.
         * 
         * @return builder
         * 
         */
        public Builder oidc(Output oidc) {
            $.oidc = oidc;
            return this;
        }

        /**
         * @param oidc Nested attribute containing [OpenID Connect](https://openid.net/connect/) identity provider information for the cluster. Detailed below.
         * 
         * @return builder
         * 
         */
        public Builder oidc(IdentityProviderConfigOidcArgs oidc) {
            return oidc(Output.of(oidc));
        }

        /**
         * @param 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.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param 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.
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

        public IdentityProviderConfigArgs build() {
            if ($.clusterName == null) {
                throw new MissingRequiredPropertyException("IdentityProviderConfigArgs", "clusterName");
            }
            if ($.oidc == null) {
                throw new MissingRequiredPropertyException("IdentityProviderConfigArgs", "oidc");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy