interface CfnWebACLAssociationMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.WAFv2.Mixins.CfnWebACLAssociationMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awswafv2/mixins#CfnWebACLAssociationMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.wafv2.mixins.CfnWebACLAssociationMixinProps |
Python | aws_cdk.mixins_preview.aws_wafv2.mixins.CfnWebACLAssociationMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_wafv2 » mixins » CfnWebACLAssociationMixinProps |
Properties for CfnWebACLAssociationPropsMixin.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as wafv2_mixins } from '@aws-cdk/mixins-preview/aws-wafv2';
const cfnWebACLAssociationMixinProps: wafv2_mixins.CfnWebACLAssociationMixinProps = {
resourceArn: 'resourceArn',
webAclArn: 'webAclArn',
};
Properties
| Name | Type | Description |
|---|---|---|
| resource | string | The Amazon Resource Name (ARN) of the resource to associate with the web ACL. |
| web | string | The Amazon Resource Name (ARN) of the web ACL that you want to associate with the resource. |
resourceArn?
Type:
string
(optional)
The Amazon Resource Name (ARN) of the resource to associate with the web ACL.
The ARN must be in one of the following formats:
- For an Application Load Balancer:
arn: *partition* :elasticloadbalancing: *region* : *account-id* :loadbalancer/app/ *load-balancer-name* / *load-balancer-id* - For an Amazon API Gateway REST API:
arn: *partition* :apigateway: *region* ::/restapis/ *api-id* /stages/ *stage-name* - For an AWS AppSync GraphQL API:
arn: *partition* :appsync: *region* : *account-id* :apis/ *GraphQLApiId* - For an Amazon Cognito user pool:
arn: *partition* :cognito-idp: *region* : *account-id* :userpool/ *user-pool-id* - For an AWS App Runner service:
arn: *partition* :apprunner: *region* : *account-id* :service/ *apprunner-service-name* / *apprunner-service-id* - For an AWS Verified Access instance:
arn: *partition* :ec2: *region* : *account-id* :verified-access-instance/ *instance-id* - For an AWS Amplify instance:
arn: *partition* :amplify: *region* : *account-id* :apps/ *app-id*
webAclArn?
Type:
string
(optional)
The Amazon Resource Name (ARN) of the web ACL that you want to associate with the resource.

.NET
Go
Java
Python
TypeScript