Class CfnWebACLAssociationPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.wafv2.CfnWebACLAssociationPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWebACLAssociationPropsMixin>
- Enclosing class:
CfnWebACLAssociationPropsMixin
@Stability(Stable)
public static final class CfnWebACLAssociationPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWebACLAssociationPropsMixin>
A fluent builder for
CfnWebACLAssociationPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) resourceArn(String resourceArn) The Amazon Resource Name (ARN) of the resource to associate with the web ACL.resourceArn(IGraphQLApiRef resourceArn) The Amazon Resource Name (ARN) of the resource to associate with the web ACL.resourceArn(ILoadBalancerRef resourceArn) The Amazon Resource Name (ARN) of the resource to associate with the web ACL.resourceArn(IWebACLRef resourceArn) The Amazon Resource Name (ARN) of the resource to associate with the web ACL.The Amazon Resource Name (ARN) of the web ACL that you want to associate with the resource.
-
Method Details
-
create
@Stability(Stable) public static CfnWebACLAssociationPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnWebACLAssociationPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnWebACLAssociationPropsMixin.Builder.
-
resourceArn
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: *partition* :elasticloadbalancing: *region* : *account-id* :loadbalancer/app/ *load-balancer-name* / *load-balancer-id* - For an Amazon API Gateway REST API:
arn: *partition* :apigateway: *region* ::/restapis/ *api-id* /stages/ *stage-name* - For an AWS AppSync GraphQL API:
arn: *partition* :appsync: *region* : *account-id* :apis/ *GraphQLApiId* - For an Amazon Cognito user pool:
arn: *partition* :cognito-idp: *region* : *account-id* :userpool/ *user-pool-id* - For an AWS App Runner service:
arn: *partition* :apprunner: *region* : *account-id* :service/ *apprunner-service-name* / *apprunner-service-id* - For an AWS Verified Access instance:
arn: *partition* :ec2: *region* : *account-id* :verified-access-instance/ *instance-id* - For an AWS Amplify instance:
arn: *partition* :amplify: *region* : *account-id* :apps/ *app-id*
- Parameters:
resourceArn- The Amazon Resource Name (ARN) of the resource to associate with the web ACL. This parameter is required.- Returns:
this- See Also:
- For an Application Load Balancer:
-
resourceArn
@Stability(Stable) public CfnWebACLAssociationPropsMixin.Builder resourceArn(IGraphQLApiRef resourceArn) 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: *partition* :elasticloadbalancing: *region* : *account-id* :loadbalancer/app/ *load-balancer-name* / *load-balancer-id* - For an Amazon API Gateway REST API:
arn: *partition* :apigateway: *region* ::/restapis/ *api-id* /stages/ *stage-name* - For an AWS AppSync GraphQL API:
arn: *partition* :appsync: *region* : *account-id* :apis/ *GraphQLApiId* - For an Amazon Cognito user pool:
arn: *partition* :cognito-idp: *region* : *account-id* :userpool/ *user-pool-id* - For an AWS App Runner service:
arn: *partition* :apprunner: *region* : *account-id* :service/ *apprunner-service-name* / *apprunner-service-id* - For an AWS Verified Access instance:
arn: *partition* :ec2: *region* : *account-id* :verified-access-instance/ *instance-id* - For an AWS Amplify instance:
arn: *partition* :amplify: *region* : *account-id* :apps/ *app-id*
- Parameters:
resourceArn- The Amazon Resource Name (ARN) of the resource to associate with the web ACL. This parameter is required.- Returns:
this- See Also:
- For an Application Load Balancer:
-
resourceArn
@Stability(Stable) public CfnWebACLAssociationPropsMixin.Builder resourceArn(ILoadBalancerRef resourceArn) 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: *partition* :elasticloadbalancing: *region* : *account-id* :loadbalancer/app/ *load-balancer-name* / *load-balancer-id* - For an Amazon API Gateway REST API:
arn: *partition* :apigateway: *region* ::/restapis/ *api-id* /stages/ *stage-name* - For an AWS AppSync GraphQL API:
arn: *partition* :appsync: *region* : *account-id* :apis/ *GraphQLApiId* - For an Amazon Cognito user pool:
arn: *partition* :cognito-idp: *region* : *account-id* :userpool/ *user-pool-id* - For an AWS App Runner service:
arn: *partition* :apprunner: *region* : *account-id* :service/ *apprunner-service-name* / *apprunner-service-id* - For an AWS Verified Access instance:
arn: *partition* :ec2: *region* : *account-id* :verified-access-instance/ *instance-id* - For an AWS Amplify instance:
arn: *partition* :amplify: *region* : *account-id* :apps/ *app-id*
- Parameters:
resourceArn- The Amazon Resource Name (ARN) of the resource to associate with the web ACL. This parameter is required.- Returns:
this- See Also:
- For an Application Load Balancer:
-
resourceArn
@Stability(Stable) public CfnWebACLAssociationPropsMixin.Builder resourceArn(IWebACLRef resourceArn) 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: *partition* :elasticloadbalancing: *region* : *account-id* :loadbalancer/app/ *load-balancer-name* / *load-balancer-id* - For an Amazon API Gateway REST API:
arn: *partition* :apigateway: *region* ::/restapis/ *api-id* /stages/ *stage-name* - For an AWS AppSync GraphQL API:
arn: *partition* :appsync: *region* : *account-id* :apis/ *GraphQLApiId* - For an Amazon Cognito user pool:
arn: *partition* :cognito-idp: *region* : *account-id* :userpool/ *user-pool-id* - For an AWS App Runner service:
arn: *partition* :apprunner: *region* : *account-id* :service/ *apprunner-service-name* / *apprunner-service-id* - For an AWS Verified Access instance:
arn: *partition* :ec2: *region* : *account-id* :verified-access-instance/ *instance-id* - For an AWS Amplify instance:
arn: *partition* :amplify: *region* : *account-id* :apps/ *app-id*
- Parameters:
resourceArn- The Amazon Resource Name (ARN) of the resource to associate with the web ACL. This parameter is required.- Returns:
this- See Also:
- For an Application Load Balancer:
-
webAclArn
The Amazon Resource Name (ARN) of the web ACL that you want to associate with the resource.- Parameters:
webAclArn- The Amazon Resource Name (ARN) of the web ACL that you want to associate with the resource. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWebACLAssociationPropsMixin>- Returns:
- a newly built instance of
CfnWebACLAssociationPropsMixin.
-