ConfigRuleSourceArgs

data class ConfigRuleSourceArgs(val customPolicyDetails: Output<ConfigRuleCustomPolicyDetailsArgs>? = null, val owner: Output<String>, val sourceDetails: Output<List<ConfigRuleSourceDetailArgs>>? = null, val sourceIdentifier: Output<String>? = null) : ConvertibleToJava<ConfigRuleSourceArgs>

Provides the CustomPolicyDetails, the rule owner (```` for managed rules, `CUSTOM_POLICY` for Custom Policy rules, and `CUSTOM_LAMBDA` for Custom Lambda rules), the rule identifier, and the events that cause the evaluation of your AWS resources. @property customPolicyDetails Provides the runtime system, policy definition, and whether debug logging is enabled. Required when owner is set to `CUSTOM_POLICY`. @property owner Indicates whether AWS or the customer owns and manages the CC rule. CC Managed Rules are predefined rules owned by AWS. For more information, see Managed Rules in the developer guide. CC Custom Rules are rules that you can develop either with Guard (`CUSTOM_POLICY`) or LAMlong (`CUSTOM_LAMBDA`). For more information, see Custom Rules in the developer guide. @property sourceDetails Provides the source and the message types that cause 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. If the owner is set to `CUSTOM_POLICY`, the only acceptable values for the CC rule trigger message type are `ConfigurationItemChangeNotification` and `OversizedConfigurationItemChangeNotification`. @property sourceIdentifier For CC Managed rules, a predefined identifier from a list. For example, `IAM_PASSWORD_POLICY` is a managed rule. To reference a managed rule, see List of Managed Rules. For CC Custom Lambda rules, the identifier is the Amazon Resource Name (ARN) of the rule's LAMlong function, such as `arn:aws:lambda:us-east-2:123456789012:function:custom_rule_name`. For CC Custom Policy rules, this field will be ignored.

Constructors

Link copied to clipboard
constructor(customPolicyDetails: Output<ConfigRuleCustomPolicyDetailsArgs>? = null, owner: Output<String>, sourceDetails: Output<List<ConfigRuleSourceDetailArgs>>? = null, sourceIdentifier: Output<String>? = null)

Properties

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

Functions

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