ConfigRuleSourceDetailArgs

data class ConfigRuleSourceDetailArgs(val eventSource: Output<String>, val maximumExecutionFrequency: Output<String>? = null, val messageType: Output<String>) : ConvertibleToJava<ConfigRuleSourceDetailArgs>

Provides the source and the message types that trigger CC to evaluate your AWS resources against a rule. It also provides the frequency with which you want CC to run evaluations for the rule if the trigger type is periodic. You can specify the parameter values for `SourceDetail` only for custom rules.

Constructors

Link copied to clipboard
constructor(eventSource: Output<String>, maximumExecutionFrequency: Output<String>? = null, messageType: Output<String>)

Properties

Link copied to clipboard
val eventSource: Output<String>

The source of the event, such as an AWS service, that triggers CC to evaluate your AWS resources.

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

The frequency at which you want CC to run evaluations for a custom rule with a periodic trigger. If you specify a value for `MaximumExecutionFrequency`, then `MessageType` must use the `ScheduledNotification` value. By default, rules with a periodic trigger are evaluated every 24 hours. To change the frequency, specify a valid value for the `MaximumExecutionFrequency` parameter. Based on the valid value you choose, CC runs evaluations once for each valid value. For example, if you choose `Three_Hours`, CC runs evaluations once every three hours. In this case, `Three_Hours` is the frequency of this rule.

Link copied to clipboard
val messageType: Output<String>

The type of notification that triggers CC to run an evaluation for a rule. You can specify the following notification types:

Functions

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