WebAclAssociation
Manages an association with WAF Regional Web ACL.
Note: An Application Load Balancer can only be associated with one WAF Regional WebACL.
Application Load Balancer Association Example
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const ipset = new aws.wafregional.IpSet("ipset", {
ipSetDescriptors: [{
type: "IPV4",
value: "192.0.7.0/24",
}],
});
const fooRule = new aws.wafregional.Rule("foo", {
metricName: "tfWAFRule",
predicates: [{
dataId: ipset.id,
negated: false,
type: "IPMatch",
}],
});
const fooWebAcl = new aws.wafregional.WebAcl("foo", {
defaultAction: {
type: "ALLOW",
},
metricName: "foo",
rules: [{
action: {
type: "BLOCK",
},
priority: 1,
ruleId: fooRule.id,
}],
});
const fooVpc = new aws.ec2.Vpc("foo", {
cidrBlock: "10.1.0.0/16",
});
const available = pulumi.output(aws.getAvailabilityZones({ async: true }));
const fooSubnet = new aws.ec2.Subnet("foo", {
availabilityZone: available.apply(available => available.names[0]),
cidrBlock: "10.1.1.0/24",
vpcId: fooVpc.id,
});
const bar = new aws.ec2.Subnet("bar", {
availabilityZone: available.apply(available => available.names[1]),
cidrBlock: "10.1.2.0/24",
vpcId: fooVpc.id,
});
const fooLoadBalancer = new aws.alb.LoadBalancer("foo", {
internal: true,
subnets: [
fooSubnet.id,
bar.id,
],
});
const fooWebAclAssociation = new aws.wafregional.WebAclAssociation("foo", {
resourceArn: fooLoadBalancer.arn,
webAclId: fooWebAcl.id,
});import pulumi
import pulumi_aws as aws
ipset = aws.wafregional.IpSet("ipset", ip_set_descriptors=[{
"type": "IPV4",
"value": "192.0.7.0/24",
}])
foo_rule = aws.wafregional.Rule("fooRule",
metric_name="tfWAFRule",
predicates=[{
"dataId": ipset.id,
"negated": False,
"type": "IPMatch",
}])
foo_web_acl = aws.wafregional.WebAcl("fooWebAcl",
default_action={
"type": "ALLOW",
},
metric_name="foo",
rules=[{
"action": {
"type": "BLOCK",
},
"priority": 1,
"rule_id": foo_rule.id,
}])
foo_vpc = aws.ec2.Vpc("fooVpc", cidr_block="10.1.0.0/16")
available = aws.get_availability_zones()
foo_subnet = aws.ec2.Subnet("fooSubnet",
availability_zone=available.names[0],
cidr_block="10.1.1.0/24",
vpc_id=foo_vpc.id)
bar = aws.ec2.Subnet("bar",
availability_zone=available.names[1],
cidr_block="10.1.2.0/24",
vpc_id=foo_vpc.id)
foo_load_balancer = aws.alb.LoadBalancer("fooLoadBalancer",
internal=True,
subnets=[
foo_subnet.id,
bar.id,
])
foo_web_acl_association = aws.wafregional.WebAclAssociation("fooWebAclAssociation",
resource_arn=foo_load_balancer.arn,
web_acl_id=foo_web_acl.id)using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var ipset = new Aws.WafRegional.IpSet("ipset", new Aws.WafRegional.IpSetArgs
{
IpSetDescriptors =
{
new Aws.WafRegional.Inputs.IpSetIpSetDescriptorArgs
{
Type = "IPV4",
Value = "192.0.7.0/24",
},
},
});
var fooRule = new Aws.WafRegional.Rule("fooRule", new Aws.WafRegional.RuleArgs
{
MetricName = "tfWAFRule",
Predicates =
{
new Aws.WafRegional.Inputs.RulePredicateArgs
{
DataId = ipset.Id,
Negated = false,
Type = "IPMatch",
},
},
});
var fooWebAcl = new Aws.WafRegional.WebAcl("fooWebAcl", new Aws.WafRegional.WebAclArgs
{
DefaultAction = new Aws.WafRegional.Inputs.WebAclDefaultActionArgs
{
Type = "ALLOW",
},
MetricName = "foo",
Rules =
{
new Aws.WafRegional.Inputs.WebAclRuleArgs
{
Action = new Aws.WafRegional.Inputs.WebAclRuleActionArgs
{
Type = "BLOCK",
},
Priority = 1,
RuleId = fooRule.Id,
},
},
});
var fooVpc = new Aws.Ec2.Vpc("fooVpc", new Aws.Ec2.VpcArgs
{
CidrBlock = "10.1.0.0/16",
});
var available = Output.Create(Aws.GetAvailabilityZones.InvokeAsync());
var fooSubnet = new Aws.Ec2.Subnet("fooSubnet", new Aws.Ec2.SubnetArgs
{
AvailabilityZone = available.Apply(available => available.Names[0]),
CidrBlock = "10.1.1.0/24",
VpcId = fooVpc.Id,
});
var bar = new Aws.Ec2.Subnet("bar", new Aws.Ec2.SubnetArgs
{
AvailabilityZone = available.Apply(available => available.Names[1]),
CidrBlock = "10.1.2.0/24",
VpcId = fooVpc.Id,
});
var fooLoadBalancer = new Aws.Alb.LoadBalancer("fooLoadBalancer", new Aws.Alb.LoadBalancerArgs
{
Internal = true,
Subnets =
{
fooSubnet.Id,
bar.Id,
},
});
var fooWebAclAssociation = new Aws.WafRegional.WebAclAssociation("fooWebAclAssociation", new Aws.WafRegional.WebAclAssociationArgs
{
ResourceArn = fooLoadBalancer.Arn,
WebAclId = fooWebAcl.Id,
});
}
}
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v2/go/aws"
"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/alb"
"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/ec2"
"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/wafregional"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
ipset, err := wafregional.NewIpSet(ctx, "ipset", &wafregional.IpSetArgs{
IpSetDescriptors: wafregional.IpSetIpSetDescriptorArray{
&wafregional.IpSetIpSetDescriptorArgs{
Type: pulumi.String("IPV4"),
Value: pulumi.String("192.0.7.0/24"),
},
},
})
if err != nil {
return err
}
fooRule, err := wafregional.NewRule(ctx, "fooRule", &wafregional.RuleArgs{
MetricName: pulumi.String("tfWAFRule"),
Predicates: wafregional.RulePredicateArray{
&wafregional.RulePredicateArgs{
DataId: ipset.ID(),
Negated: pulumi.Bool(false),
Type: pulumi.String("IPMatch"),
},
},
})
if err != nil {
return err
}
fooWebAcl, err := wafregional.NewWebAcl(ctx, "fooWebAcl", &wafregional.WebAclArgs{
DefaultAction: &wafregional.WebAclDefaultActionArgs{
Type: pulumi.String("ALLOW"),
},
MetricName: pulumi.String("foo"),
Rules: wafregional.WebAclRuleArray{
&wafregional.WebAclRuleArgs{
Action: &wafregional.WebAclRuleActionArgs{
Type: pulumi.String("BLOCK"),
},
Priority: pulumi.Int(1),
RuleId: fooRule.ID(),
},
},
})
if err != nil {
return err
}
fooVpc, err := ec2.NewVpc(ctx, "fooVpc", &ec2.VpcArgs{
CidrBlock: pulumi.String("10.1.0.0/16"),
})
if err != nil {
return err
}
available, err := aws.GetAvailabilityZones(ctx, nil, nil)
if err != nil {
return err
}
fooSubnet, err := ec2.NewSubnet(ctx, "fooSubnet", &ec2.SubnetArgs{
AvailabilityZone: pulumi.String(available.Names[0]),
CidrBlock: pulumi.String("10.1.1.0/24"),
VpcId: fooVpc.ID(),
})
if err != nil {
return err
}
bar, err := ec2.NewSubnet(ctx, "bar", &ec2.SubnetArgs{
AvailabilityZone: pulumi.String(available.Names[1]),
CidrBlock: pulumi.String("10.1.2.0/24"),
VpcId: fooVpc.ID(),
})
if err != nil {
return err
}
fooLoadBalancer, err := alb.NewLoadBalancer(ctx, "fooLoadBalancer", &alb.LoadBalancerArgs{
Internal: pulumi.Bool(true),
Subnets: pulumi.StringArray{
fooSubnet.ID(),
bar.ID(),
},
})
if err != nil {
return err
}
_, err = wafregional.NewWebAclAssociation(ctx, "fooWebAclAssociation", &wafregional.WebAclAssociationArgs{
ResourceArn: fooLoadBalancer.Arn,
WebAclId: fooWebAcl.ID(),
})
if err != nil {
return err
}
return nil
})
}API Gateway Association Example
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const ipset = new aws.wafregional.IpSet("ipset", {
ipSetDescriptors: [{
type: "IPV4",
value: "192.0.7.0/24",
}],
});
const fooRule = new aws.wafregional.Rule("foo", {
metricName: "tfWAFRule",
predicates: [{
dataId: ipset.id,
negated: false,
type: "IPMatch",
}],
});
const fooWebAcl = new aws.wafregional.WebAcl("foo", {
defaultAction: {
type: "ALLOW",
},
metricName: "foo",
rules: [{
action: {
type: "BLOCK",
},
priority: 1,
ruleId: fooRule.id,
}],
});
const testRestApi = new aws.apigateway.RestApi("test", {});
const testResource = new aws.apigateway.Resource("test", {
parentId: testRestApi.rootResourceId,
pathPart: "test",
restApi: testRestApi.id,
});
const testMethod = new aws.apigateway.Method("test", {
authorization: "NONE",
httpMethod: "GET",
resourceId: testResource.id,
restApi: testRestApi.id,
});
const testMethodResponse = new aws.apigateway.MethodResponse("test", {
httpMethod: testMethod.httpMethod,
resourceId: testResource.id,
restApi: testRestApi.id,
statusCode: "400",
});
const testIntegration = new aws.apigateway.Integration("test", {
httpMethod: testMethod.httpMethod,
integrationHttpMethod: "GET",
resourceId: testResource.id,
restApi: testRestApi.id,
type: "HTTP",
uri: "http://www.example.com",
});
const testIntegrationResponse = new aws.apigateway.IntegrationResponse("test", {
httpMethod: testIntegration.httpMethod,
resourceId: testResource.id,
restApi: testRestApi.id,
statusCode: testMethodResponse.statusCode,
});
const testDeployment = new aws.apigateway.Deployment("test", {
restApi: testRestApi.id,
}, { dependsOn: [testIntegrationResponse] });
const testStage = new aws.apigateway.Stage("test", {
deployment: testDeployment.id,
restApi: testRestApi.id,
stageName: "test",
});
const association = new aws.wafregional.WebAclAssociation("association", {
resourceArn: testStage.arn,
webAclId: fooWebAcl.id,
});import pulumi
import pulumi_aws as aws
ipset = aws.wafregional.IpSet("ipset", ip_set_descriptors=[{
"type": "IPV4",
"value": "192.0.7.0/24",
}])
foo_rule = aws.wafregional.Rule("fooRule",
metric_name="tfWAFRule",
predicates=[{
"dataId": ipset.id,
"negated": False,
"type": "IPMatch",
}])
foo_web_acl = aws.wafregional.WebAcl("fooWebAcl",
default_action={
"type": "ALLOW",
},
metric_name="foo",
rules=[{
"action": {
"type": "BLOCK",
},
"priority": 1,
"rule_id": foo_rule.id,
}])
test_rest_api = aws.apigateway.RestApi("testRestApi")
test_resource = aws.apigateway.Resource("testResource",
parent_id=test_rest_api.root_resource_id,
path_part="test",
rest_api=test_rest_api.id)
test_method = aws.apigateway.Method("testMethod",
authorization="NONE",
http_method="GET",
resource_id=test_resource.id,
rest_api=test_rest_api.id)
test_method_response = aws.apigateway.MethodResponse("testMethodResponse",
http_method=test_method.http_method,
resource_id=test_resource.id,
rest_api=test_rest_api.id,
status_code="400")
test_integration = aws.apigateway.Integration("testIntegration",
http_method=test_method.http_method,
integration_http_method="GET",
resource_id=test_resource.id,
rest_api=test_rest_api.id,
type="HTTP",
uri="http://www.example.com")
test_integration_response = aws.apigateway.IntegrationResponse("testIntegrationResponse",
http_method=test_integration.http_method,
resource_id=test_resource.id,
rest_api=test_rest_api.id,
status_code=test_method_response.status_code)
test_deployment = aws.apigateway.Deployment("testDeployment", rest_api=test_rest_api.id,
opts=ResourceOptions(depends_on=["aws_api_gateway_integration_response.test"]))
test_stage = aws.apigateway.Stage("testStage",
deployment=test_deployment.id,
rest_api=test_rest_api.id,
stage_name="test")
association = aws.wafregional.WebAclAssociation("association",
resource_arn=test_stage.arn,
web_acl_id=foo_web_acl.id)using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var ipset = new Aws.WafRegional.IpSet("ipset", new Aws.WafRegional.IpSetArgs
{
IpSetDescriptors =
{
new Aws.WafRegional.Inputs.IpSetIpSetDescriptorArgs
{
Type = "IPV4",
Value = "192.0.7.0/24",
},
},
});
var fooRule = new Aws.WafRegional.Rule("fooRule", new Aws.WafRegional.RuleArgs
{
MetricName = "tfWAFRule",
Predicates =
{
new Aws.WafRegional.Inputs.RulePredicateArgs
{
DataId = ipset.Id,
Negated = false,
Type = "IPMatch",
},
},
});
var fooWebAcl = new Aws.WafRegional.WebAcl("fooWebAcl", new Aws.WafRegional.WebAclArgs
{
DefaultAction = new Aws.WafRegional.Inputs.WebAclDefaultActionArgs
{
Type = "ALLOW",
},
MetricName = "foo",
Rules =
{
new Aws.WafRegional.Inputs.WebAclRuleArgs
{
Action = new Aws.WafRegional.Inputs.WebAclRuleActionArgs
{
Type = "BLOCK",
},
Priority = 1,
RuleId = fooRule.Id,
},
},
});
var testRestApi = new Aws.ApiGateway.RestApi("testRestApi", new Aws.ApiGateway.RestApiArgs
{
});
var testResource = new Aws.ApiGateway.Resource("testResource", new Aws.ApiGateway.ResourceArgs
{
ParentId = testRestApi.RootResourceId,
PathPart = "test",
RestApi = testRestApi.Id,
});
var testMethod = new Aws.ApiGateway.Method("testMethod", new Aws.ApiGateway.MethodArgs
{
Authorization = "NONE",
HttpMethod = "GET",
ResourceId = testResource.Id,
RestApi = testRestApi.Id,
});
var testMethodResponse = new Aws.ApiGateway.MethodResponse("testMethodResponse", new Aws.ApiGateway.MethodResponseArgs
{
HttpMethod = testMethod.HttpMethod,
ResourceId = testResource.Id,
RestApi = testRestApi.Id,
StatusCode = "400",
});
var testIntegration = new Aws.ApiGateway.Integration("testIntegration", new Aws.ApiGateway.IntegrationArgs
{
HttpMethod = testMethod.HttpMethod,
IntegrationHttpMethod = "GET",
ResourceId = testResource.Id,
RestApi = testRestApi.Id,
Type = "HTTP",
Uri = "http://www.example.com",
});
var testIntegrationResponse = new Aws.ApiGateway.IntegrationResponse("testIntegrationResponse", new Aws.ApiGateway.IntegrationResponseArgs
{
HttpMethod = testIntegration.HttpMethod,
ResourceId = testResource.Id,
RestApi = testRestApi.Id,
StatusCode = testMethodResponse.StatusCode,
});
var testDeployment = new Aws.ApiGateway.Deployment("testDeployment", new Aws.ApiGateway.DeploymentArgs
{
RestApi = testRestApi.Id,
}, new CustomResourceOptions
{
DependsOn =
{
"aws_api_gateway_integration_response.test",
},
});
var testStage = new Aws.ApiGateway.Stage("testStage", new Aws.ApiGateway.StageArgs
{
Deployment = testDeployment.Id,
RestApi = testRestApi.Id,
StageName = "test",
});
var association = new Aws.WafRegional.WebAclAssociation("association", new Aws.WafRegional.WebAclAssociationArgs
{
ResourceArn = testStage.Arn,
WebAclId = fooWebAcl.Id,
});
}
}
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/apigateway"
"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/wafregional"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
ipset, err := wafregional.NewIpSet(ctx, "ipset", &wafregional.IpSetArgs{
IpSetDescriptors: wafregional.IpSetIpSetDescriptorArray{
&wafregional.IpSetIpSetDescriptorArgs{
Type: pulumi.String("IPV4"),
Value: pulumi.String("192.0.7.0/24"),
},
},
})
if err != nil {
return err
}
fooRule, err := wafregional.NewRule(ctx, "fooRule", &wafregional.RuleArgs{
MetricName: pulumi.String("tfWAFRule"),
Predicates: wafregional.RulePredicateArray{
&wafregional.RulePredicateArgs{
DataId: ipset.ID(),
Negated: pulumi.Bool(false),
Type: pulumi.String("IPMatch"),
},
},
})
if err != nil {
return err
}
fooWebAcl, err := wafregional.NewWebAcl(ctx, "fooWebAcl", &wafregional.WebAclArgs{
DefaultAction: &wafregional.WebAclDefaultActionArgs{
Type: pulumi.String("ALLOW"),
},
MetricName: pulumi.String("foo"),
Rules: wafregional.WebAclRuleArray{
&wafregional.WebAclRuleArgs{
Action: &wafregional.WebAclRuleActionArgs{
Type: pulumi.String("BLOCK"),
},
Priority: pulumi.Int(1),
RuleId: fooRule.ID(),
},
},
})
if err != nil {
return err
}
testRestApi, err := apigateway.NewRestApi(ctx, "testRestApi", nil)
if err != nil {
return err
}
testResource, err := apigateway.NewResource(ctx, "testResource", &apigateway.ResourceArgs{
ParentId: testRestApi.RootResourceId,
PathPart: pulumi.String("test"),
RestApi: testRestApi.ID(),
})
if err != nil {
return err
}
testMethod, err := apigateway.NewMethod(ctx, "testMethod", &apigateway.MethodArgs{
Authorization: pulumi.String("NONE"),
HttpMethod: pulumi.String("GET"),
ResourceId: testResource.ID(),
RestApi: testRestApi.ID(),
})
if err != nil {
return err
}
testMethodResponse, err := apigateway.NewMethodResponse(ctx, "testMethodResponse", &apigateway.MethodResponseArgs{
HttpMethod: testMethod.HttpMethod,
ResourceId: testResource.ID(),
RestApi: testRestApi.ID(),
StatusCode: pulumi.String("400"),
})
if err != nil {
return err
}
testIntegration, err := apigateway.NewIntegration(ctx, "testIntegration", &apigateway.IntegrationArgs{
HttpMethod: testMethod.HttpMethod,
IntegrationHttpMethod: pulumi.String("GET"),
ResourceId: testResource.ID(),
RestApi: testRestApi.ID(),
Type: pulumi.String("HTTP"),
Uri: pulumi.String("http://www.example.com"),
})
if err != nil {
return err
}
_, err = apigateway.NewIntegrationResponse(ctx, "testIntegrationResponse", &apigateway.IntegrationResponseArgs{
HttpMethod: testIntegration.HttpMethod,
ResourceId: testResource.ID(),
RestApi: testRestApi.ID(),
StatusCode: testMethodResponse.StatusCode,
})
if err != nil {
return err
}
testDeployment, err := apigateway.NewDeployment(ctx, "testDeployment", &apigateway.DeploymentArgs{
RestApi: testRestApi.ID(),
}, pulumi.DependsOn([]pulumi.Resource{
"aws_api_gateway_integration_response.test",
}))
if err != nil {
return err
}
testStage, err := apigateway.NewStage(ctx, "testStage", &apigateway.StageArgs{
Deployment: testDeployment.ID(),
RestApi: testRestApi.ID(),
StageName: pulumi.String("test"),
})
if err != nil {
return err
}
_, err = wafregional.NewWebAclAssociation(ctx, "association", &wafregional.WebAclAssociationArgs{
ResourceArn: testStage.Arn,
WebAclId: fooWebAcl.ID(),
})
if err != nil {
return err
}
return nil
})
}Create a WebAclAssociation Resource
new WebAclAssociation(name: string, args: WebAclAssociationArgs, opts?: CustomResourceOptions);def WebAclAssociation(resource_name, opts=None, resource_arn=None, web_acl_id=None, __props__=None);func NewWebAclAssociation(ctx *Context, name string, args WebAclAssociationArgs, opts ...ResourceOption) (*WebAclAssociation, error)public WebAclAssociation(string name, WebAclAssociationArgs args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args WebAclAssociationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- opts ResourceOptions
- A bag of options that control this resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args WebAclAssociationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WebAclAssociationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
WebAclAssociation Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The WebAclAssociation resource accepts the following input properties:
- Resource
Arn string ARN of the resource to associate with. For example, an Application Load Balancer or API Gateway Stage.
- Web
Acl stringId The ID of the WAF Regional WebACL to create an association.
- Resource
Arn string ARN of the resource to associate with. For example, an Application Load Balancer or API Gateway Stage.
- Web
Acl stringId The ID of the WAF Regional WebACL to create an association.
- resource
Arn string ARN of the resource to associate with. For example, an Application Load Balancer or API Gateway Stage.
- web
Acl stringId The ID of the WAF Regional WebACL to create an association.
- resource_
arn str ARN of the resource to associate with. For example, an Application Load Balancer or API Gateway Stage.
- web_
acl_ strid The ID of the WAF Regional WebACL to create an association.
Outputs
All input properties are implicitly available as output properties. Additionally, the WebAclAssociation resource produces the following output properties:
Look up an Existing WebAclAssociation Resource
Get an existing WebAclAssociation resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: WebAclAssociationState, opts?: CustomResourceOptions): WebAclAssociationstatic get(resource_name, id, opts=None, resource_arn=None, web_acl_id=None, __props__=None);func GetWebAclAssociation(ctx *Context, name string, id IDInput, state *WebAclAssociationState, opts ...ResourceOption) (*WebAclAssociation, error)public static WebAclAssociation Get(string name, Input<string> id, WebAclAssociationState? state, CustomResourceOptions? opts = null)- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
The following state arguments are supported:
- Resource
Arn string ARN of the resource to associate with. For example, an Application Load Balancer or API Gateway Stage.
- Web
Acl stringId The ID of the WAF Regional WebACL to create an association.
- Resource
Arn string ARN of the resource to associate with. For example, an Application Load Balancer or API Gateway Stage.
- Web
Acl stringId The ID of the WAF Regional WebACL to create an association.
- resource
Arn string ARN of the resource to associate with. For example, an Application Load Balancer or API Gateway Stage.
- web
Acl stringId The ID of the WAF Regional WebACL to create an association.
- resource_
arn str ARN of the resource to associate with. For example, an Application Load Balancer or API Gateway Stage.
- web_
acl_ strid The ID of the WAF Regional WebACL to create an association.
Package Details
- Repository
- https://github.com/pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
awsTerraform Provider.