InstanceArgs

data class InstanceArgs(val bigScreen: Output<String>? = null, val exclusiveIpPackage: Output<String>? = null, val extBandwidth: Output<String>? = null, val extDomainPackage: Output<String>? = null, val logStorage: Output<String>? = null, val logTime: Output<String>? = null, val modifyType: Output<String>? = null, val packageCode: Output<String>? = null, val period: Output<Int>? = null, val prefessionalService: Output<String>? = null, val region: Output<String>? = null, val renewPeriod: Output<Int>? = null, val renewalStatus: Output<String>? = null, val resourceGroupId: Output<String>? = null, val subscriptionType: Output<String>? = null, val wafLog: Output<String>? = null) : ConvertibleToJava<InstanceArgs>

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

Constructors

Link copied to clipboard
fun InstanceArgs(bigScreen: Output<String>? = null, exclusiveIpPackage: Output<String>? = null, extBandwidth: Output<String>? = null, extDomainPackage: Output<String>? = null, logStorage: Output<String>? = null, logTime: Output<String>? = null, modifyType: Output<String>? = null, packageCode: Output<String>? = null, period: Output<Int>? = null, prefessionalService: Output<String>? = null, region: Output<String>? = null, renewPeriod: Output<Int>? = null, renewalStatus: Output<String>? = null, resourceGroupId: Output<String>? = null, subscriptionType: Output<String>? = null, wafLog: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): InstanceArgs

Properties

Link copied to clipboard
val bigScreen: Output<String>? = null

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

Link copied to clipboard
val exclusiveIpPackage: Output<String>? = null

Specify the number of exclusive WAF IP addresses.

Link copied to clipboard
val extBandwidth: Output<String>? = null

The extra bandwidth. Unit: Mbit/s.

Link copied to clipboard
val extDomainPackage: Output<String>? = null

The number of extra domains.

Link copied to clipboard
val logStorage: Output<String>? = null

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

Link copied to clipboard
val logTime: Output<String>? = null

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

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

Type of configuration change. Valid value: Upgrade.

Link copied to clipboard
val packageCode: Output<String>? = null

Subscription plan:

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

Service time of Web Application Firewall.

Link copied to clipboard
val prefessionalService: Output<String>? = null

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

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

The instance region ID.

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

Renewal status of WAF service. Valid values:

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

Renewal period of WAF service. Unit: month

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

The resource group ID.

Link copied to clipboard
val subscriptionType: Output<String>? = null

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

Link copied to clipboard
val wafLog: Output<String>? = null

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