GeneratedPolicyResult

Contains the text for the generated policy and its details.

Access ControlComplianceIAMPolicy ManagementSecurity

Properties

Name Type Description
properties object A GeneratedPolicyProperties object that contains properties of the generated policy.
generatedPolicies object
View JSON Schema on GitHub

JSON Schema

iam-access-analyzer-generated-policy-result-schema.json Raw ↑
{
  "$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-result-schema.json",
  "title": "GeneratedPolicyResult",
  "description": "Contains the text for the generated policy and its details.",
  "type": "object",
  "properties": {
    "properties": {
      "description": "A <code>GeneratedPolicyProperties</code> object that contains properties of the generated policy."
    },
    "generatedPolicies": {
      "allOf": [
        {
          "$ref": "#/components/schemas/GeneratedPolicyList"
        },
        {
          "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": [
    "properties"
  ]
}