Provides the runtime system, policy definition, and whether debug logging enabled. You can specify the following CustomPolicyDetails parameter values only for Config Custom Policy rules.
CustomPolicyDetails is a JSON Structure definition published by Amazon Config, describing 3 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-config/refs/heads/main/json-structure/config-custom-policy-details-structure.json",
"name": "CustomPolicyDetails",
"description": "Provides the runtime system, policy definition, and whether debug logging enabled. You can specify the following CustomPolicyDetails parameter values only for Config Custom Policy rules.",
"type": "object",
"properties": {
"PolicyRuntime": {
"allOf": [
{
"$ref": "#/components/schemas/PolicyRuntime"
},
{
"description": "The runtime system for your Config Custom Policy rule. Guard is a policy-as-code language that allows you to write policies that are enforced by Config Custom Policy rules. For more information about Guard, see the <a href=\"https://github.com/aws-cloudformation/cloudformation-guard\">Guard GitHub Repository</a>."
}
]
},
"PolicyText": {
"allOf": [
{
"$ref": "#/components/schemas/PolicyText"
},
{
"description": "The policy definition containing the logic for your Config Custom Policy rule."
}
]
},
"EnableDebugLogDelivery": {
"allOf": [
{
"$ref": "#/components/schemas/Boolean"
},
{
"description": "The boolean expression for enabling debug logging for your Config Custom Policy rule. The default value is <code>false</code>."
}
]
}
},
"required": [
"PolicyRuntime",
"PolicyText"
]
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.