CustomPolicyDetails - AWS Config

CustomPolicyDetails

Provides the runtime system, policy definition, and whether debug logging enabled. You can specify the following CustomPolicyDetails parameter values only for AWS Config Custom Policy rules.

Contents

PolicyRuntime

The runtime system for your AWS Config Custom Policy rule. Guard is a policy-as-code language that allows you to write policies that are enforced by AWS Config Custom Policy rules. For more information about Guard, see the Guard GitHub Repository.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 64.

Pattern: guard\-2\.x\.x

Required: Yes

PolicyText

The policy definition containing the logic for your AWS Config Custom Policy rule.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 10000.

Required: Yes

EnableDebugLogDelivery

The boolean expression for enabling debug logging for your AWS Config Custom Policy rule. The default value is false.

Type: Boolean

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: