RuleSourceArgs

data class RuleSourceArgs(val customPolicyDetails: Output<RuleSourceCustomPolicyDetailsArgs>? = null, val owner: Output<String>, val sourceDetails: Output<List<RuleSourceSourceDetailArgs>>? = null, val sourceIdentifier: Output<String>? = null) : ConvertibleToJava<RuleSourceArgs>

Constructors

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

Properties

Link copied to clipboard

Provides the runtime system, policy definition, and whether debug logging is enabled. Required when owner is set to CUSTOM_POLICY. See Custom Policy Details Below.

Link copied to clipboard
val owner: Output<String>

Indicates whether AWS or the customer owns and manages the AWS Config rule. Valid values are AWS, CUSTOM_LAMBDA or CUSTOM_POLICY. For more information about managed rules, see the AWS Config Managed Rules documentation. For more information about custom rules, see the AWS Config Custom Rules documentation. Custom Lambda Functions require permissions to allow the AWS Config service to invoke them, e.g., via the aws.lambda.Permission resource.

Link copied to clipboard

Provides the source and type of the event that causes AWS Config to evaluate your AWS resources. Only valid if owner is CUSTOM_LAMBDA or CUSTOM_POLICY. See Source Detail Below.

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

For AWS Config managed rules, a predefined identifier, e.g IAM_PASSWORD_POLICY. For custom Lambda rules, the identifier is the ARN of the Lambda Function, such as arn:aws:lambda:us-east-1:123456789012:function:custom_rule_name or the arn attribute of the aws.lambda.Function resource.

Functions

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