Show / Hide Table of Contents

Namespace Pulumi.AliCloud.Waf

Classes

Domain

Provides a WAF Domain resource to create domain in the Web Application Firewall.

For information about WAF and how to use it, see What is Alibaba Cloud WAF.

NOTE: Available in 1.82.0+ .

Example Usage

using Pulumi;
using AliCloud = Pulumi.AliCloud;

class MyStack : Stack
{
public MyStack()
{
    var domain = new AliCloud.Waf.Domain("domain", new AliCloud.Waf.DomainArgs
    {
        ClusterType = "PhysicalCluster",
        Domain = "www.aliyun.com",
        Http2Ports = 443,
        HttpPorts = 80,
        HttpToUserIp = "Off",
        HttpsPorts = 443,
        HttpsRedirect = "Off",
        InstanceId = "waf-123455",
        IsAccessProduct = "On",
        LoadBalancing = "IpHash",
        LogHeaders = 
        {
            new AliCloud.Waf.Inputs.DomainLogHeaderArgs
            {
                Key = "foo",
                Value = "http",
            },
        },
        SourceIps = 
        {
            "1.1.1.1",
        },
    });
}

}

DomainArgs

DomainState

Instance

Provides a WAF Instance resource to create instance in the Web Application Firewall.

For information about WAF and how to use it, see What is Alibaba Cloud WAF.

NOTE: Available in 1.83.0+ .

Example Usage

using Pulumi;
using AliCloud = Pulumi.AliCloud;

class MyStack : Stack
{
public MyStack()
{
    var @default = new AliCloud.Waf.Instance("default", new AliCloud.Waf.InstanceArgs
    {
        BigScreen = "0",
        ExclusiveIpPackage = "1",
        ExtBandwidth = "50",
        ExtDomainPackage = "1",
        LogStorage = "3",
        LogTime = "180",
        PackageCode = "version_3",
        Period = 1,
        PrefessionalService = "false",
        ResourceGroupId = "rs-abc12345",
        SubscriptionType = "Subscription",
        WafLog = "false",
    });
}

}

InstanceArgs

InstanceState

Back to top Copyright 2016-2020, Pulumi Corporation.