AWS Native is in preview. AWS Classic is fully supported.
aws-native.wafv2.getRegexPatternSet
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 .
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 - List<Pulumi.
Aws Native. Outputs. Tag>
- Arn string
- ARN of the WAF entity.
- Description string
- Description of the entity.
- Id string
- Id of the RegexPatternSet
- Regular
Expression []stringList - Tag
- arn String
- ARN of the WAF entity.
- description String
- Description of the entity.
- id String
- Id of the RegexPatternSet
- regular
Expression List<String>List - List<Tag>
- arn string
- ARN of the WAF entity.
- description string
- Description of the entity.
- id string
- Id of the RegexPatternSet
- regular
Expression string[]List - Tag[]
- arn str
- ARN of the WAF entity.
- description str
- Description of the entity.
- id str
- Id of the RegexPatternSet
- regular_
expression_ Sequence[str]list - Sequence[root_Tag]
- arn String
- ARN of the WAF entity.
- description String
- Description of the entity.
- id String
- Id of the RegexPatternSet
- regular
Expression List<String>List - List<Property Map>
Supporting Types
RegexPatternSetScope
Tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.