public static final class WafwebaclToCloudFront.Builder extends Object implements software.amazon.jsii.Builder<WafwebaclToCloudFront>
WafwebaclToCloudFront.| Modifier and Type | Method and Description |
|---|---|
WafwebaclToCloudFront |
build() |
static WafwebaclToCloudFront.Builder |
create(software.constructs.Construct scope,
String id) |
WafwebaclToCloudFront.Builder |
existingCloudFrontWebDistribution(software.amazon.awscdk.services.cloudfront.Distribution existingCloudFrontWebDistribution)
The existing CloudFront instance that will be protected with the WAF web ACL.
|
WafwebaclToCloudFront.Builder |
existingWebaclObj(software.amazon.awscdk.services.wafv2.CfnWebACL existingWebaclObj)
Existing instance of a WAF web ACL, an error will occur if this and props is set.
|
WafwebaclToCloudFront.Builder |
webaclProps(software.amazon.awscdk.services.wafv2.CfnWebACLProps webaclProps)
Optional user-provided props to override the default props for the AWS WAF web ACL.
|
public static WafwebaclToCloudFront.Builder create(software.constructs.Construct scope, String id)
scope - - represents the scope for all the resources. This parameter is required.id - - this is a a scope-unique id. This parameter is required.WafwebaclToCloudFront.Builder.public WafwebaclToCloudFront.Builder existingCloudFrontWebDistribution(software.amazon.awscdk.services.cloudfront.Distribution existingCloudFrontWebDistribution)
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)
existingCloudFrontWebDistribution - The existing CloudFront instance that will be protected with the WAF web ACL. This parameter is required.thispublic WafwebaclToCloudFront.Builder existingWebaclObj(software.amazon.awscdk.services.wafv2.CfnWebACL existingWebaclObj)
existingWebaclObj - Existing instance of a WAF web ACL, an error will occur if this and props is set. This parameter is required.thispublic WafwebaclToCloudFront.Builder webaclProps(software.amazon.awscdk.services.wafv2.CfnWebACLProps webaclProps)
Default: - Default properties are used.
webaclProps - Optional user-provided props to override the default props for the AWS WAF web ACL. This parameter is required.thispublic WafwebaclToCloudFront build()
build in interface software.amazon.jsii.Builder<WafwebaclToCloudFront>Copyright © 2023. All rights reserved.