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

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.waf.Instance;
import com.pulumi.alicloud.waf.InstanceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var default_ = new Instance("default", InstanceArgs.builder()
.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")
.build());
}
}

Import

WAF instance can be imported using the id, e.g.

$ pulumi import alicloud:waf/instance:Instance default waf-cn-132435

Properties

Link copied to clipboard
val bigScreen: Output<String>

Specify whether big screen is supported. Valid values: "0", "1". "0" for false and "1" for true.

Link copied to clipboard

Specify the number of exclusive WAF IP addresses.

Link copied to clipboard
val extBandwidth: Output<String>

The extra bandwidth. Unit: Mbit/s.

Link copied to clipboard

The number of extra domains.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val logStorage: Output<String>

Log storage size. Unit: T. Valid values: 3, 5, 10, 20, 50.

Link copied to clipboard
val logTime: Output<String>

Log storage period. Unit: day. Valid values: 180, 360.

Link copied to clipboard
val modifyType: Output<String>?

Type of configuration change. Valid value: Upgrade.

Link copied to clipboard
val packageCode: Output<String>

Subscription plan:

Link copied to clipboard
val period: Output<Int>?

Service time of Web Application Firewall.

Link copied to clipboard

Specify whether professional service is supported. Valid values: "true", "false"

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val region: Output<String>?

The instance region ID.

Link copied to clipboard
val renewalStatus: Output<String>?

Renewal status of WAF service. Valid values:

Link copied to clipboard
val renewPeriod: Output<Int>?

Renewal period of WAF service. Unit: month

Link copied to clipboard
val resourceGroupId: Output<String>?

The resource group ID.

Link copied to clipboard
val status: Output<Int>

The status of the instance.

Link copied to clipboard

Subscription of WAF service. Valid values: "Subscription", "PayAsYouGo".

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val wafLog: Output<String>

Specify whether Log service is supported. Valid values: "true", "false"