Class CfnWebACLAssociation.Builder
java.lang.Object
software.amazon.awscdk.services.waf.regional.CfnWebACLAssociation.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWebACLAssociation>
- Enclosing class:
- CfnWebACLAssociation
@Stability(Stable)
public static final class CfnWebACLAssociation.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWebACLAssociation>
A fluent builder for
CfnWebACLAssociation.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnWebACLAssociation.BuilderresourceArn(String resourceArn) The Amazon Resource Name (ARN) of the resource to protect with the web ACL.A unique identifier (ID) for the web ACL.
-
Method Details
-
create
- Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
- Returns:
- a new instance of
CfnWebACLAssociation.Builder.
-
resourceArn
The Amazon Resource Name (ARN) of the resource to protect with the web ACL.- Parameters:
resourceArn- The Amazon Resource Name (ARN) of the resource to protect with the web ACL. This parameter is required.- Returns:
this
-
webAclId
A unique identifier (ID) for the web ACL.- Parameters:
webAclId- A unique identifier (ID) for the web ACL. This parameter is required.- Returns:
this
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWebACLAssociation>- Returns:
- a newly built instance of
CfnWebACLAssociation.
-