Builder

class Builder

Properties

Link copied to clipboard

The Amazon Resource Name (ARN) of the Config rule.

Link copied to clipboard

The ID of the Config rule.

Link copied to clipboard

The name that you assign to the Config rule. The name is required if you are adding a new rule.

Link copied to clipboard

Indicates whether the Config rule is active or is currently being deleted by Config. It can also indicate the evaluation status for the Config rule.

Link copied to clipboard

Service principal name of the service that created the rule.

Link copied to clipboard

The description that you provide for the Config rule.

Link copied to clipboard

The modes the Config rule can be evaluated in. The valid values are distinct objects. By default, the value is Detective evaluation mode only.

Link copied to clipboard

A string, in JSON format, that is passed to the Config rule Lambda function.

Link copied to clipboard

The maximum frequency with which Config runs evaluations for a rule. You can specify a value for MaximumExecutionFrequency when:

Link copied to clipboard
var scope: Scope?

Defines which resources can trigger an evaluation for the rule. The scope can include one or more resource types, a combination of one resource type and one resource ID, or a combination of a tag key and value. Specify a scope to constrain the resources that can trigger an evaluation for the rule. If you do not specify a scope, evaluations are triggered when any resource in the recording group changes.

Link copied to clipboard

Provides the rule owner (Amazon Web Services for managed rules, CUSTOM_POLICY for Custom Policy rules, and CUSTOM_LAMBDA for Custom Lambda rules), the rule identifier, and the notifications that cause the function to evaluate your Amazon Web Services resources.

Functions

Link copied to clipboard
fun scope(block: Scope.Builder.() -> Unit)
Link copied to clipboard