wafv2

package
v2.13.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 10, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetRegexPatternSetRegularExpression

type GetRegexPatternSetRegularExpression struct {
	// (Required) The string representing the regular expression, see the AWS WAF [documentation](https://docs.aws.amazon.com/waf/latest/developerguide/waf-regex-pattern-set-creating.html) for more information.
	RegexString string `pulumi:"regexString"`
}

type GetRegexPatternSetRegularExpressionArgs

type GetRegexPatternSetRegularExpressionArgs struct {
	// (Required) The string representing the regular expression, see the AWS WAF [documentation](https://docs.aws.amazon.com/waf/latest/developerguide/waf-regex-pattern-set-creating.html) for more information.
	RegexString pulumi.StringInput `pulumi:"regexString"`
}

func (GetRegexPatternSetRegularExpressionArgs) ElementType

func (GetRegexPatternSetRegularExpressionArgs) ToGetRegexPatternSetRegularExpressionOutput

func (i GetRegexPatternSetRegularExpressionArgs) ToGetRegexPatternSetRegularExpressionOutput() GetRegexPatternSetRegularExpressionOutput

func (GetRegexPatternSetRegularExpressionArgs) ToGetRegexPatternSetRegularExpressionOutputWithContext

func (i GetRegexPatternSetRegularExpressionArgs) ToGetRegexPatternSetRegularExpressionOutputWithContext(ctx context.Context) GetRegexPatternSetRegularExpressionOutput

type GetRegexPatternSetRegularExpressionArray

type GetRegexPatternSetRegularExpressionArray []GetRegexPatternSetRegularExpressionInput

func (GetRegexPatternSetRegularExpressionArray) ElementType

func (GetRegexPatternSetRegularExpressionArray) ToGetRegexPatternSetRegularExpressionArrayOutput

func (i GetRegexPatternSetRegularExpressionArray) ToGetRegexPatternSetRegularExpressionArrayOutput() GetRegexPatternSetRegularExpressionArrayOutput

func (GetRegexPatternSetRegularExpressionArray) ToGetRegexPatternSetRegularExpressionArrayOutputWithContext

func (i GetRegexPatternSetRegularExpressionArray) ToGetRegexPatternSetRegularExpressionArrayOutputWithContext(ctx context.Context) GetRegexPatternSetRegularExpressionArrayOutput

type GetRegexPatternSetRegularExpressionArrayInput

type GetRegexPatternSetRegularExpressionArrayInput interface {
	pulumi.Input

	ToGetRegexPatternSetRegularExpressionArrayOutput() GetRegexPatternSetRegularExpressionArrayOutput
	ToGetRegexPatternSetRegularExpressionArrayOutputWithContext(context.Context) GetRegexPatternSetRegularExpressionArrayOutput
}

GetRegexPatternSetRegularExpressionArrayInput is an input type that accepts GetRegexPatternSetRegularExpressionArray and GetRegexPatternSetRegularExpressionArrayOutput values. You can construct a concrete instance of `GetRegexPatternSetRegularExpressionArrayInput` via:

GetRegexPatternSetRegularExpressionArray{ GetRegexPatternSetRegularExpressionArgs{...} }

type GetRegexPatternSetRegularExpressionArrayOutput

type GetRegexPatternSetRegularExpressionArrayOutput struct{ *pulumi.OutputState }

func (GetRegexPatternSetRegularExpressionArrayOutput) ElementType

func (GetRegexPatternSetRegularExpressionArrayOutput) Index

func (GetRegexPatternSetRegularExpressionArrayOutput) ToGetRegexPatternSetRegularExpressionArrayOutput

func (o GetRegexPatternSetRegularExpressionArrayOutput) ToGetRegexPatternSetRegularExpressionArrayOutput() GetRegexPatternSetRegularExpressionArrayOutput

func (GetRegexPatternSetRegularExpressionArrayOutput) ToGetRegexPatternSetRegularExpressionArrayOutputWithContext

