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

com.pulumi.aws.waf.inputs.WebAclLoggingConfigurationArgs 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.waf.inputs;

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


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

    public static final WebAclLoggingConfigurationArgs Empty = new WebAclLoggingConfigurationArgs();

    /**
     * Amazon Resource Name (ARN) of Kinesis Firehose Delivery Stream
     * 
     */
    @Import(name="logDestination", required=true)
    private Output logDestination;

    /**
     * @return Amazon Resource Name (ARN) of Kinesis Firehose Delivery Stream
     * 
     */
    public Output logDestination() {
        return this.logDestination;
    }

    /**
     * Configuration block containing parts of the request that you want redacted from the logs. Detailed below.
     * 
     */
    @Import(name="redactedFields")
    private @Nullable Output redactedFields;

    /**
     * @return Configuration block containing parts of the request that you want redacted from the logs. Detailed below.
     * 
     */
    public Optional> redactedFields() {
        return Optional.ofNullable(this.redactedFields);
    }

    private WebAclLoggingConfigurationArgs() {}

    private WebAclLoggingConfigurationArgs(WebAclLoggingConfigurationArgs $) {
        this.logDestination = $.logDestination;
        this.redactedFields = $.redactedFields;
    }

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

    public static final class Builder {
        private WebAclLoggingConfigurationArgs $;

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

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

        /**
         * @param logDestination Amazon Resource Name (ARN) of Kinesis Firehose Delivery Stream
         * 
         * @return builder
         * 
         */
        public Builder logDestination(Output logDestination) {
            $.logDestination = logDestination;
            return this;
        }

        /**
         * @param logDestination Amazon Resource Name (ARN) of Kinesis Firehose Delivery Stream
         * 
         * @return builder
         * 
         */
        public Builder logDestination(String logDestination) {
            return logDestination(Output.of(logDestination));
        }

        /**
         * @param redactedFields Configuration block containing parts of the request that you want redacted from the logs. Detailed below.
         * 
         * @return builder
         * 
         */
        public Builder redactedFields(@Nullable Output redactedFields) {
            $.redactedFields = redactedFields;
            return this;
        }

        /**
         * @param redactedFields Configuration block containing parts of the request that you want redacted from the logs. Detailed below.
         * 
         * @return builder
         * 
         */
        public Builder redactedFields(WebAclLoggingConfigurationRedactedFieldsArgs redactedFields) {
            return redactedFields(Output.of(redactedFields));
        }

        public WebAclLoggingConfigurationArgs build() {
            if ($.logDestination == null) {
                throw new MissingRequiredPropertyException("WebAclLoggingConfigurationArgs", "logDestination");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy