AwsWafv2WebAclAssociationsArgs
interface AwsWafv2WebAclAssociationsArgs {
identity: string;
resourceArns?: Record<string, Input<string>>;
resourceReferences?: Record<string, AwsWafv2AssociationTargetReference>;
webAclArn: AwsWafv2WebAclArnReference;
}Input arguments for the WAFv2 web ACL associations capability.
Example
CODE
const associationsArgs: AwsWafv2WebAclAssociationsArgs = {
identity: 'applicationAssociations',
webAclArn: {
name: 'existing-web-acl',
},
resourceReferences: {
publicAlb: {
type: 'alb',
name: 'public-application-alb',
},
publicApi: {
type: 'apiGatewayStage',
restApiName: 'public-api',
stageName: 'prod',
},
},
};Properties
identity: string
Logical-only identity for this association collection. It is never forwarded to AWS.
resourceArns: Record<string, Input<string>>
Resource ARNs to associate, keyed by their stable logical identity.
resourceReferences: Record<string, AwsWafv2AssociationTargetReference>
Resource references to associate, keyed by their stable logical identity.
webAclArn: AwsWafv2WebAclArnReference
ARN of the web ACL to attach, or a web ACL capability reference.