CfnWebACLAssociationPropsMixin
- class aws_cdk.mixins_preview.aws_wafregional.mixins.CfnWebACLAssociationPropsMixin(props, *, strategy=None)
Bases:
MixinThis is AWS WAF Classic documentation.
For more information, see AWS WAF Classic in the developer guide. .. epigraph:
*For the latest version of AWS WAF* , use the AWS WAF V2 API and see the `AWS WAF Developer Guide <https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html>`_ . With the latest version, AWS WAF has a single set of endpoints for regional and global use.
The AWS::WAFRegional::WebACLAssociation resource associates an AWS WAF Regional web access control group (ACL) with a resource.
- see:
- cloudformationResource:
AWS::WAFRegional::WebACLAssociation
- mixin:
true
- 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.mixins_preview import mixins from aws_cdk.mixins_preview.aws_wafregional import mixins as wafregional_mixins cfn_web_aCLAssociation_props_mixin = wafregional_mixins.CfnWebACLAssociationPropsMixin(wafregional_mixins.CfnWebACLAssociationMixinProps( resource_arn="resourceArn", web_acl_id="webAclId" ), strategy=mixins.PropertyMergeStrategy.OVERRIDE )
Create a mixin to apply properties to
AWS::WAFRegional::WebACLAssociation.- Parameters:
props (
Union[CfnWebACLAssociationMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[PropertyMergeStrategy]) – (experimental) Strategy for merging nested properties. Default: - PropertyMergeStrategy.MERGE
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
- supports(construct)
Check if this mixin supports the given construct.
- Parameters:
construct (
IConstruct)- Return type:
bool
Attributes
- CFN_PROPERTY_KEYS = ['resourceArn', 'webAclId']
Static Methods
- classmethod is_mixin(x)
(experimental) Checks if
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.- Stability:
experimental