We recommend new projects start with resources from the AWS provider.
aws-native.wafv2.getRegexPatternSet
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
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 .
Using getRegexPatternSet
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getRegexPatternSet(args: GetRegexPatternSetArgs, opts?: InvokeOptions): Promise<GetRegexPatternSetResult>
function getRegexPatternSetOutput(args: GetRegexPatternSetOutputArgs, opts?: InvokeOptions): Output<GetRegexPatternSetResult>
def get_regex_pattern_set(id: Optional[str] = None,
name: Optional[str] = None,
scope: Optional[RegexPatternSetScope] = None,
opts: Optional[InvokeOptions] = None) -> GetRegexPatternSetResult
def get_regex_pattern_set_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
scope: Optional[pulumi.Input[RegexPatternSetScope]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRegexPatternSetResult]
func LookupRegexPatternSet(ctx *Context, args *LookupRegexPatternSetArgs, opts ...InvokeOption) (*LookupRegexPatternSetResult, error)
func LookupRegexPatternSetOutput(ctx *Context, args *LookupRegexPatternSetOutputArgs, opts ...InvokeOption) LookupRegexPatternSetResultOutput
> Note: This function is named LookupRegexPatternSet
in the Go SDK.
public static class GetRegexPatternSet
{
public static Task<GetRegexPatternSetResult> InvokeAsync(GetRegexPatternSetArgs args, InvokeOptions? opts = null)
public static Output<GetRegexPatternSetResult> Invoke(GetRegexPatternSetInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetRegexPatternSetResult> getRegexPatternSet(GetRegexPatternSetArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:wafv2:getRegexPatternSet
arguments:
# arguments dictionary
The following arguments are supported:
- Id string
- Id of the RegexPatternSet
- Name string
- Name of the RegexPatternSet.
- Scope
Pulumi.
Aws Native. Wa Fv2. Regex Pattern Set Scope - Use CLOUDFRONT for CloudFront RegexPatternSet, use REGIONAL for Application Load Balancer and API Gateway.
- Id string
- Id of the RegexPatternSet
- Name string
- Name of the RegexPatternSet.
- Scope
Regex
Pattern Set Scope - Use CLOUDFRONT for CloudFront RegexPatternSet, use REGIONAL for Application Load Balancer and API Gateway.
- id String
- Id of the RegexPatternSet
- name String
- Name of the RegexPatternSet.
- scope
Regex
Pattern Set Scope - Use CLOUDFRONT for CloudFront RegexPatternSet, use REGIONAL for Application Load Balancer and API Gateway.
- id string
- Id of the RegexPatternSet
- name string
- Name of the RegexPatternSet.
- scope
Regex
Pattern Set Scope - Use CLOUDFRONT for CloudFront RegexPatternSet, use REGIONAL for Application Load Balancer and API Gateway.
- id str
- Id of the RegexPatternSet
- name str
- Name of the RegexPatternSet.
- scope
Regex
Pattern Set Scope - Use CLOUDFRONT for CloudFront RegexPatternSet, use REGIONAL for Application Load Balancer and API Gateway.
- id String
- Id of the RegexPatternSet
- name String
- Name of the RegexPatternSet.
- scope "CLOUDFRONT" | "REGIONAL"
- Use CLOUDFRONT for CloudFront RegexPatternSet, use REGIONAL for Application Load Balancer and API Gateway.
getRegexPatternSet Result
The following output properties are available:
- Arn string
- ARN of the WAF entity.
- Description string
- Description of the entity.
- Id string
- Id of the RegexPatternSet
- Regular
Expression List<string>List - The regular expression patterns in the set.
- List<Pulumi.
Aws Native. Outputs. Tag> Key:value pairs associated with an AWS resource. The key:value pair can be anything you define. Typically, the tag key represents a category (such as "environment") and the tag value represents a specific value within that category (such as "test," "development," or "production"). You can add up to 50 tags to each AWS resource.
To modify tags on existing resources, use the AWS WAF APIs or command line interface. With AWS CloudFormation , you can only add tags to AWS WAF resources during resource creation.
- Arn string
- ARN of the WAF entity.
- Description string
- Description of the entity.
- Id string
- Id of the RegexPatternSet
- Regular
Expression []stringList - The regular expression patterns in the set.
- Tag
Key:value pairs associated with an AWS resource. The key:value pair can be anything you define. Typically, the tag key represents a category (such as "environment") and the tag value represents a specific value within that category (such as "test," "development," or "production"). You can add up to 50 tags to each AWS resource.
To modify tags on existing resources, use the AWS WAF APIs or command line interface. With AWS CloudFormation , you can only add tags to AWS WAF resources during resource creation.
- arn String
- ARN of the WAF entity.
- description String
- Description of the entity.
- id String
- Id of the RegexPatternSet
- regular
Expression List<String>List - The regular expression patterns in the set.
- List<Tag>
Key:value pairs associated with an AWS resource. The key:value pair can be anything you define. Typically, the tag key represents a category (such as "environment") and the tag value represents a specific value within that category (such as "test," "development," or "production"). You can add up to 50 tags to each AWS resource.
To modify tags on existing resources, use the AWS WAF APIs or command line interface. With AWS CloudFormation , you can only add tags to AWS WAF resources during resource creation.
- arn string
- ARN of the WAF entity.
- description string
- Description of the entity.
- id string
- Id of the RegexPatternSet
- regular
Expression string[]List - The regular expression patterns in the set.
- Tag[]
Key:value pairs associated with an AWS resource. The key:value pair can be anything you define. Typically, the tag key represents a category (such as "environment") and the tag value represents a specific value within that category (such as "test," "development," or "production"). You can add up to 50 tags to each AWS resource.
To modify tags on existing resources, use the AWS WAF APIs or command line interface. With AWS CloudFormation , you can only add tags to AWS WAF resources during resource creation.
- arn str
- ARN of the WAF entity.
- description str
- Description of the entity.
- id str
- Id of the RegexPatternSet
- regular_
expression_ Sequence[str]list - The regular expression patterns in the set.
- Sequence[root_Tag]
Key:value pairs associated with an AWS resource. The key:value pair can be anything you define. Typically, the tag key represents a category (such as "environment") and the tag value represents a specific value within that category (such as "test," "development," or "production"). You can add up to 50 tags to each AWS resource.
To modify tags on existing resources, use the AWS WAF APIs or command line interface. With AWS CloudFormation , you can only add tags to AWS WAF resources during resource creation.
- arn String
- ARN of the WAF entity.
- description String
- Description of the entity.
- id String
- Id of the RegexPatternSet
- regular
Expression List<String>List - The regular expression patterns in the set.
- List<Property Map>
Key:value pairs associated with an AWS resource. The key:value pair can be anything you define. Typically, the tag key represents a category (such as "environment") and the tag value represents a specific value within that category (such as "test," "development," or "production"). You can add up to 50 tags to each AWS resource.
To modify tags on existing resources, use the AWS WAF APIs or command line interface. With AWS CloudFormation , you can only add tags to AWS WAF resources during resource creation.
Supporting Types
RegexPatternSetScope
Tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.