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

com.pulumi.aws.ecs.inputs.ClusterConfigurationExecuteCommandConfigurationArgs 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.ecs.inputs;

import com.pulumi.aws.ecs.inputs.ClusterConfigurationExecuteCommandConfigurationLogConfigurationArgs;
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 ClusterConfigurationExecuteCommandConfigurationArgs extends com.pulumi.resources.ResourceArgs {

    public static final ClusterConfigurationExecuteCommandConfigurationArgs Empty = new ClusterConfigurationExecuteCommandConfigurationArgs();

    /**
     * AWS Key Management Service key ID to encrypt the data between the local client and the container.
     * 
     */
    @Import(name="kmsKeyId")
    private @Nullable Output kmsKeyId;

    /**
     * @return AWS Key Management Service key ID to encrypt the data between the local client and the container.
     * 
     */
    public Optional> kmsKeyId() {
        return Optional.ofNullable(this.kmsKeyId);
    }

    /**
     * Log configuration for the results of the execute command actions. Required when `logging` is `OVERRIDE`. See `log_configuration` Block for details.
     * 
     */
    @Import(name="logConfiguration")
    private @Nullable Output logConfiguration;

    /**
     * @return Log configuration for the results of the execute command actions. Required when `logging` is `OVERRIDE`. See `log_configuration` Block for details.
     * 
     */
    public Optional> logConfiguration() {
        return Optional.ofNullable(this.logConfiguration);
    }

    /**
     * Log setting to use for redirecting logs for your execute command results. Valid values: `NONE`, `DEFAULT`, `OVERRIDE`.
     * 
     */
    @Import(name="logging")
    private @Nullable Output logging;

    /**
     * @return Log setting to use for redirecting logs for your execute command results. Valid values: `NONE`, `DEFAULT`, `OVERRIDE`.
     * 
     */
    public Optional> logging() {
        return Optional.ofNullable(this.logging);
    }

    private ClusterConfigurationExecuteCommandConfigurationArgs() {}

    private ClusterConfigurationExecuteCommandConfigurationArgs(ClusterConfigurationExecuteCommandConfigurationArgs $) {
        this.kmsKeyId = $.kmsKeyId;
        this.logConfiguration = $.logConfiguration;
        this.logging = $.logging;
    }

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

    public static final class Builder {
        private ClusterConfigurationExecuteCommandConfigurationArgs $;

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

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

        /**
         * @param kmsKeyId AWS Key Management Service key ID to encrypt the data between the local client and the container.
         * 
         * @return builder
         * 
         */
        public Builder kmsKeyId(@Nullable Output kmsKeyId) {
            $.kmsKeyId = kmsKeyId;
            return this;
        }

        /**
         * @param kmsKeyId AWS Key Management Service key ID to encrypt the data between the local client and the container.
         * 
         * @return builder
         * 
         */
        public Builder kmsKeyId(String kmsKeyId) {
            return kmsKeyId(Output.of(kmsKeyId));
        }

        /**
         * @param logConfiguration Log configuration for the results of the execute command actions. Required when `logging` is `OVERRIDE`. See `log_configuration` Block for details.
         * 
         * @return builder
         * 
         */
        public Builder logConfiguration(@Nullable Output logConfiguration) {
            $.logConfiguration = logConfiguration;
            return this;
        }

        /**
         * @param logConfiguration Log configuration for the results of the execute command actions. Required when `logging` is `OVERRIDE`. See `log_configuration` Block for details.
         * 
         * @return builder
         * 
         */
        public Builder logConfiguration(ClusterConfigurationExecuteCommandConfigurationLogConfigurationArgs logConfiguration) {
            return logConfiguration(Output.of(logConfiguration));
        }

        /**
         * @param logging Log setting to use for redirecting logs for your execute command results. Valid values: `NONE`, `DEFAULT`, `OVERRIDE`.
         * 
         * @return builder
         * 
         */
        public Builder logging(@Nullable Output logging) {
            $.logging = logging;
            return this;
        }

        /**
         * @param logging Log setting to use for redirecting logs for your execute command results. Valid values: `NONE`, `DEFAULT`, `OVERRIDE`.
         * 
         * @return builder
         * 
         */
        public Builder logging(String logging) {
            return logging(Output.of(logging));
        }

        public ClusterConfigurationExecuteCommandConfigurationArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy