com.pulumi.aws.wafv2.inputs.WebAclAssociationConfigRequestBodyCognitoUserPoolArgs 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 WebAclAssociationConfigRequestBodyCognitoUserPoolArgs extends com.pulumi.resources.ResourceArgs {
public static final WebAclAssociationConfigRequestBodyCognitoUserPoolArgs Empty = new WebAclAssociationConfigRequestBodyCognitoUserPoolArgs();
/**
* Specifies the maximum size of the web request body component that an associated Amazon Cognito user pools 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 Cognito user pools 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 WebAclAssociationConfigRequestBodyCognitoUserPoolArgs() {}
private WebAclAssociationConfigRequestBodyCognitoUserPoolArgs(WebAclAssociationConfigRequestBodyCognitoUserPoolArgs $) {
this.defaultSizeInspectionLimit = $.defaultSizeInspectionLimit;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(WebAclAssociationConfigRequestBodyCognitoUserPoolArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private WebAclAssociationConfigRequestBodyCognitoUserPoolArgs $;
public Builder() {
$ = new WebAclAssociationConfigRequestBodyCognitoUserPoolArgs();
}
public Builder(WebAclAssociationConfigRequestBodyCognitoUserPoolArgs defaults) {
$ = new WebAclAssociationConfigRequestBodyCognitoUserPoolArgs(Objects.requireNonNull(defaults));
}
/**
* @param defaultSizeInspectionLimit Specifies the maximum size of the web request body component that an associated Amazon Cognito user pools 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 Cognito user pools 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 WebAclAssociationConfigRequestBodyCognitoUserPoolArgs build() {
if ($.defaultSizeInspectionLimit == null) {
throw new MissingRequiredPropertyException("WebAclAssociationConfigRequestBodyCognitoUserPoolArgs", "defaultSizeInspectionLimit");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy