public static final class WafwebaclToApiGateway.Builder extends Object implements software.amazon.jsii.Builder<WafwebaclToApiGateway>
WafwebaclToApiGateway.| Modifier and Type | Method and Description |
|---|---|
WafwebaclToApiGateway |
build() |
static WafwebaclToApiGateway.Builder |
create(software.amazon.awscdk.core.Construct scope,
String id) |
WafwebaclToApiGateway.Builder |
existingApiGatewayInterface(software.amazon.awscdk.services.apigateway.IRestApi existingApiGatewayInterface)
The existing API Gateway instance that will be protected with the WAF web ACL.
|
WafwebaclToApiGateway.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.
|
WafwebaclToApiGateway.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 WafwebaclToApiGateway.Builder create(software.amazon.awscdk.core.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.WafwebaclToApiGateway.Builder.public WafwebaclToApiGateway.Builder existingApiGatewayInterface(software.amazon.awscdk.services.apigateway.IRestApi existingApiGatewayInterface)
existingApiGatewayInterface - The existing API Gateway instance that will be protected with the WAF web ACL. This parameter is required.thispublic WafwebaclToApiGateway.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 WafwebaclToApiGateway.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 WafwebaclToApiGateway build()
build in interface software.amazon.jsii.Builder<WafwebaclToApiGateway>Copyright © 2021. All rights reserved.