com.pulumi.alicloud.waf.ProtectionModuleArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alicloud Show documentation
Show all versions of alicloud Show documentation
A Pulumi package for creating and managing AliCloud resources.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.alicloud.waf;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
public final class ProtectionModuleArgs extends com.pulumi.resources.ResourceArgs {
public static final ProtectionModuleArgs Empty = new ProtectionModuleArgs();
/**
* The Protection Module. Valid values: `ac_cc`, `antifraud`, `dld`, `normalized`, `waf`.
*
*/
@Import(name="defenseType", required=true)
private Output defenseType;
/**
* @return The Protection Module. Valid values: `ac_cc`, `antifraud`, `dld`, `normalized`, `waf`.
*
*/
public Output defenseType() {
return this.defenseType;
}
/**
* The domain name that is added to WAF.
*
*/
@Import(name="domain", required=true)
private Output domain;
/**
* @return The domain name that is added to WAF.
*
*/
public Output domain() {
return this.domain;
}
/**
* The ID of the WAF instance.
*
*/
@Import(name="instanceId", required=true)
private Output instanceId;
/**
* @return The ID of the WAF instance.
*
*/
public Output instanceId() {
return this.instanceId;
}
/**
* The protection mode of the specified protection module. **NOTE:** The value of the Mode parameter varies based on the value of the `defense_type` parameter.
* * The `defense_type` is `waf`. `0`: block mode. `1`: warn mode.
* * The `defense_type` is `dld`. `0`: warn mode. `1`: block mode.
* * The `defense_type` is `ac_cc`. `0`: prevention mode. `1`: protection-emergency mode.
* * The `defense_type` is `antifraud`. `0`: warn mode. `1`: block mode. `2`: strict interception mode.
* * The `defense_type` is `normalized`. `0`: warn mode. `1`: block mode.
*
*/
@Import(name="mode", required=true)
private Output mode;
/**
* @return The protection mode of the specified protection module. **NOTE:** The value of the Mode parameter varies based on the value of the `defense_type` parameter.
* * The `defense_type` is `waf`. `0`: block mode. `1`: warn mode.
* * The `defense_type` is `dld`. `0`: warn mode. `1`: block mode.
* * The `defense_type` is `ac_cc`. `0`: prevention mode. `1`: protection-emergency mode.
* * The `defense_type` is `antifraud`. `0`: warn mode. `1`: block mode. `2`: strict interception mode.
* * The `defense_type` is `normalized`. `0`: warn mode. `1`: block mode.
*
*/
public Output mode() {
return this.mode;
}
/**
* The status of the resource. Valid values: `0`, `1`.
*
*/
@Import(name="status")
private @Nullable Output status;
/**
* @return The status of the resource. Valid values: `0`, `1`.
*
*/
public Optional