{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-iam-access-analyzer/refs/heads/main/json-schema/iam-access-analyzer-generated-policy-schema.json",
"title": "GeneratedPolicy",
"description": "Contains the text for the generated policy.",
"type": "object",
"properties": {
"policy": {
"allOf": [
{
"$ref": "#/components/schemas/String"
},
{
"description": "The text to use as the content for the new policy. The policy is created using the <a href=\"https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreatePolicy.html\">CreatePolicy</a> action."
}
]
}
},
"required": [
"policy"
]
}