AWS Native is in preview. AWS Classic is fully supported.
aws-native.wafv2.RegexPatternSet
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
Contains a list of Regular expressions based on the provided inputs. RegexPatternSet can be used with other WAF entities with RegexPatternSetReferenceStatement to perform other actions .
Create RegexPatternSet Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new RegexPatternSet(name: string, args: RegexPatternSetArgs, opts?: CustomResourceOptions);
@overload
def RegexPatternSet(resource_name: str,
args: RegexPatternSetArgs,
opts: Optional[ResourceOptions] = None)
@overload
def RegexPatternSet(resource_name: str,
opts: Optional[ResourceOptions] = None,
regular_expression_list: Optional[Sequence[str]] = None,
scope: Optional[RegexPatternSetScope] = None,
description: Optional[str] = None,
name: Optional[str] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
func NewRegexPatternSet(ctx *Context, name string, args RegexPatternSetArgs, opts ...ResourceOption) (*RegexPatternSet, error)
public RegexPatternSet(string name, RegexPatternSetArgs args, CustomResourceOptions? opts = null)
public RegexPatternSet(String name, RegexPatternSetArgs args)
public RegexPatternSet(String name, RegexPatternSetArgs args, CustomResourceOptions options)
type: aws-native:wafv2:RegexPatternSet
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args RegexPatternSetArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args RegexPatternSetArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args RegexPatternSetArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RegexPatternSetArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RegexPatternSetArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Example
The following reference example uses placeholder values for all input properties.
Coming soon!
Coming soon!
Coming soon!
Coming soon!
const regexPatternSetResource = new aws_native.wafv2.RegexPatternSet("regexPatternSetResource", {
regularExpressionList: ["string"],
scope: aws_native.wafv2.RegexPatternSetScope.Cloudfront,
description: "string",
name: "string",
tags: [{
key: "string",
value: "string",
}],
});
Coming soon!
RegexPatternSet Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The RegexPatternSet resource accepts the following input properties:
- Regular
Expression List<string>List - Scope
Pulumi.
Aws Native. Wa Fv2. Regex Pattern Set Scope - Use CLOUDFRONT for CloudFront RegexPatternSet, use REGIONAL for Application Load Balancer and API Gateway.
- Description string
- Description of the entity.
- Name string
- Name of the RegexPatternSet.
- List<Pulumi.
Aws Native. Inputs. Tag>
- Regular
Expression []stringList - Scope
Regex
Pattern Set Scope - Use CLOUDFRONT for CloudFront RegexPatternSet, use REGIONAL for Application Load Balancer and API Gateway.
- Description string
- Description of the entity.
- Name string
- Name of the RegexPatternSet.
- Tag
Args
- regular
Expression List<String>List - scope
Regex
Pattern Set Scope - Use CLOUDFRONT for CloudFront RegexPatternSet, use REGIONAL for Application Load Balancer and API Gateway.
- description String
- Description of the entity.
- name String
- Name of the RegexPatternSet.
- List<Tag>
- regular
Expression string[]List - scope
Regex
Pattern Set Scope - Use CLOUDFRONT for CloudFront RegexPatternSet, use REGIONAL for Application Load Balancer and API Gateway.
- description string
- Description of the entity.
- name string
- Name of the RegexPatternSet.
- Tag[]
- regular_
expression_ Sequence[str]list - scope
Regex
Pattern Set Scope - Use CLOUDFRONT for CloudFront RegexPatternSet, use REGIONAL for Application Load Balancer and API Gateway.
- description str
- Description of the entity.
- name str
- Name of the RegexPatternSet.
- Sequence[Tag
Args]
- regular
Expression List<String>List - scope "CLOUDFRONT" | "REGIONAL"
- Use CLOUDFRONT for CloudFront RegexPatternSet, use REGIONAL for Application Load Balancer and API Gateway.
- description String
- Description of the entity.
- name String
- Name of the RegexPatternSet.
- List<Property Map>
Outputs
All input properties are implicitly available as output properties. Additionally, the RegexPatternSet resource produces the following output properties:
Supporting Types
RegexPatternSetScope, RegexPatternSetScopeArgs
- Cloudfront
- CLOUDFRONT
- Regional
- REGIONAL
- Regex
Pattern Set Scope Cloudfront - CLOUDFRONT
- Regex
Pattern Set Scope Regional - REGIONAL
- Cloudfront
- CLOUDFRONT
- Regional
- REGIONAL
- Cloudfront
- CLOUDFRONT
- Regional
- REGIONAL
- CLOUDFRONT
- CLOUDFRONT
- REGIONAL
- REGIONAL
- "CLOUDFRONT"
- CLOUDFRONT
- "REGIONAL"
- REGIONAL
Tag, TagArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.