CfnWebACLAssociationProps

class aws_cdk.aws_wafregional.CfnWebACLAssociationProps(*, resource_arn, web_acl_id)

Bases: object

Properties for defining a CfnWebACLAssociation.

Parameters:
  • resource_arn (str) – The Amazon Resource Name (ARN) of the resource to protect with the web ACL.

  • web_acl_id (str) – A unique identifier (ID) for the web ACL.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-webaclassociation.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_wafregional as wafregional

cfn_web_aCLAssociation_props = wafregional.CfnWebACLAssociationProps(
    resource_arn="resourceArn",
    web_acl_id="webAclId"
)

Attributes

resource_arn

The Amazon Resource Name (ARN) of the resource to protect with the web ACL.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-webaclassociation.html#cfn-wafregional-webaclassociation-resourcearn

web_acl_id

A unique identifier (ID) for the web ACL.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-webaclassociation.html#cfn-wafregional-webaclassociation-webaclid