1. Packages
  2. AWS Native
  3. API Docs
  4. wafv2
  5. getRegexPatternSet

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.103.0 published on Monday, Apr 22, 2024 by Pulumi

aws-native.wafv2.getRegexPatternSet

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.103.0 published on Monday, Apr 22, 2024 by Pulumi

    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.AwsNative.WaFv2.RegexPatternSetScope
    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 RegexPatternSetScope
    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 RegexPatternSetScope
    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 RegexPatternSetScope
    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 RegexPatternSetScope
    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
    RegularExpressionList List<string>
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    Arn string
    ARN of the WAF entity.
    Description string
    Description of the entity.
    Id string
    Id of the RegexPatternSet
    RegularExpressionList []string
    Tags Tag
    arn String
    ARN of the WAF entity.
    description String
    Description of the entity.
    id String
    Id of the RegexPatternSet
    regularExpressionList List<String>
    tags List<Tag>
    arn string
    ARN of the WAF entity.
    description string
    Description of the entity.
    id string
    Id of the RegexPatternSet
    regularExpressionList string[]
    tags Tag[]
    arn str
    ARN of the WAF entity.
    description str
    Description of the entity.
    id str
    Id of the RegexPatternSet
    regular_expression_list Sequence[str]
    tags Sequence[root_Tag]
    arn String
    ARN of the WAF entity.
    description String
    Description of the entity.
    id String
    Id of the RegexPatternSet
    regularExpressionList List<String>
    tags List<Property Map>

    Supporting Types

    RegexPatternSetScope

    Tag

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.103.0 published on Monday, Apr 22, 2024 by Pulumi