WebAcl
Provides a WAF Web ACL Resource
Example Usage
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var ipset = new Aws.Waf.IpSet("ipset", new Aws.Waf.IpSetArgs
{
IpSetDescriptors =
{
new Aws.Waf.Inputs.IpSetIpSetDescriptorArgs
{
Type = "IPV4",
Value = "192.0.7.0/24",
},
},
});
var wafrule = new Aws.Waf.Rule("wafrule", new Aws.Waf.RuleArgs
{
MetricName = "tfWAFRule",
Predicates =
{
new Aws.Waf.Inputs.RulePredicateArgs
{
DataId = ipset.Id,
Negated = false,
Type = "IPMatch",
},
},
}, new CustomResourceOptions
{
DependsOn =
{
"aws_waf_ipset.ipset",
},
});
var wafAcl = new Aws.Waf.WebAcl("wafAcl", new Aws.Waf.WebAclArgs
{
DefaultAction = new Aws.Waf.Inputs.WebAclDefaultActionArgs
{
Type = "ALLOW",
},
MetricName = "tfWebACL",
Rules =
{
new Aws.Waf.Inputs.WebAclRuleArgs
{
Action = new Aws.Waf.Inputs.WebAclRuleActionArgs
{
Type = "BLOCK",
},
Priority = 1,
RuleId = wafrule.Id,
Type = "REGULAR",
},
},
}, new CustomResourceOptions
{
DependsOn =
{
"aws_waf_ipset.ipset",
"aws_waf_rule.wafrule",
},
});
}
}
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/waf"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
ipset, err := waf.NewIpSet(ctx, "ipset", &waf.IpSetArgs{
IpSetDescriptors: waf.IpSetIpSetDescriptorArray{
&waf.IpSetIpSetDescriptorArgs{
Type: pulumi.String("IPV4"),
Value: pulumi.String("192.0.7.0/24"),
},
},
})
if err != nil {
return err
}
wafrule, err := waf.NewRule(ctx, "wafrule", &waf.RuleArgs{
MetricName: pulumi.String("tfWAFRule"),
Predicates: waf.RulePredicateArray{
&waf.RulePredicateArgs{
DataId: ipset.ID(),
Negated: pulumi.Bool(false),
Type: pulumi.String("IPMatch"),
},
},
}, pulumi.DependsOn([]pulumi.Resource{
"aws_waf_ipset.ipset",
}))
if err != nil {
return err
}
_, err = waf.NewWebAcl(ctx, "wafAcl", &waf.WebAclArgs{
DefaultAction: &waf.WebAclDefaultActionArgs{
Type: pulumi.String("ALLOW"),
},
MetricName: pulumi.String("tfWebACL"),
Rules: waf.WebAclRuleArray{
&waf.WebAclRuleArgs{
Action: &waf.WebAclRuleActionArgs{
Type: pulumi.String("BLOCK"),
},
Priority: pulumi.Int(1),
RuleId: wafrule.ID(),
Type: pulumi.String("REGULAR"),
},
},
}, pulumi.DependsOn([]pulumi.Resource{
"aws_waf_ipset.ipset",
"aws_waf_rule.wafrule",
}))
if err != nil {
return err
}
return nil
})
}import pulumi
import pulumi_aws as aws
ipset = aws.waf.IpSet("ipset", ip_set_descriptors=[{
"type": "IPV4",
"value": "192.0.7.0/24",
}])
wafrule = aws.waf.Rule("wafrule",
metric_name="tfWAFRule",
predicates=[{
"dataId": ipset.id,
"negated": False,
"type": "IPMatch",
}],
opts=ResourceOptions(depends_on=["aws_waf_ipset.ipset"]))
waf_acl = aws.waf.WebAcl("wafAcl",
default_action={
"type": "ALLOW",
},
metric_name="tfWebACL",
rules=[{
"action": {
"type": "BLOCK",
},
"priority": 1,
"rule_id": wafrule.id,
"type": "REGULAR",
}],
opts=ResourceOptions(depends_on=[
"aws_waf_ipset.ipset",
"aws_waf_rule.wafrule",
]))import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const ipset = new aws.waf.IpSet("ipset", {
ipSetDescriptors: [{
type: "IPV4",
value: "192.0.7.0/24",
}],
});
const wafrule = new aws.waf.Rule("wafrule", {
metricName: "tfWAFRule",
predicates: [{
dataId: ipset.id,
negated: false,
type: "IPMatch",
}],
}, { dependsOn: [ipset] });
const wafAcl = new aws.waf.WebAcl("waf_acl", {
defaultAction: {
type: "ALLOW",
},
metricName: "tfWebACL",
rules: [{
action: {
type: "BLOCK",
},
priority: 1,
ruleId: wafrule.id,
type: "REGULAR",
}],
}, { dependsOn: [ipset, wafrule] });Logging
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var example = new Aws.Waf.WebAcl("example", new Aws.Waf.WebAclArgs
{
LoggingConfiguration = new Aws.Waf.Inputs.WebAclLoggingConfigurationArgs
{
LogDestination = aws_kinesis_firehose_delivery_stream.Example.Arn,
RedactedFields = new Aws.Waf.Inputs.WebAclLoggingConfigurationRedactedFieldsArgs
{
FieldToMatch =
{
{
{ "type", "URI" },
},
{
{ "data", "referer" },
{ "type", "HEADER" },
},
},
},
},
});
}
}
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/waf"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := waf.NewWebAcl(ctx, "example", &waf.WebAclArgs{
LoggingConfiguration: &waf.WebAclLoggingConfigurationArgs{
LogDestination: pulumi.String(aws_kinesis_firehose_delivery_stream.Example.Arn),
RedactedFields: &waf.WebAclLoggingConfigurationRedactedFieldsArgs{
FieldToMatch: pulumi.Array{
pulumi.StringMap{
"type": pulumi.String("URI"),
},
pulumi.StringMap{
"data": pulumi.String("referer"),
"type": pulumi.String("HEADER"),
},
},
},
},
})
if err != nil {
return err
}
return nil
})
}import pulumi
import pulumi_aws as aws
example = aws.waf.WebAcl("example", logging_configuration={
"log_destination": aws_kinesis_firehose_delivery_stream["example"]["arn"],
"redactedFields": {
"fieldToMatch": [
{
"type": "URI",
},
{
"data": "referer",
"type": "HEADER",
},
],
},
})import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.waf.WebAcl("example", {
// ... other configuration ...
loggingConfiguration: {
logDestination: aws_kinesis_firehose_delivery_stream_example.arn,
redactedFields: {
fieldToMatches: [
{
type: "URI",
},
{
data: "referer",
type: "HEADER",
},
],
},
},
});Create a WebAcl Resource
new WebAcl(name: string, args: WebAclArgs, opts?: CustomResourceOptions);def WebAcl(resource_name, opts=None, default_action=None, logging_configuration=None, metric_name=None, name=None, rules=None, tags=None, __props__=None);func NewWebAcl(ctx *Context, name string, args WebAclArgs, opts ...ResourceOption) (*WebAcl, error)public WebAcl(string name, WebAclArgs args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args WebAclArgs
- 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 WebAclArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WebAclArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
WebAcl Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The WebAcl resource accepts the following input properties:
- Default
Action WebAcl Default Action Args Configuration block with action that you want AWS WAF to take when a request doesn’t match the criteria in any of the rules that are associated with the web ACL. Detailed below.
- Metric
Name string The name or description for the Amazon CloudWatch metric of this web ACL.
- Logging
Configuration WebAcl Logging Configuration Args Configuration block to enable WAF logging. Detailed below.
- Name string
The name or description of the web ACL.
- Rules
List<Web
Acl Rule Args> Configuration blocks containing rules to associate with the web ACL and the settings for each rule. Detailed below.
- Dictionary<string, string>
Key-value map of resource tags
- Default
Action WebAcl Default Action Configuration block with action that you want AWS WAF to take when a request doesn’t match the criteria in any of the rules that are associated with the web ACL. Detailed below.
- Metric
Name string The name or description for the Amazon CloudWatch metric of this web ACL.
- Logging
Configuration WebAcl Logging Configuration Configuration block to enable WAF logging. Detailed below.
- Name string
The name or description of the web ACL.
- Rules
[]Web
Acl Rule Configuration blocks containing rules to associate with the web ACL and the settings for each rule. Detailed below.
- map[string]string
Key-value map of resource tags
- default
Action WebAcl Default Action Configuration block with action that you want AWS WAF to take when a request doesn’t match the criteria in any of the rules that are associated with the web ACL. Detailed below.
- metric
Name string The name or description for the Amazon CloudWatch metric of this web ACL.
- logging
Configuration WebAcl Logging Configuration Configuration block to enable WAF logging. Detailed below.
- name string
The name or description of the web ACL.
- rules
Web
Acl Rule[] Configuration blocks containing rules to associate with the web ACL and the settings for each rule. Detailed below.
- {[key: string]: string}
Key-value map of resource tags
- default_
action Dict[WebAcl Default Action] Configuration block with action that you want AWS WAF to take when a request doesn’t match the criteria in any of the rules that are associated with the web ACL. Detailed below.
- metric_
name str The name or description for the Amazon CloudWatch metric of this web ACL.
- logging_
configuration Dict[WebAcl Logging Configuration] Configuration block to enable WAF logging. Detailed below.
- name str
The name or description of the web ACL.
- rules
List[Web
Acl Rule] Configuration blocks containing rules to associate with the web ACL and the settings for each rule. Detailed below.
- Dict[str, str]
Key-value map of resource tags
Outputs
All input properties are implicitly available as output properties. Additionally, the WebAcl resource produces the following output properties:
Look up an Existing WebAcl Resource
Get an existing WebAcl 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?: WebAclState, opts?: CustomResourceOptions): WebAclstatic get(resource_name, id, opts=None, arn=None, default_action=None, logging_configuration=None, metric_name=None, name=None, rules=None, tags=None, __props__=None);func GetWebAcl(ctx *Context, name string, id IDInput, state *WebAclState, opts ...ResourceOption) (*WebAcl, error)public static WebAcl Get(string name, Input<string> id, WebAclState? 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:
- Arn string
The ARN of the WAF WebACL.
- Default
Action WebAcl Default Action Args Configuration block with action that you want AWS WAF to take when a request doesn’t match the criteria in any of the rules that are associated with the web ACL. Detailed below.
- Logging
Configuration WebAcl Logging Configuration Args Configuration block to enable WAF logging. Detailed below.
- Metric
Name string The name or description for the Amazon CloudWatch metric of this web ACL.
- Name string
The name or description of the web ACL.
- Rules
List<Web
Acl Rule Args> Configuration blocks containing rules to associate with the web ACL and the settings for each rule. Detailed below.
- Dictionary<string, string>
Key-value map of resource tags
- Arn string
The ARN of the WAF WebACL.
- Default
Action WebAcl Default Action Configuration block with action that you want AWS WAF to take when a request doesn’t match the criteria in any of the rules that are associated with the web ACL. Detailed below.
- Logging
Configuration WebAcl Logging Configuration Configuration block to enable WAF logging. Detailed below.
- Metric
Name string The name or description for the Amazon CloudWatch metric of this web ACL.
- Name string
The name or description of the web ACL.
- Rules
[]Web
Acl Rule Configuration blocks containing rules to associate with the web ACL and the settings for each rule. Detailed below.
- map[string]string
Key-value map of resource tags
- arn string
The ARN of the WAF WebACL.
- default
Action WebAcl Default Action Configuration block with action that you want AWS WAF to take when a request doesn’t match the criteria in any of the rules that are associated with the web ACL. Detailed below.
- logging
Configuration WebAcl Logging Configuration Configuration block to enable WAF logging. Detailed below.
- metric
Name string The name or description for the Amazon CloudWatch metric of this web ACL.
- name string
The name or description of the web ACL.
- rules
Web
Acl Rule[] Configuration blocks containing rules to associate with the web ACL and the settings for each rule. Detailed below.
- {[key: string]: string}
Key-value map of resource tags
- arn str
The ARN of the WAF WebACL.
- default_
action Dict[WebAcl Default Action] Configuration block with action that you want AWS WAF to take when a request doesn’t match the criteria in any of the rules that are associated with the web ACL. Detailed below.
- logging_
configuration Dict[WebAcl Logging Configuration] Configuration block to enable WAF logging. Detailed below.
- metric_
name str The name or description for the Amazon CloudWatch metric of this web ACL.
- name str
The name or description of the web ACL.
- rules
List[Web
Acl Rule] Configuration blocks containing rules to associate with the web ACL and the settings for each rule. Detailed below.
- Dict[str, str]
Key-value map of resource tags
Supporting Types
WebAclDefaultAction
- Type string
The rule type, either
REGULAR, as defined by Rule,RATE_BASED, as defined by RateBasedRule, orGROUP, as defined by RuleGroup. The default is REGULAR. If you add a RATE_BASED rule, you need to settypeasRATE_BASED. If you add a GROUP rule, you need to settypeasGROUP.
- Type string
The rule type, either
REGULAR, as defined by Rule,RATE_BASED, as defined by RateBasedRule, orGROUP, as defined by RuleGroup. The default is REGULAR. If you add a RATE_BASED rule, you need to settypeasRATE_BASED. If you add a GROUP rule, you need to settypeasGROUP.
- type string
The rule type, either
REGULAR, as defined by Rule,RATE_BASED, as defined by RateBasedRule, orGROUP, as defined by RuleGroup. The default is REGULAR. If you add a RATE_BASED rule, you need to settypeasRATE_BASED. If you add a GROUP rule, you need to settypeasGROUP.
- type str
The rule type, either
REGULAR, as defined by Rule,RATE_BASED, as defined by RateBasedRule, orGROUP, as defined by RuleGroup. The default is REGULAR. If you add a RATE_BASED rule, you need to settypeasRATE_BASED. If you add a GROUP rule, you need to settypeasGROUP.
WebAclLoggingConfiguration
- Log
Destination string Amazon Resource Name (ARN) of Kinesis Firehose Delivery Stream
- Redacted
Fields WebAcl Logging Configuration Redacted Fields Args Configuration block containing parts of the request that you want redacted from the logs. Detailed below.
- Log
Destination string Amazon Resource Name (ARN) of Kinesis Firehose Delivery Stream
- Redacted
Fields WebAcl Logging Configuration Redacted Fields Configuration block containing parts of the request that you want redacted from the logs. Detailed below.
- log
Destination string Amazon Resource Name (ARN) of Kinesis Firehose Delivery Stream
- redacted
Fields WebAcl Logging Configuration Redacted Fields Configuration block containing parts of the request that you want redacted from the logs. Detailed below.
- log_
destination str Amazon Resource Name (ARN) of Kinesis Firehose Delivery Stream
- redacted
Fields Dict[WebAcl Logging Configuration Redacted Fields] Configuration block containing parts of the request that you want redacted from the logs. Detailed below.
WebAclLoggingConfigurationRedactedFields
- Field
To List<WebMatches Acl Logging Configuration Redacted Fields Field To Match Args> Set of configuration blocks for fields to redact. Detailed below.
- Field
To []WebMatches Acl Logging Configuration Redacted Fields Field To Match Set of configuration blocks for fields to redact. Detailed below.
- field
To WebMatches Acl Logging Configuration Redacted Fields Field To Match[] Set of configuration blocks for fields to redact. Detailed below.
- field
To List[WebMatches Acl Logging Configuration Redacted Fields Field To Match] Set of configuration blocks for fields to redact. Detailed below.
WebAclLoggingConfigurationRedactedFieldsFieldToMatch
- Type string
The rule type, either
REGULAR, as defined by Rule,RATE_BASED, as defined by RateBasedRule, orGROUP, as defined by RuleGroup. The default is REGULAR. If you add a RATE_BASED rule, you need to settypeasRATE_BASED. If you add a GROUP rule, you need to settypeasGROUP.- Data string
When the value of
typeisHEADER, enter the name of the header that you want the WAF to search, for example,User-AgentorReferer. If the value oftypeis any other value, omitdata.
- Type string
The rule type, either
REGULAR, as defined by Rule,RATE_BASED, as defined by RateBasedRule, orGROUP, as defined by RuleGroup. The default is REGULAR. If you add a RATE_BASED rule, you need to settypeasRATE_BASED. If you add a GROUP rule, you need to settypeasGROUP.- Data string
When the value of
typeisHEADER, enter the name of the header that you want the WAF to search, for example,User-AgentorReferer. If the value oftypeis any other value, omitdata.
- type string
The rule type, either
REGULAR, as defined by Rule,RATE_BASED, as defined by RateBasedRule, orGROUP, as defined by RuleGroup. The default is REGULAR. If you add a RATE_BASED rule, you need to settypeasRATE_BASED. If you add a GROUP rule, you need to settypeasGROUP.- data string
When the value of
typeisHEADER, enter the name of the header that you want the WAF to search, for example,User-AgentorReferer. If the value oftypeis any other value, omitdata.
- type str
The rule type, either
REGULAR, as defined by Rule,RATE_BASED, as defined by RateBasedRule, orGROUP, as defined by RuleGroup. The default is REGULAR. If you add a RATE_BASED rule, you need to settypeasRATE_BASED. If you add a GROUP rule, you need to settypeasGROUP.- data str
When the value of
typeisHEADER, enter the name of the header that you want the WAF to search, for example,User-AgentorReferer. If the value oftypeis any other value, omitdata.
WebAclRule
- Priority int
Specifies the order in which the rules in a WebACL are evaluated. Rules with a lower value are evaluated before rules with a higher value.
- Rule
Id string ID of the associated WAF (Global) rule (e.g.
aws.waf.Rule). WAF (Regional) rules cannot be used.- Action
Web
Acl Rule Action Args The action that CloudFront or AWS WAF takes when a web request matches the conditions in the rule. Not used if
typeisGROUP.- Override
Action WebAcl Rule Override Action Args Override the action that a group requests CloudFront or AWS WAF takes when a web request matches the conditions in the rule. Only used if
typeisGROUP.- Type string
The rule type, either
REGULAR, as defined by Rule,RATE_BASED, as defined by RateBasedRule, orGROUP, as defined by RuleGroup. The default is REGULAR. If you add a RATE_BASED rule, you need to settypeasRATE_BASED. If you add a GROUP rule, you need to settypeasGROUP.
- Priority int
Specifies the order in which the rules in a WebACL are evaluated. Rules with a lower value are evaluated before rules with a higher value.
- Rule
Id string ID of the associated WAF (Global) rule (e.g.
aws.waf.Rule). WAF (Regional) rules cannot be used.- Action
Web
Acl Rule Action The action that CloudFront or AWS WAF takes when a web request matches the conditions in the rule. Not used if
typeisGROUP.- Override
Action WebAcl Rule Override Action Override the action that a group requests CloudFront or AWS WAF takes when a web request matches the conditions in the rule. Only used if
typeisGROUP.- Type string
The rule type, either
REGULAR, as defined by Rule,RATE_BASED, as defined by RateBasedRule, orGROUP, as defined by RuleGroup. The default is REGULAR. If you add a RATE_BASED rule, you need to settypeasRATE_BASED. If you add a GROUP rule, you need to settypeasGROUP.
- priority number
Specifies the order in which the rules in a WebACL are evaluated. Rules with a lower value are evaluated before rules with a higher value.
- rule
Id string ID of the associated WAF (Global) rule (e.g.
aws.waf.Rule). WAF (Regional) rules cannot be used.- action
Web
Acl Rule Action The action that CloudFront or AWS WAF takes when a web request matches the conditions in the rule. Not used if
typeisGROUP.- override
Action WebAcl Rule Override Action Override the action that a group requests CloudFront or AWS WAF takes when a web request matches the conditions in the rule. Only used if
typeisGROUP.- type string
The rule type, either
REGULAR, as defined by Rule,RATE_BASED, as defined by RateBasedRule, orGROUP, as defined by RuleGroup. The default is REGULAR. If you add a RATE_BASED rule, you need to settypeasRATE_BASED. If you add a GROUP rule, you need to settypeasGROUP.
- priority float
Specifies the order in which the rules in a WebACL are evaluated. Rules with a lower value are evaluated before rules with a higher value.
- rule_
id str ID of the associated WAF (Global) rule (e.g.
aws.waf.Rule). WAF (Regional) rules cannot be used.- action
Dict[Web
Acl Rule Action] The action that CloudFront or AWS WAF takes when a web request matches the conditions in the rule. Not used if
typeisGROUP.- override
Action Dict[WebAcl Rule Override Action] Override the action that a group requests CloudFront or AWS WAF takes when a web request matches the conditions in the rule. Only used if
typeisGROUP.- type str
The rule type, either
REGULAR, as defined by Rule,RATE_BASED, as defined by RateBasedRule, orGROUP, as defined by RuleGroup. The default is REGULAR. If you add a RATE_BASED rule, you need to settypeasRATE_BASED. If you add a GROUP rule, you need to settypeasGROUP.
WebAclRuleAction
- Type string
The rule type, either
REGULAR, as defined by Rule,RATE_BASED, as defined by RateBasedRule, orGROUP, as defined by RuleGroup. The default is REGULAR. If you add a RATE_BASED rule, you need to settypeasRATE_BASED. If you add a GROUP rule, you need to settypeasGROUP.
- Type string
The rule type, either
REGULAR, as defined by Rule,RATE_BASED, as defined by RateBasedRule, orGROUP, as defined by RuleGroup. The default is REGULAR. If you add a RATE_BASED rule, you need to settypeasRATE_BASED. If you add a GROUP rule, you need to settypeasGROUP.
- type string
The rule type, either
REGULAR, as defined by Rule,RATE_BASED, as defined by RateBasedRule, orGROUP, as defined by RuleGroup. The default is REGULAR. If you add a RATE_BASED rule, you need to settypeasRATE_BASED. If you add a GROUP rule, you need to settypeasGROUP.
- type str
The rule type, either
REGULAR, as defined by Rule,RATE_BASED, as defined by RateBasedRule, orGROUP, as defined by RuleGroup. The default is REGULAR. If you add a RATE_BASED rule, you need to settypeasRATE_BASED. If you add a GROUP rule, you need to settypeasGROUP.
WebAclRuleOverrideAction
- Type string
The rule type, either
REGULAR, as defined by Rule,RATE_BASED, as defined by RateBasedRule, orGROUP, as defined by RuleGroup. The default is REGULAR. If you add a RATE_BASED rule, you need to settypeasRATE_BASED. If you add a GROUP rule, you need to settypeasGROUP.
- Type string
The rule type, either
REGULAR, as defined by Rule,RATE_BASED, as defined by RateBasedRule, orGROUP, as defined by RuleGroup. The default is REGULAR. If you add a RATE_BASED rule, you need to settypeasRATE_BASED. If you add a GROUP rule, you need to settypeasGROUP.
- type string
The rule type, either
REGULAR, as defined by Rule,RATE_BASED, as defined by RateBasedRule, orGROUP, as defined by RuleGroup. The default is REGULAR. If you add a RATE_BASED rule, you need to settypeasRATE_BASED. If you add a GROUP rule, you need to settypeasGROUP.
- type str
The rule type, either
REGULAR, as defined by Rule,RATE_BASED, as defined by RateBasedRule, orGROUP, as defined by RuleGroup. The default is REGULAR. If you add a RATE_BASED rule, you need to settypeasRATE_BASED. If you add a GROUP rule, you need to settypeasGROUP.
Package Details
- Repository
- https://github.com/pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
awsTerraform Provider.