func (o GetRegexPatternSetRegularExpressionArrayOutput) ToGetRegexPatternSetRegularExpressionArrayOutputWithContext(ctx context.Context) GetRegexPatternSetRegularExpressionArrayOutput

type GetRegexPatternSetRegularExpressionInput

type GetRegexPatternSetRegularExpressionInput interface {
	pulumi.Input

	ToGetRegexPatternSetRegularExpressionOutput() GetRegexPatternSetRegularExpressionOutput
	ToGetRegexPatternSetRegularExpressionOutputWithContext(context.Context) GetRegexPatternSetRegularExpressionOutput
}

GetRegexPatternSetRegularExpressionInput is an input type that accepts GetRegexPatternSetRegularExpressionArgs and GetRegexPatternSetRegularExpressionOutput values. You can construct a concrete instance of `GetRegexPatternSetRegularExpressionInput` via:

GetRegexPatternSetRegularExpressionArgs{...}

type GetRegexPatternSetRegularExpressionOutput

type GetRegexPatternSetRegularExpressionOutput struct{ *pulumi.OutputState }

func (GetRegexPatternSetRegularExpressionOutput) ElementType

func (GetRegexPatternSetRegularExpressionOutput) RegexString

(Required) The string representing the regular expression, see the AWS WAF [documentation](https://docs.aws.amazon.com/waf/latest/developerguide/waf-regex-pattern-set-creating.html) for more information.

func (GetRegexPatternSetRegularExpressionOutput) ToGetRegexPatternSetRegularExpressionOutput

func (o GetRegexPatternSetRegularExpressionOutput) ToGetRegexPatternSetRegularExpressionOutput() GetRegexPatternSetRegularExpressionOutput

func (GetRegexPatternSetRegularExpressionOutput) ToGetRegexPatternSetRegularExpressionOutputWithContext

func (o GetRegexPatternSetRegularExpressionOutput) ToGetRegexPatternSetRegularExpressionOutputWithContext(ctx context.Context) GetRegexPatternSetRegularExpressionOutput

type GetWebAclArgs added in v2.10.0

type GetWebAclArgs struct {
	// The name of the WAFv2 Web ACL.
	Name string `pulumi:"name"`
	// Specifies whether this is for an AWS CloudFront distribution or for a regional application. Valid values are `CLOUDFRONT` or `REGIONAL`. To work with CloudFront, you must also specify the region `us-east-1` (N. Virginia) on the AWS provider.
	Scope string `pulumi:"scope"`
}

A collection of arguments for invoking getWebAcl.

type GetWebAclResult added in v2.10.0

type GetWebAclResult struct {
	// The Amazon Resource Name (ARN) of the entity.
	Arn string `pulumi:"arn"`
	// The description of the WebACL that helps with identification.
	Description string `pulumi:"description"`
	// The provider-assigned unique ID for this managed resource.
	Id    string `pulumi:"id"`
	Name  string `pulumi:"name"`
	Scope string `pulumi:"scope"`
}

A collection of values returned by getWebAcl.

func GetWebAcl added in v2.10.0

func GetWebAcl(ctx *pulumi.Context, args *GetWebAclArgs, opts ...pulumi.InvokeOption) (*GetWebAclResult, error)

Retrieves the summary of a WAFv2 Web ACL.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/wafv2"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := wafv2.GetWebAcl(ctx, &wafv2.GetWebAclArgs{
			Name:  "some-web-acl",
			Scope: "REGIONAL",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type IpSet

type IpSet struct {
	pulumi.CustomResourceState

	// Contains an array of strings that specify one or more IP addresses or blocks of IP addresses in Classless Inter-Domain Routing (CIDR) notation. AWS WAF supports all address ranges for IP versions IPv4 and IPv6.
	Addresses pulumi.StringArrayOutput `pulumi:"addresses"`
	// The Amazon Resource Name (ARN) that identifies the cluster.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// A friendly description of the IP set.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Specify IPV4 or IPV6. Valid values are `IPV4` or `IPV6`.
	IpAddressVersion pulumi.StringOutput `pulumi:"ipAddressVersion"`
	LockToken        pulumi.StringOutput `pulumi:"lockToken"`
	// A friendly name of the IP set.
	Name pulumi.StringOutput `pulumi:"name"`
	// Specifies whether this is for an AWS CloudFront distribution or for a regional application. Valid values are `CLOUDFRONT` or `REGIONAL`. To work with CloudFront, you must also specify the Region US East (N. Virginia).
	Scope pulumi.StringOutput `pulumi:"scope"`
	// An array of key:value pairs to associate with the resource.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
}

Provides a WAFv2 IP Set Resource

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/wafv2"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := wafv2.NewIpSet(ctx, "example", &wafv2.IpSetArgs{
			Addresses: pulumi.StringArray{
				pulumi.String("1.2.3.4/32"),
				pulumi.String("5.6.7.8/32"),
			},
			Description:      pulumi.String("Example IP set"),
			IpAddressVersion: pulumi.String("IPV4"),
			Scope:            pulumi.String("REGIONAL"),
			Tags: pulumi.StringMap{
				"Tag1": pulumi.String("Value1"),
				"Tag2": pulumi.String("Value2"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetIpSet

func GetIpSet(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *IpSetState, opts ...pulumi.ResourceOption) (*IpSet, error)

GetIpSet gets an existing IpSet resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewIpSet

func NewIpSet(ctx *pulumi.Context,
	name string, args *IpSetArgs, opts ...pulumi.ResourceOption) (*IpSet, error)

NewIpSet registers a new resource with the given unique name, arguments, and options.

type IpSetArgs

type IpSetArgs struct {
	// Contains an array of strings that specify one or more IP addresses or blocks of IP addresses in Classless Inter-Domain Routing (CIDR) notation. AWS WAF supports all address ranges for IP versions IPv4 and IPv6.
	Addresses pulumi.StringArrayInput
	// A friendly description of the IP set.
	Description pulumi.StringPtrInput
	// Specify IPV4 or IPV6. Valid values are `IPV4` or `IPV6`.
	IpAddressVersion pulumi.StringInput
	// A friendly name of the IP set.
	Name pulumi.StringPtrInput
	// Specifies whether this is for an AWS CloudFront distribution or for a regional application. Valid values are `CLOUDFRONT` or `REGIONAL`. To work with CloudFront, you must also specify the Region US East (N. Virginia).
	Scope pulumi.StringInput
	// An array of key:value pairs to associate with the resource.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a IpSet resource.

func (IpSetArgs) ElementType

func (IpSetArgs) ElementType() reflect.Type

type IpSetState

type IpSetState struct {
	// Contains an array of strings that specify one or more IP addresses or blocks of IP addresses in Classless Inter-Domain Routing (CIDR) notation. AWS WAF supports all address ranges for IP versions IPv4 and IPv6.
	Addresses pulumi.StringArrayInput
	// The Amazon Resource Name (ARN) that identifies the cluster.
	Arn pulumi.StringPtrInput
	// A friendly description of the IP set.
	Description pulumi.StringPtrInput
	// Specify IPV4 or IPV6. Valid values are `IPV4` or `IPV6`.
	IpAddressVersion pulumi.StringPtrInput
	LockToken        pulumi.StringPtrInput
	// A friendly name of the IP set.
	Name pulumi.StringPtrInput
	// Specifies whether this is for an AWS CloudFront distribution or for a regional application. Valid values are `CLOUDFRONT` or `REGIONAL`. To work with CloudFront, you must also specify the Region US East (N. Virginia).
	Scope pulumi.StringPtrInput
	// An array of key:value pairs to associate with the resource.
	Tags pulumi.StringMapInput
}

func (IpSetState) ElementType

func (IpSetState) ElementType() reflect.Type

type LookupIpSetArgs

type LookupIpSetArgs struct {
	// The name of the WAFv2 IP Set.
	Name string `pulumi:"name"`
	// Specifies whether this is for an AWS CloudFront distribution or for a regional application. Valid values are `CLOUDFRONT` or `REGIONAL`. To work with CloudFront, you must also specify the region `us-east-1` (N. Virginia) on the AWS provider.
	Scope string `pulumi:"scope"`
}

A collection of arguments for invoking getIpSet.

type LookupIpSetResult

type LookupIpSetResult struct {
	// An array of strings that specify one or more IP addresses or blocks of IP addresses in Classless Inter-Domain Routing (CIDR) notation.
	Addresses []string `pulumi:"addresses"`
	// The Amazon Resource Name (ARN) of the entity.
	Arn string `pulumi:"arn"`
	// The description of the set that helps with identification.
	Description string `pulumi:"description"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The IP address version of the set.
	IpAddressVersion string `pulumi:"ipAddressVersion"`
	Name             string `pulumi:"name"`
	Scope            string `pulumi:"scope"`
}

A collection of values returned by getIpSet.

func LookupIpSet

func LookupIpSet(ctx *pulumi.Context, args *LookupIpSetArgs, opts ...pulumi.InvokeOption) (*LookupIpSetResult, error)

Retrieves the summary of a WAFv2 IP Set.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/wafv2"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := wafv2.LookupIpSet(ctx, &wafv2.LookupIpSetArgs{
			Name:  "some-ip-set",
			Scope: "REGIONAL",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupRegexPatternSetArgs

type LookupRegexPatternSetArgs struct {
	// The name of the WAFv2 Regex Pattern Set.
	Name string `pulumi:"name"`
	// Specifies whether this is for an AWS CloudFront distribution or for a regional application. Valid values are `CLOUDFRONT` or `REGIONAL`. To work with CloudFront, you must also specify the region `us-east-1` (N. Virginia) on the AWS provider.
	Scope string `pulumi:"scope"`
}

A collection of arguments for invoking getRegexPatternSet.

type LookupRegexPatternSetResult

type LookupRegexPatternSetResult struct {
	// The Amazon Resource Name (ARN) of the entity.
	Arn string `pulumi:"arn"`
	// The description of the set that helps with identification.
	Description string `pulumi:"description"`
	// The provider-assigned unique ID for this managed resource.
	Id   string `pulumi:"id"`
	Name string `pulumi:"name"`
	// One or more blocks of regular expression patterns that AWS WAF is searching for. See Regular Expression below for details.
	RegularExpressions []GetRegexPatternSetRegularExpression `pulumi:"regularExpressions"`
	Scope              string                                `pulumi:"scope"`
}

A collection of values returned by getRegexPatternSet.

func LookupRegexPatternSet

func LookupRegexPatternSet(ctx *pulumi.Context, args *LookupRegexPatternSetArgs, opts ...pulumi.InvokeOption) (*LookupRegexPatternSetResult, error)

Retrieves the summary of a WAFv2 Regex Pattern Set.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/wafv2"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := wafv2.LookupRegexPatternSet(ctx, &wafv2.LookupRegexPatternSetArgs{
			Name:  "some-regex-pattern-set",
			Scope: "REGIONAL",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type RegexPatternSet

type RegexPatternSet struct {
	pulumi.CustomResourceState

	// The Amazon Resource Name (ARN) that identifies the cluster.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// A friendly description of the regular expression pattern set.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	LockToken   pulumi.StringOutput    `pulumi:"lockToken"`
	// A friendly name of the regular expression pattern set.
	Name pulumi.StringOutput `pulumi:"name"`
	// One or more blocks of regular expression patterns that you want AWS WAF to search for, such as `B[a@]dB[o0]t`. See Regular Expression below for details.
	RegularExpressions RegexPatternSetRegularExpressionArrayOutput `pulumi:"regularExpressions"`
	// Specifies whether this is for an AWS CloudFront distribution or for a regional application. Valid values are `CLOUDFRONT` or `REGIONAL`. To work with CloudFront, you must also specify the region `us-east-1` (N. Virginia) on the AWS provider.
	Scope pulumi.StringOutput `pulumi:"scope"`
	// An array of key:value pairs to associate with the resource.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
}

Provides an AWS WAFv2 Regex Pattern Set Resource

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/wafv2"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := wafv2.NewRegexPatternSet(ctx, "example", &wafv2.RegexPatternSetArgs{
			Description: pulumi.String("Example regex pattern set"),
			RegularExpressions: wafv2.RegexPatternSetRegularExpressionArray{
				&wafv2.RegexPatternSetRegularExpressionArgs{
					RegexString: pulumi.String("one"),
				},
				&wafv2.RegexPatternSetRegularExpressionArgs{
					RegexString: pulumi.String("two"),
				},
			},
			Scope: pulumi.String("REGIONAL"),
			Tags: pulumi.StringMap{
				"Tag1": pulumi.String("Value1"),
				"Tag2": pulumi.String("Value2"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetRegexPatternSet

func GetRegexPatternSet(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RegexPatternSetState, opts ...pulumi.ResourceOption) (*RegexPatternSet, error)

GetRegexPatternSet gets an existing RegexPatternSet resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewRegexPatternSet

func NewRegexPatternSet(ctx *pulumi.Context,
	name string, args *RegexPatternSetArgs, opts ...pulumi.ResourceOption) (*RegexPatternSet, error)

NewRegexPatternSet registers a new resource with the given unique name, arguments, and options.

type RegexPatternSetArgs

type RegexPatternSetArgs struct {
	// A friendly description of the regular expression pattern set.
	Description pulumi.StringPtrInput
	// A friendly name of the regular expression pattern set.
	Name pulumi.StringPtrInput
	// One or more blocks of regular expression patterns that you want AWS WAF to search for, such as `B[a@]dB[o0]t`. See Regular Expression below for details.
	RegularExpressions RegexPatternSetRegularExpressionArrayInput
	// Specifies whether this is for an AWS CloudFront distribution or for a regional application. Valid values are `CLOUDFRONT` or `REGIONAL`. To work with CloudFront, you must also specify the region `us-east-1` (N. Virginia) on the AWS provider.
	Scope pulumi.StringInput
	// An array of key:value pairs to associate with the resource.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a RegexPatternSet resource.

func (RegexPatternSetArgs) ElementType

func (RegexPatternSetArgs) ElementType() reflect.Type

type RegexPatternSetRegularExpression

type RegexPatternSetRegularExpression struct {
	// The string representing the regular expression, see the AWS WAF [documentation](https://docs.aws.amazon.com/waf/latest/developerguide/waf-regex-pattern-set-creating.html) for more information.
	RegexString string `pulumi:"regexString"`
}

type RegexPatternSetRegularExpressionArgs

type RegexPatternSetRegularExpressionArgs struct {
	// The string representing the regular expression, see the AWS WAF [documentation](https://docs.aws.amazon.com/waf/latest/developerguide/waf-regex-pattern-set-creating.html) for more information.
	RegexString pulumi.StringInput `pulumi:"regexString"`
}

func (RegexPatternSetRegularExpressionArgs) ElementType

func (RegexPatternSetRegularExpressionArgs) ToRegexPatternSetRegularExpressionOutput

func (i RegexPatternSetRegularExpressionArgs) ToRegexPatternSetRegularExpressionOutput() RegexPatternSetRegularExpressionOutput

func (RegexPatternSetRegularExpressionArgs) ToRegexPatternSetRegularExpressionOutputWithContext

func (i RegexPatternSetRegularExpressionArgs) ToRegexPatternSetRegularExpressionOutputWithContext(ctx context.Context) RegexPatternSetRegularExpressionOutput

type RegexPatternSetRegularExpressionArray

type RegexPatternSetRegularExpressionArray []RegexPatternSetRegularExpressionInput

func (RegexPatternSetRegularExpressionArray) ElementType

func (RegexPatternSetRegularExpressionArray) ToRegexPatternSetRegularExpressionArrayOutput

func (i RegexPatternSetRegularExpressionArray) ToRegexPatternSetRegularExpressionArrayOutput() RegexPatternSetRegularExpressionArrayOutput

func (RegexPatternSetRegularExpressionArray) ToRegexPatternSetRegularExpressionArrayOutputWithContext

func (i RegexPatternSetRegularExpressionArray) ToRegexPatternSetRegularExpressionArrayOutputWithContext(ctx context.Context) RegexPatternSetRegularExpressionArrayOutput

type RegexPatternSetRegularExpressionArrayInput

type RegexPatternSetRegularExpressionArrayInput interface {
	pulumi.Input

	ToRegexPatternSetRegularExpressionArrayOutput() RegexPatternSetRegularExpressionArrayOutput
	ToRegexPatternSetRegularExpressionArrayOutputWithContext(context.Context) RegexPatternSetRegularExpressionArrayOutput
}

RegexPatternSetRegularExpressionArrayInput is an input type that accepts RegexPatternSetRegularExpressionArray and RegexPatternSetRegularExpressionArrayOutput values. You can construct a concrete instance of `RegexPatternSetRegularExpressionArrayInput` via:

RegexPatternSetRegularExpressionArray{ RegexPatternSetRegularExpressionArgs{...} }

type RegexPatternSetRegularExpressionArrayOutput

type RegexPatternSetRegularExpressionArrayOutput struct{ *pulumi.OutputState }

func (RegexPatternSetRegularExpressionArrayOutput) ElementType

func (RegexPatternSetRegularExpressionArrayOutput) Index

func (RegexPatternSetRegularExpressionArrayOutput) ToRegexPatternSetRegularExpressionArrayOutput

func (o RegexPatternSetRegularExpressionArrayOutput) ToRegexPatternSetRegularExpressionArrayOutput() RegexPatternSetRegularExpressionArrayOutput

func (RegexPatternSetRegularExpressionArrayOutput) ToRegexPatternSetRegularExpressionArrayOutputWithContext

func (o RegexPatternSetRegularExpressionArrayOutput) ToRegexPatternSetRegularExpressionArrayOutputWithContext(ctx context.Context) RegexPatternSetRegularExpressionArrayOutput

type RegexPatternSetRegularExpressionInput

type RegexPatternSetRegularExpressionInput interface {
	pulumi.Input

	ToRegexPatternSetRegularExpressionOutput() RegexPatternSetRegularExpressionOutput
	ToRegexPatternSetRegularExpressionOutputWithContext(context.Context) RegexPatternSetRegularExpressionOutput
}

RegexPatternSetRegularExpressionInput is an input type that accepts RegexPatternSetRegularExpressionArgs and RegexPatternSetRegularExpressionOutput values. You can construct a concrete instance of `RegexPatternSetRegularExpressionInput` via:

RegexPatternSetRegularExpressionArgs{...}

type RegexPatternSetRegularExpressionOutput

type RegexPatternSetRegularExpressionOutput struct{ *pulumi.OutputState }

func (RegexPatternSetRegularExpressionOutput) ElementType

func (RegexPatternSetRegularExpressionOutput) RegexString

The string representing the regular expression, see the AWS WAF [documentation](https://docs.aws.amazon.com/waf/latest/developerguide/waf-regex-pattern-set-creating.html) for more information.

func (RegexPatternSetRegularExpressionOutput) ToRegexPatternSetRegularExpressionOutput

func (o RegexPatternSetRegularExpressionOutput) ToRegexPatternSetRegularExpressionOutput() RegexPatternSetRegularExpressionOutput

func (RegexPatternSetRegularExpressionOutput) ToRegexPatternSetRegularExpressionOutputWithContext

func (o RegexPatternSetRegularExpressionOutput) ToRegexPatternSetRegularExpressionOutputWithContext(ctx context.Context) RegexPatternSetRegularExpressionOutput

type RegexPatternSetState

type RegexPatternSetState struct {
	// The Amazon Resource Name (ARN) that identifies the cluster.
	Arn pulumi.StringPtrInput
	// A friendly description of the regular expression pattern set.
	Description pulumi.StringPtrInput
	LockToken   pulumi.StringPtrInput
	// A friendly name of the regular expression pattern set.
	Name pulumi.StringPtrInput
	// One or more blocks of regular expression patterns that you want AWS WAF to search for, such as `B[a@]dB[o0]t`. See Regular Expression below for details.
	RegularExpressions RegexPatternSetRegularExpressionArrayInput
	// Specifies whether this is for an AWS CloudFront distribution or for a regional application. Valid values are `CLOUDFRONT` or `REGIONAL`. To work with CloudFront, you must also specify the region `us-east-1` (N. Virginia) on the AWS provider.
	Scope pulumi.StringPtrInput
	// An array of key:value pairs to associate with the resource.
	Tags pulumi.StringMapInput
}

func (RegexPatternSetState) ElementType

func (RegexPatternSetState) ElementType() reflect.Type

type WebAclAssociation added in v2.10.0

type WebAclAssociation struct {
	pulumi.CustomResourceState

	// The Amazon Resource Name (ARN) of the resource to associate with the web ACL. This must be an ARN of an Application Load Balancer or an Amazon API Gateway stage.
	ResourceArn pulumi.StringOutput `pulumi:"resourceArn"`
	// The Amazon Resource Name (ARN) of the Web ACL that you want to associate with the resource.
	WebAclArn pulumi.StringOutput `pulumi:"webAclArn"`
}

Creates a WAFv2 Web ACL Association.

func GetWebAclAssociation added in v2.10.0

func GetWebAclAssociation(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *WebAclAssociationState, opts ...pulumi.ResourceOption) (*WebAclAssociation, error)

GetWebAclAssociation gets an existing WebAclAssociation resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewWebAclAssociation added in v2.10.0

func NewWebAclAssociation(ctx *pulumi.Context,
	name string, args *WebAclAssociationArgs, opts ...pulumi.ResourceOption) (*WebAclAssociation, error)

NewWebAclAssociation registers a new resource with the given unique name, arguments, and options.

type WebAclAssociationArgs added in v2.10.0

type WebAclAssociationArgs struct {
	// The Amazon Resource Name (ARN) of the resource to associate with the web ACL. This must be an ARN of an Application Load Balancer or an Amazon API Gateway stage.
	ResourceArn pulumi.StringInput
	// The Amazon Resource Name (ARN) of the Web ACL that you want to associate with the resource.
	WebAclArn pulumi.StringInput
}

The set of arguments for constructing a WebAclAssociation resource.

func (WebAclAssociationArgs) ElementType added in v2.10.0

func (WebAclAssociationArgs) ElementType() reflect.Type

type WebAclAssociationState added in v2.10.0

type WebAclAssociationState struct {
	// The Amazon Resource Name (ARN) of the resource to associate with the web ACL. This must be an ARN of an Application Load Balancer or an Amazon API Gateway stage.
	ResourceArn pulumi.StringPtrInput
	// The Amazon Resource Name (ARN) of the Web ACL that you want to associate with the resource.
	WebAclArn pulumi.StringPtrInput
}

func (WebAclAssociationState) ElementType added in v2.10.0

func (WebAclAssociationState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL