Class CloudfrontWebAcl.Builder
- java.lang.Object
-
- software.aws.awsprototypingsdk.staticwebsite.CloudfrontWebAcl.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<CloudfrontWebAcl>
- Enclosing class:
- CloudfrontWebAcl
@Stability(Experimental) public static final class CloudfrontWebAcl.Builder extends Object implements software.amazon.jsii.Builder<CloudfrontWebAcl>
(experimental) A fluent builder forCloudfrontWebAcl.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CloudfrontWebAclbuild()CloudfrontWebAcl.BuildercidrAllowList(CidrAllowList cidrAllowList)(experimental) List of cidr ranges to allow.static CloudfrontWebAcl.Buildercreate(software.constructs.Construct scope, String id)CloudfrontWebAcl.BuildermanagedRules(List<? extends ManagedRule> managedRules)(experimental) List of managed rules to apply to the web acl.
-
-
-
Method Detail
-
create
@Stability(Experimental) public static CloudfrontWebAcl.Builder create(software.constructs.Construct scope, String id)
- Parameters:
scope- This parameter is required.id- This parameter is required.- Returns:
- a new instance of
CloudfrontWebAcl.Builder.
-
cidrAllowList
@Stability(Experimental) public CloudfrontWebAcl.Builder cidrAllowList(CidrAllowList cidrAllowList)
(experimental) List of cidr ranges to allow.Default: - undefined
- Parameters:
cidrAllowList- List of cidr ranges to allow. This parameter is required.- Returns:
this
-
managedRules
@Stability(Experimental) public CloudfrontWebAcl.Builder managedRules(List<? extends ManagedRule> managedRules)
(experimental) List of managed rules to apply to the web acl.Default: - [{ vendor: "AWS", name: "AWSManagedRulesCommonRuleSet" }]
- Parameters:
managedRules- List of managed rules to apply to the web acl. This parameter is required.- Returns:
this
-
build
@Stability(Experimental) public CloudfrontWebAcl build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CloudfrontWebAcl>
-
-