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

com.pulumi.aws.wafv2.inputs.WebAclAssociationConfigRequestBodyApiGatewayArgs 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.wafv2.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


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

    public static final WebAclAssociationConfigRequestBodyApiGatewayArgs Empty = new WebAclAssociationConfigRequestBodyApiGatewayArgs();

    /**
     * Specifies the maximum size of the web request body component that an associated Amazon API Gateway REST APIs should send to AWS WAF for inspection. This applies to statements in the web ACL that inspect the body or JSON body. Valid values are `KB_16`, `KB_32`, `KB_48` and `KB_64`.
     * 
     */
    @Import(name="defaultSizeInspectionLimit", required=true)
    private Output defaultSizeInspectionLimit;

    /**
     * @return Specifies the maximum size of the web request body component that an associated Amazon API Gateway REST APIs should send to AWS WAF for inspection. This applies to statements in the web ACL that inspect the body or JSON body. Valid values are `KB_16`, `KB_32`, `KB_48` and `KB_64`.
     * 
     */
    public Output defaultSizeInspectionLimit() {
        return this.defaultSizeInspectionLimit;
    }

    private WebAclAssociationConfigRequestBodyApiGatewayArgs() {}

    private WebAclAssociationConfigRequestBodyApiGatewayArgs(WebAclAssociationConfigRequestBodyApiGatewayArgs $) {
        this.defaultSizeInspectionLimit = $.defaultSizeInspectionLimit;
    }

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

    public static final class Builder {
        private WebAclAssociationConfigRequestBodyApiGatewayArgs $;

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

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

        /**
         * @param defaultSizeInspectionLimit Specifies the maximum size of the web request body component that an associated Amazon API Gateway REST APIs should send to AWS WAF for inspection. This applies to statements in the web ACL that inspect the body or JSON body. Valid values are `KB_16`, `KB_32`, `KB_48` and `KB_64`.
         * 
         * @return builder
         * 
         */
        public Builder defaultSizeInspectionLimit(Output defaultSizeInspectionLimit) {
            $.defaultSizeInspectionLimit = defaultSizeInspectionLimit;
            return this;
        }

        /**
         * @param defaultSizeInspectionLimit Specifies the maximum size of the web request body component that an associated Amazon API Gateway REST APIs should send to AWS WAF for inspection. This applies to statements in the web ACL that inspect the body or JSON body. Valid values are `KB_16`, `KB_32`, `KB_48` and `KB_64`.
         * 
         * @return builder
         * 
         */
        public Builder defaultSizeInspectionLimit(String defaultSizeInspectionLimit) {
            return defaultSizeInspectionLimit(Output.of(defaultSizeInspectionLimit));
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy