Interface WafwebaclToCloudFrontProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
WafwebaclToCloudFrontProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.82.0 (build 2d2ddd7)",
date="2023-06-06T15:31:13.143Z")
public interface WafwebaclToCloudFrontProps
extends software.amazon.jsii.JsiiSerializable
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forWafwebaclToCloudFrontPropsstatic final classAn implementation forWafwebaclToCloudFrontProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()software.amazon.awscdk.services.cloudfront.DistributionThe existing CloudFront instance that will be protected with the WAF web ACL.default software.amazon.awscdk.services.wafv2.CfnWebACLExisting instance of a WAF web ACL, an error will occur if this and props is set.default ObjectOptional user-provided props to override the default props for the AWS WAF web ACL.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getExistingCloudFrontWebDistribution
@NotNull software.amazon.awscdk.services.cloudfront.Distribution getExistingCloudFrontWebDistribution()The existing CloudFront instance that will be protected with the WAF web ACL.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)
-
getExistingWebaclObj
@Nullable default software.amazon.awscdk.services.wafv2.CfnWebACL getExistingWebaclObj()Existing instance of a WAF web ACL, an error will occur if this and props is set. -
getWebaclProps
Optional user-provided props to override the default props for the AWS WAF web ACL.Default: - Default properties are used.
-
builder
- Returns:
- a
WafwebaclToCloudFrontProps.BuilderofWafwebaclToCloudFrontProps
-