public static final class WafwebaclToCloudFrontProps.Builder extends Object implements software.amazon.jsii.Builder<WafwebaclToCloudFrontProps>
WafwebaclToCloudFrontProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
WafwebaclToCloudFrontProps |
build()
Builds the configured instance.
|
WafwebaclToCloudFrontProps.Builder |
existingCloudFrontWebDistribution(software.amazon.awscdk.services.cloudfront.Distribution existingCloudFrontWebDistribution)
Sets the value of
WafwebaclToCloudFrontProps.getExistingCloudFrontWebDistribution() |
WafwebaclToCloudFrontProps.Builder |
existingWebaclObj(software.amazon.awscdk.services.wafv2.CfnWebACL existingWebaclObj)
Sets the value of
WafwebaclToCloudFrontProps.getExistingWebaclObj() |
WafwebaclToCloudFrontProps.Builder |
webaclProps(software.amazon.awscdk.services.wafv2.CfnWebACLProps webaclProps)
Sets the value of
WafwebaclToCloudFrontProps.getWebaclProps() |
public WafwebaclToCloudFrontProps.Builder existingCloudFrontWebDistribution(software.amazon.awscdk.services.cloudfront.Distribution existingCloudFrontWebDistribution)
WafwebaclToCloudFrontProps.getExistingCloudFrontWebDistribution()existingCloudFrontWebDistribution - The existing CloudFront instance that will be protected with the WAF web ACL. This parameter is required.
This construct changes the CloudFront distribution by directly manipulating
the CloudFormation output, so this must be the Construct and cannot be
changed to the Interface (IDistribution)thispublic WafwebaclToCloudFrontProps.Builder existingWebaclObj(software.amazon.awscdk.services.wafv2.CfnWebACL existingWebaclObj)
WafwebaclToCloudFrontProps.getExistingWebaclObj()existingWebaclObj - Existing instance of a WAF web ACL, an error will occur if this and props is set.thispublic WafwebaclToCloudFrontProps.Builder webaclProps(software.amazon.awscdk.services.wafv2.CfnWebACLProps webaclProps)
WafwebaclToCloudFrontProps.getWebaclProps()webaclProps - Optional user-provided props to override the default props for the AWS WAF web ACL.thispublic WafwebaclToCloudFrontProps build()
build in interface software.amazon.jsii.Builder<WafwebaclToCloudFrontProps>WafwebaclToCloudFrontPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.