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

com.pulumi.aws.glue.inputs.SecurityConfigurationEncryptionConfigurationS3EncryptionArgs Maven / Gradle / Ivy

// *** 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.glue.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 SecurityConfigurationEncryptionConfigurationS3EncryptionArgs extends com.pulumi.resources.ResourceArgs {

    public static final SecurityConfigurationEncryptionConfigurationS3EncryptionArgs Empty = new SecurityConfigurationEncryptionConfigurationS3EncryptionArgs();

    /**
     * Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data.
     * 
     */
    @Import(name="kmsKeyArn")
    private @Nullable Output kmsKeyArn;

    /**
     * @return Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data.
     * 
     */
    public Optional> kmsKeyArn() {
        return Optional.ofNullable(this.kmsKeyArn);
    }

    /**
     * Encryption mode to use for S3 data. Valid values: `DISABLED`, `SSE-KMS`, `SSE-S3`. Default value: `DISABLED`.
     * 
     */
    @Import(name="s3EncryptionMode")
    private @Nullable Output s3EncryptionMode;

    /**
     * @return Encryption mode to use for S3 data. Valid values: `DISABLED`, `SSE-KMS`, `SSE-S3`. Default value: `DISABLED`.
     * 
     */
    public Optional> s3EncryptionMode() {
        return Optional.ofNullable(this.s3EncryptionMode);
    }

    private SecurityConfigurationEncryptionConfigurationS3EncryptionArgs() {}

    private SecurityConfigurationEncryptionConfigurationS3EncryptionArgs(SecurityConfigurationEncryptionConfigurationS3EncryptionArgs $) {
        this.kmsKeyArn = $.kmsKeyArn;
        this.s3EncryptionMode = $.s3EncryptionMode;
    }

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

    public static final class Builder {
        private SecurityConfigurationEncryptionConfigurationS3EncryptionArgs $;

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

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

        /**
         * @param kmsKeyArn Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data.
         * 
         * @return builder
         * 
         */
        public Builder kmsKeyArn(@Nullable Output kmsKeyArn) {
            $.kmsKeyArn = kmsKeyArn;
            return this;
        }

        /**
         * @param kmsKeyArn Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data.
         * 
         * @return builder
         * 
         */
        public Builder kmsKeyArn(String kmsKeyArn) {
            return kmsKeyArn(Output.of(kmsKeyArn));
        }

        /**
         * @param s3EncryptionMode Encryption mode to use for S3 data. Valid values: `DISABLED`, `SSE-KMS`, `SSE-S3`. Default value: `DISABLED`.
         * 
         * @return builder
         * 
         */
        public Builder s3EncryptionMode(@Nullable Output s3EncryptionMode) {
            $.s3EncryptionMode = s3EncryptionMode;
            return this;
        }

        /**
         * @param s3EncryptionMode Encryption mode to use for S3 data. Valid values: `DISABLED`, `SSE-KMS`, `SSE-S3`. Default value: `DISABLED`.
         * 
         * @return builder
         * 
         */
        public Builder s3EncryptionMode(String s3EncryptionMode) {
            return s3EncryptionMode(Output.of(s3EncryptionMode));
        }

        public SecurityConfigurationEncryptionConfigurationS3EncryptionArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy