@Generated(value="jsii-pacmak/1.57.0 (build f614666)", date="2022-04-22T22:36:25.703Z") @Stability(value=Stable) public interface CfnWebACLAssociationProps extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.wafv2.*;
CfnWebACLAssociationProps cfnWebACLAssociationProps = CfnWebACLAssociationProps.builder()
.resourceArn("resourceArn")
.webAclArn("webAclArn")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnWebACLAssociationProps.Builder
A builder for
CfnWebACLAssociationProps |
static class |
CfnWebACLAssociationProps.Jsii$Proxy
An implementation for
CfnWebACLAssociationProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnWebACLAssociationProps.Builder |
builder() |
String |
getResourceArn()
The Amazon Resource Name (ARN) of the resource to associate with the web ACL.
|
String |
getWebAclArn()
The Amazon Resource Name (ARN) of the web ACL that you want to associate with the resource.
|
@Stability(value=Stable) @NotNull String getResourceArn()
The ARN must be in one of the following formats:
arn:aws:elasticloadbalancing: *region* : *account-id* :loadbalancer/app/ *load-balancer-name* / *load-balancer-id*arn:aws:apigateway: *region* ::/restapis/ *api-id* /stages/ *stage-name*arn:aws:appsync: *region* : *account-id* :apis/ *GraphQLApiId*
For Amazon CloudFront , define the association in your CloudFront distribution configuration. To associate a web ACL, provide the Amazon Resource Name (ARN) of the WebACL to your CloudFront distribution configuration. To disassociate a web ACL, provide an empty ARN. For information, see AWS::CloudFront::Distribution .
@Stability(value=Stable) @NotNull String getWebAclArn()
@Stability(value=Stable) static CfnWebACLAssociationProps.Builder builder()
CfnWebACLAssociationProps.Builder of CfnWebACLAssociationPropsCopyright © 2022. All rights reserved.