CustomPolicyDetails - Amazon Config
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China.

CustomPolicyDetails

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

Contents

EnableDebugLogDelivery

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

Type: Boolean

Required: No

PolicyRuntime

The runtime system for your Amazon Config Custom Policy rule. Guard is a policy-as-code language that allows you to write policies that are enforced by Amazon 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 Amazon Config Custom Policy rule.

Type: String

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

Required: Yes

See Also

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