Rule

class Rule : KotlinCustomResource

Provides a Data Security Center Rule resource. For information about Data Security Center Rule and how to use it, see What is Rule.

NOTE: Available since v1.132.0.

Example Usage

Basic Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.sddp.Rule;
import com.pulumi.alicloud.sddp.RuleArgs;
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) {
final var config = ctx.config();
final var name = config.get("name").orElse("tf_example_name");
var default_ = new Rule("default", RuleArgs.builder()
.category("0")
.content("content")
.ruleName(name)
.riskLevelId("4")
.productCode("OSS")
.build());
}
}

Import

Data Security Center Rule can be imported using the id, e.g.

$ pulumi import alicloud:sddp/rule:Rule example <id>

Properties

Link copied to clipboard
val category: Output<Int>

Sensitive Data Identification Rules for the Type of. Valid values:

Link copied to clipboard
val content: Output<String>

Sensitive Data Identification Rules the Content.

Link copied to clipboard
val contentCategory: Output<String>

The Content Classification.

Link copied to clipboard
val customType: Output<Int>

Sensitive Data Identification Rules of Type. Valid values:

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

Sensitive Data Identification a Description of the Rule Information.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val lang: Output<String>?

The Request and Receive the Language of the Message Type. Valid values:

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

Product Code. Valid values: OSS,RDS,ODPS(MaxCompute).

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

Product ID. Valid values:

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val riskLevelId: Output<String>?

Sensitive Data Identification Rules of Risk Level ID. Valid values:

Link copied to clipboard
val ruleName: Output<String>

Sensitive Data Identification Name of the Rule.

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

Rule Type.

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

Triggered the Alarm Conditions.

Link copied to clipboard
val status: Output<Int>

Sensitive Data Identification Rules Detection State of.

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

The Target of rule.

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val warnLevel: Output<Int>?

The Level of Risk. Valid values: