Show / Hide Table of Contents

Namespace Pulumi.Aws.WafV2

Classes

GetIpSet

GetIpSetArgs

GetIpSetResult

GetRegexPatternSet

GetRegexPatternSetArgs

GetRegexPatternSetResult

IpSet

Provides a WAFv2 IP Set Resource

Example Usage

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
public MyStack()
{
    var example = new Aws.WafV2.IpSet("example", new Aws.WafV2.IpSetArgs
    {
        Addresses = 
        {
            "1.2.3.4/32",
            "5.6.7.8/32",
        },
        Description = "Example IP set",
        IpAddressVersion = "IPV4",
        Scope = "REGIONAL",
        Tags = 
        {
            { "Tag1", "Value1" },
            { "Tag2", "Value2" },
        },
    });
}

}

IpSetArgs

IpSetState

RegexPatternSet

Provides an AWS WAFv2 Regex Pattern Set Resource

Example Usage

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
public MyStack()
{
    var example = new Aws.WafV2.RegexPatternSet("example", new Aws.WafV2.RegexPatternSetArgs
    {
        Description = "Example regex pattern set",
        RegularExpressions = 
        {
            new Aws.WafV2.Inputs.RegexPatternSetRegularExpressionArgs
            {
                RegexString = "one",
            },
            new Aws.WafV2.Inputs.RegexPatternSetRegularExpressionArgs
            {
                RegexString = "two",
            },
        },
        Scope = "REGIONAL",
        Tags = 
        {
            { "Tag1", "Value1" },
            { "Tag2", "Value2" },
        },
    });
}

}

RegexPatternSetArgs

RegexPatternSetState

Back to top Copyright 2016-2020, Pulumi Corporation.