GetRulesPlainArgs

data class GetRulesPlainArgs(val configRuleState: String? = null, val enableDetails: Boolean? = null, val ids: List<String>? = null, val nameRegex: String? = null, val outputFile: String? = null, val riskLevel: Int? = null, val ruleName: String? = null, val status: String? = null) : ConvertibleToJava<GetRulesPlainArgs>

A collection of arguments for invoking getRules.

Constructors

Link copied to clipboard
constructor(configRuleState: String? = null, enableDetails: Boolean? = null, ids: List<String>? = null, nameRegex: String? = null, outputFile: String? = null, riskLevel: Int? = null, ruleName: String? = null, status: String? = null)

Properties

Link copied to clipboard
val configRuleState: String? = null

Field config_rule_state has been deprecated from provider version 1.124.1. New field status instead.

Link copied to clipboard
val enableDetails: Boolean? = null

Default to false. Set it to true can output more details about resource attributes.

Link copied to clipboard
val ids: List<String>? = null

A list of Config Rule IDs.

Link copied to clipboard
val nameRegex: String? = null

A regex string to filter results by rule name.

Link copied to clipboard
val outputFile: String? = null

File name where to save data source results (after running pulumi preview).

Link copied to clipboard
val riskLevel: Int? = null

The risk level of Config Rule. Valid values: 1: Critical ,2: Warning , 3: Info.

Link copied to clipboard
val ruleName: String? = null

The name of config rule.

Link copied to clipboard
val status: String? = null

The status of the config rule, valid values: ACTIVE, DELETING, EVALUATING and INACTIVE.

Functions

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