@Stability(value=Stable) public static final class CfnRuleGroup.IPSetReferenceStatementProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnRuleGroup.IPSetReferenceStatementProperty>
CfnRuleGroup.IPSetReferenceStatementProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnRuleGroup.IPSetReferenceStatementProperty.Builder |
arn(String arn)
Sets the value of
CfnRuleGroup.IPSetReferenceStatementProperty.getArn() |
CfnRuleGroup.IPSetReferenceStatementProperty |
build()
Builds the configured instance.
|
CfnRuleGroup.IPSetReferenceStatementProperty.Builder |
ipSetForwardedIpConfig(CfnRuleGroup.IPSetForwardedIPConfigurationProperty ipSetForwardedIpConfig)
Sets the value of
CfnRuleGroup.IPSetReferenceStatementProperty.getIpSetForwardedIpConfig() |
CfnRuleGroup.IPSetReferenceStatementProperty.Builder |
ipSetForwardedIpConfig(IResolvable ipSetForwardedIpConfig)
Sets the value of
CfnRuleGroup.IPSetReferenceStatementProperty.getIpSetForwardedIpConfig() |
@Stability(value=Stable) public CfnRuleGroup.IPSetReferenceStatementProperty.Builder arn(String arn)
CfnRuleGroup.IPSetReferenceStatementProperty.getArn()arn - The Amazon Resource Name (ARN) of the `IPSet` that this statement references. This parameter is required.this@Stability(value=Stable) public CfnRuleGroup.IPSetReferenceStatementProperty.Builder ipSetForwardedIpConfig(CfnRuleGroup.IPSetForwardedIPConfigurationProperty ipSetForwardedIpConfig)
CfnRuleGroup.IPSetReferenceStatementProperty.getIpSetForwardedIpConfig()ipSetForwardedIpConfig - The configuration for inspecting IP addresses in an HTTP header that you specify, instead of using the IP address that's reported by the web request origin.
Commonly, this is the X-Forwarded-For (XFF) header, but you can specify any header name.
If the specified header isn't present in the request, AWS WAF doesn't apply the rule to the web request at all.
this@Stability(value=Stable) public CfnRuleGroup.IPSetReferenceStatementProperty.Builder ipSetForwardedIpConfig(IResolvable ipSetForwardedIpConfig)
CfnRuleGroup.IPSetReferenceStatementProperty.getIpSetForwardedIpConfig()ipSetForwardedIpConfig - The configuration for inspecting IP addresses in an HTTP header that you specify, instead of using the IP address that's reported by the web request origin.
Commonly, this is the X-Forwarded-For (XFF) header, but you can specify any header name.
If the specified header isn't present in the request, AWS WAF doesn't apply the rule to the web request at all.
this@Stability(value=Stable) public CfnRuleGroup.IPSetReferenceStatementProperty build()
build in interface software.amazon.jsii.Builder<CfnRuleGroup.IPSetReferenceStatementProperty>CfnRuleGroup.IPSetReferenceStatementPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.