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

com.pulumi.aws.rds.inputs.ClusterMasterUserSecretArgs 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.rds.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final ClusterMasterUserSecretArgs Empty = new ClusterMasterUserSecretArgs();

    /**
     * ARN for the KMS encryption key. When specifying `kms_key_id`, `storage_encrypted` needs to be set to true.
     * 
     */
    @Import(name="kmsKeyId")
    private @Nullable Output kmsKeyId;

    /**
     * @return ARN for the KMS encryption key. When specifying `kms_key_id`, `storage_encrypted` needs to be set to true.
     * 
     */
    public Optional> kmsKeyId() {
        return Optional.ofNullable(this.kmsKeyId);
    }

    /**
     * Amazon Resource Name (ARN) of the secret.
     * 
     */
    @Import(name="secretArn")
    private @Nullable Output secretArn;

    /**
     * @return Amazon Resource Name (ARN) of the secret.
     * 
     */
    public Optional> secretArn() {
        return Optional.ofNullable(this.secretArn);
    }

    /**
     * Status of the secret. Valid Values: `creating` | `active` | `rotating` | `impaired`.
     * 
     */
    @Import(name="secretStatus")
    private @Nullable Output secretStatus;

    /**
     * @return Status of the secret. Valid Values: `creating` | `active` | `rotating` | `impaired`.
     * 
     */
    public Optional> secretStatus() {
        return Optional.ofNullable(this.secretStatus);
    }

    private ClusterMasterUserSecretArgs() {}

    private ClusterMasterUserSecretArgs(ClusterMasterUserSecretArgs $) {
        this.kmsKeyId = $.kmsKeyId;
        this.secretArn = $.secretArn;
        this.secretStatus = $.secretStatus;
    }

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

    public static final class Builder {
        private ClusterMasterUserSecretArgs $;

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

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

        /**
         * @param kmsKeyId ARN for the KMS encryption key. When specifying `kms_key_id`, `storage_encrypted` needs to be set to true.
         * 
         * @return builder
         * 
         */
        public Builder kmsKeyId(@Nullable Output kmsKeyId) {
            $.kmsKeyId = kmsKeyId;
            return this;
        }

        /**
         * @param kmsKeyId ARN for the KMS encryption key. When specifying `kms_key_id`, `storage_encrypted` needs to be set to true.
         * 
         * @return builder
         * 
         */
        public Builder kmsKeyId(String kmsKeyId) {
            return kmsKeyId(Output.of(kmsKeyId));
        }

        /**
         * @param secretArn Amazon Resource Name (ARN) of the secret.
         * 
         * @return builder
         * 
         */
        public Builder secretArn(@Nullable Output secretArn) {
            $.secretArn = secretArn;
            return this;
        }

        /**
         * @param secretArn Amazon Resource Name (ARN) of the secret.
         * 
         * @return builder
         * 
         */
        public Builder secretArn(String secretArn) {
            return secretArn(Output.of(secretArn));
        }

        /**
         * @param secretStatus Status of the secret. Valid Values: `creating` | `active` | `rotating` | `impaired`.
         * 
         * @return builder
         * 
         */
        public Builder secretStatus(@Nullable Output secretStatus) {
            $.secretStatus = secretStatus;
            return this;
        }

        /**
         * @param secretStatus Status of the secret. Valid Values: `creating` | `active` | `rotating` | `impaired`.
         * 
         * @return builder
         * 
         */
        public Builder secretStatus(String secretStatus) {
            return secretStatus(Output.of(secretStatus));
        }

        public ClusterMasterUserSecretArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy