Show / Hide Table of Contents

Interface ICfnWebACLAssociationProps

Properties for defining a CfnWebACLAssociation.

Namespace: Amazon.CDK.AWS.WAFv2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnWebACLAssociationProps
Syntax (vb)
Public Interface ICfnWebACLAssociationProps
Remarks

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

ExampleMetadata: infused

Examples
EventApi api;
             CfnWebACL webAcl;


             // Associate waf with Event API
             // Associate waf with Event API
             new CfnWebACLAssociation(this, "WafAssociation", new CfnWebACLAssociationProps {
                 ResourceArn = api.ApiArn,
                 WebAclArn = webAcl.AttrArn
             });

Synopsis

Properties

ResourceArn

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

WebAclArn

The Amazon Resource Name (ARN) of the web ACL that you want to associate with the resource.

Properties

ResourceArn

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

object ResourceArn { get; }
Property Value

object

Remarks

The ARN must be in one of the following formats:

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

    Type union: either string or IGraphQLApiRef or ILoadBalancerRef or IWebACLRef

    WebAclArn

    The Amazon Resource Name (ARN) of the web ACL that you want to associate with the resource.

    string WebAclArn { get; }
    Property Value

    string

    Remarks

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-webaclassociation.html#cfn-wafv2-webaclassociation-webaclarn

    Back to top Generated by DocFX