Interface CfnWebACLAssociationProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnWebACLAssociationProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:36.617Z") @Stability(Stable) public interface CfnWebACLAssociationProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnWebACLAssociation.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.wafv2.*;
 CfnWebACLAssociationProps cfnWebACLAssociationProps = CfnWebACLAssociationProps.builder()
         .resourceArn("resourceArn")
         .webAclArn("webAclArn")
         .build();
 
  • Method Details

    • getResourceArn

      @Stability(Stable) @NotNull String getResourceArn()
      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:aws:elasticloadbalancing: *region* : *account-id* :loadbalancer/app/ *load-balancer-name* / *load-balancer-id*
      • For an Amazon API Gateway REST API: arn:aws:apigateway: *region* ::/restapis/ *api-id* /stages/ *stage-name*
      • For an AWS AppSync GraphQL API: arn:aws:appsync: *region* : *account-id* :apis/ *GraphQLApiId*
      • For an Amazon Cognito user pool: arn:aws:cognito-idp: *region* : *account-id* :userpool/ *user-pool-id*
      • For an AWS App Runner service: arn:aws:apprunner: *region* : *account-id* :service/ *apprunner-service-name* / *apprunner-service-id*
    • getWebAclArn

      @Stability(Stable) @NotNull String getWebAclArn()
      The Amazon Resource Name (ARN) of the web ACL that you want to associate with the resource.
    • builder

      @Stability(Stable) static CfnWebACLAssociationProps.Builder builder()
      Returns:
      a CfnWebACLAssociationProps.Builder of CfnWebACLAssociationProps