CreateAccessPreviewRequest

Access ControlAmazon Web ServicesComplianceIdentity and Access ManagementPolicy ManagementSecurity

Properties

Name Type Description
analyzerArn string The ARN of the account analyzer used to generate the access preview. You can only create an access preview for analyzers with an Account type and Active status.
configurations object Access control configuration for your resource that is used to generate the access preview. The access preview includes findings for external access allowed to the resource with the proposed access co
clientToken string A client token.
View JSON Schema on GitHub

JSON Schema

amazon-iam-access-analyzer-create-access-preview-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-iam-access-analyzer/json-schema/amazon-iam-access-analyzer-create-access-preview-request-schema.json",
  "title": "CreateAccessPreviewRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-iam-access-analyzer-access-preview-api-openapi.yml#/components/schemas/CreateAccessPreviewRequest",
  "type": "object",
  "properties": {
    "analyzerArn": {
      "type": "string",
      "description": "The ARN of the account analyzer used to generate the access preview. You can only create an access preview for analyzers with an Account type and Active status."
    },
    "configurations": {
      "type": "object",
      "additionalProperties": {
        "$ref": "#/$defs/Configuration"
      },
      "description": "Access control configuration for your resource that is used to generate the access preview. The access preview includes findings for external access allowed to the resource with the proposed access control configuration. The configuration must contain exactly one element."
    },
    "clientToken": {
      "type": "string",
      "description": "A client token."
    }
  },
  "required": [
    "analyzerArn",
    "configurations"
  ],
  "$defs": {
    "AclGrantee": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "The value specified is the canonical user ID of an Amazon Web Services account."
        },
        "uri": {
          "type": "string",
          "description": "Used for granting permissions to a predefined group."
        }
      },
      "description": "Exactly one member is set."
    },
    "Configuration": {
      "type": "object",
      "properties": {
        "ebsSnapshot": {
          "$ref": "#/$defs/EbsSnapshotConfiguration"
        },
        "ecrRepository": {
          "$ref": "#/$defs/EcrRepositoryConfiguration"
        },
        "iamRole": {
          "$ref": "#/$defs/IamRoleConfiguration"
        },
        "efsFileSystem": {
          "$ref": "#/$defs/EfsFileSystemConfiguration"
        },
        "kmsKey": {
          "$ref": "#/$defs/KmsKeyConfiguration"
        },
        "rdsDbClusterSnapshot": {
          "$ref": "#/$defs/RdsDbClusterSnapshotConfiguration"
        },
        "rdsDbSnapshot": {
          "$ref": "#/$defs/RdsDbSnapshotConfiguration"
        },
        "secretsManagerSecret": {
          "$ref": "#/$defs/SecretsManagerSecretConfiguration"
        },
        "s3Bucket": {
          "$ref": "#/$defs/S3BucketConfiguration"
        },
        "snsTopic": {
          "$ref": "#/$defs/SnsTopicConfiguration"
        },
        "sqsQueue": {
          "$ref": "#/$defs/SqsQueueConfiguration"
        },
        "s3ExpressDirectoryBucket": {
          "$ref": "#/$defs/S3ExpressDirectoryBucketConfiguration"
        },
        "dynamodbStream": {
          "$ref": "#/$defs/DynamodbStreamConfiguration"
        },
        "dynamodbTable": {
          "$ref": "#/$defs/DynamodbTableConfiguration"
        }
      },
      "description": "Exactly one member is set."
    },
    "DynamodbStreamConfiguration": {
      "type": "object",
      "properties": {
        "streamPolicy": {
          "type": "string",
          "description": "The proposed resource policy defining who can access or manage the DynamoDB stream."
        }
      }
    },
    "DynamodbTableConfiguration": {
      "type": "object",
      "properties": {
        "tablePolicy": {
          "type": "string",
          "description": "The proposed resource policy defining who can access or manage the DynamoDB table."
        }
      }
    },
    "EbsSnapshotConfiguration": {
      "type": "object",
      "properties": {
        "userIds": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The IDs of the Amazon Web Services accounts that have access to the Amazon EBS volume snapshot. If the configuration is for an existing Amazon EBS volume snapshot and you do not specify the userIds, then the access preview uses the existing shared userIds for the snapshot. If the access preview is for a new resource and you do not specify the userIds, then the access preview considers the snapshot without any userIds. To propose deletion of existing shared accountIds, you can specify an empty list for userIds."
        },
        "groups": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The groups that have access to the Amazon EBS volume snapshot. If the value all is specified, then the Amazon EBS volume snapshot is public. If the configuration is for an existing Amazon EBS volume snapshot and you do not specify the groups, then the access preview uses the existing shared groups for the snapshot. If the access preview is for a new resource and you do not specify the groups, then the access preview considers the snapshot without any groups. To propose deletion of existing shared groups, you can specify an empty list for groups."
        },
        "kmsKeyId": {
          "type": "string",
          "description": "The KMS key identifier for an encrypted Amazon EBS volume snapshot. The KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. If the configuration is for an existing Amazon EBS volume snapshot and you do not specify the kmsKeyId, or you specify an empty string, then the access preview uses the existing kmsKeyId of the snapshot. If the access preview is for a new resource and you do not specify the kmsKeyId, the access preview considers the snapshot as unencrypted."
        }
      }
    },
    "EcrRepositoryConfiguration": {
      "type": "object",
      "properties": {
        "repositoryPolicy": {
          "type": "string",
          "description": "The JSON repository policy text to apply to the Amazon ECR repository. For more information, see Private repository policy examples in the Amazon ECR User Guide."
        }
      }
    },
    "EfsFileSystemConfiguration": {
      "type": "object",
      "properties": {
        "fileSystemPolicy": {
          "type": "string",
          "description": "The JSON policy definition to apply to the Amazon EFS file system. For more information on the elements that make up a file system policy, see Amazon EFS Resource-based policies."
        }
      }
    },
    "IamRoleConfiguration": {
      "type": "object",
      "properties": {
        "trustPolicy": {
          "type": "string",
          "description": "The proposed trust policy for the IAM role."
        }
      }
    },
    "InternetConfiguration": {
      "type": "object",
      "properties": {}
    },
    "KmsGrantConfiguration": {
      "type": "object",
      "properties": {
        "operations": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "A list of operations that the grant permits."
        },
        "granteePrincipal": {
          "type": "string",
          "description": "The principal that is given permission to perform the operations that the grant permits."
        },
        "retiringPrincipal": {
          "type": "string",
          "description": "The principal that is given permission to retire the grant by using RetireGrant operation."
        },
        "constraints": {
          "$ref": "#/$defs/KmsGrantConstraints"
        },
        "issuingAccount": {
          "type": "string",
          "description": "The Amazon Web Services account under which the grant was issued. The account is used to propose KMS grants issued by accounts other than the owner of the key."
        }
      },
      "required": [
        "operations",
        "granteePrincipal",
        "issuingAccount"
      ]
    },
    "KmsGrantConstraints": {
      "type": "object",
      "properties": {
        "encryptionContextEquals": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "A list of key-value pairs that must match the encryption context in the cryptographic operation request. The grant allows the operation only when the encryption context in the request is the same as the encryption context specified in this constraint."
        },
        "encryptionContextSubset": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "A list of key-value pairs that must be included in the encryption context of the cryptographic operation request. The grant allows the cryptographic operation only when the encryption context in the request includes the key-value pairs specified in this constraint, although it can include additional key-value pairs."
        }
      }
    },
    "KmsKeyConfiguration": {
      "type": "object",
      "properties": {
        "keyPolicies": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "Resource policy configuration for the KMS key. The only valid value for the name of the key policy is default. For more information, see Default key policy."
        },
        "grants": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/KmsGrantConfiguration"
          },
          "description": "A list of proposed grant configurations for the KMS key. If the proposed grant configuration is for an existing key, the access preview uses the proposed list of grant configurations in place of the existing grants. Otherwise, the access preview uses the existing grants for the key."
        }
      }
    },
    "NetworkOriginConfiguration": {
      "type": "object",
      "properties": {
        "vpcConfiguration": {
          "$ref": "#/$defs/VpcConfiguration"
        },
        "internetConfiguration": {
          "$ref": "#/$defs/InternetConfiguration"
        }
      },
      "description": "Exactly one member is set."
    },
    "RdsDbClusterSnapshotAttributeValue": {
      "type": "object",
      "properties": {
        "accountIds": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The Amazon Web Services account IDs that have access to the manual Amazon RDS DB cluster snapshot. If the value all is specified, then the Amazon RDS DB cluster snapshot is public and can be copied or restored by all Amazon Web Services accounts. If the configuration is for an existing Amazon RDS DB cluster snapshot and you do not specify the accountIds in RdsDbClusterSnapshotAttributeValue, then the access preview uses the existing shared accountIds for the snapshot. If the access preview is for a new resource and you do not specify the specify the accountIds in RdsDbClusterSnapshotAttributeV"
        }
      },
      "description": "Exactly one member is set."
    },
    "RdsDbClusterSnapshotConfiguration": {
      "type": "object",
      "properties": {
        "attributes": {
          "type": "object",
          "additionalProperties": {
            "$ref": "#/$defs/RdsDbClusterSnapshotAttributeValue"
          },
          "description": "The names and values of manual DB cluster snapshot attributes. Manual DB cluster snapshot attributes are used to authorize other Amazon Web Services accounts to restore a manual DB cluster snapshot. The only valid value for AttributeName for the attribute map is restore"
        },
        "kmsKeyId": {
          "type": "string",
          "description": "The KMS key identifier for an encrypted Amazon RDS DB cluster snapshot. The KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. If the configuration is for an existing Amazon RDS DB cluster snapshot and you do not specify the kmsKeyId, or you specify an empty string, then the access preview uses the existing kmsKeyId of the snapshot. If the access preview is for a new resource and you do not specify the specify the kmsKeyId, then the access preview considers the snapshot as unencrypted."
        }
      }
    },
    "RdsDbSnapshotAttributeValue": {
      "type": "object",
      "properties": {
        "accountIds": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The Amazon Web Services account IDs that have access to the manual Amazon RDS DB snapshot. If the value all is specified, then the Amazon RDS DB snapshot is public and can be copied or restored by all Amazon Web Services accounts. If the configuration is for an existing Amazon RDS DB snapshot and you do not specify the accountIds in RdsDbSnapshotAttributeValue, then the access preview uses the existing shared accountIds for the snapshot. If the access preview is for a new resource and you do not specify the specify the accountIds in RdsDbSnapshotAttributeValue, then the access preview consider"
        }
      },
      "description": "Exactly one member is set."
    },
    "RdsDbSnapshotConfiguration": {
      "type": "object",
      "properties": {
        "attributes": {
          "type": "object",
          "additionalProperties": {
            "$ref": "#/$defs/RdsDbSnapshotAttributeValue"
          },
          "description": "The names and values of manual DB snapshot attributes. Manual DB snapshot attributes are used to authorize other Amazon Web Services accounts to restore a manual DB snapshot. The only valid value for attributeName for the attribute map is restore."
        },
        "kmsKeyId": {
          "type": "string",
          "description": "The KMS key identifier for an encrypted Amazon RDS DB snapshot. The KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. If the configuration is for an existing Amazon RDS DB snapshot and you do not specify the kmsKeyId, or you specify an empty string, then the access preview uses the existing kmsKeyId of the snapshot. If the access preview is for a new resource and you do not specify the specify the kmsKeyId, then the access preview considers the snapshot as unencrypted."
        }
      }
    },
    "S3AccessPointConfiguration": {
      "type": "object",
      "properties": {
        "accessPointPolicy": {
          "type": "string",
          "description": "The access point or multi-region access point policy."
        },
        "publicAccessBlock": {
          "$ref": "#/$defs/S3PublicAccessBlockConfiguration"
        },
        "networkOrigin": {
          "$ref": "#/$defs/NetworkOriginConfiguration"
        }
      }
    },
    "S3BucketAclGrantConfiguration": {
      "type": "object",
      "properties": {
        "permission": {
          "type": "string",
          "description": "The permissions being granted."
        },
        "grantee": {
          "$ref": "#/$defs/AclGrantee"
        }
      },
      "required": [
        "permission",
        "grantee"
      ]
    },
    "S3BucketConfiguration": {
      "type": "object",
      "properties": {
        "bucketPolicy": {
          "type": "string",
          "description": "The proposed bucket policy for the Amazon S3 bucket."
        },
        "bucketAclGrants": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/S3BucketAclGrantConfiguration"
          },
          "description": "The proposed list of ACL grants for the Amazon S3 bucket. You can propose up to 100 ACL grants per bucket. If the proposed grant configuration is for an existing bucket, the access preview uses the proposed list of grant configurations in place of the existing grants. Otherwise, the access preview uses the existing grants for the bucket."
        },
        "bucketPublicAccessBlock": {
          "$ref": "#/$defs/S3PublicAccessBlockConfiguration"
        },
        "accessPoints": {
          "type": "object",
          "additionalProperties": {
            "$ref": "#/$defs/S3AccessPointConfiguration"
          },
          "description": "The configuration of Amazon S3 access points or multi-region access points for the bucket. You can propose up to 10 new access points per bucket."
        }
      }
    },
    "S3ExpressDirectoryAccessPointConfiguration": {
      "type": "object",
      "properties": {
        "accessPointPolicy": {
          "type": "string",
          "description": "The proposed access point policy for an Amazon S3 directory bucket access point."
        },
        "networkOrigin": {
          "$ref": "#/$defs/NetworkOriginConfiguration"
        }
      }
    },
    "S3ExpressDirectoryBucketConfiguration": {
      "type": "object",
      "properties": {
        "bucketPolicy": {
          "type": "string",
          "description": "The proposed bucket policy for the Amazon S3 directory bucket."
        },
        "accessPoints": {
          "type": "object",
          "additionalProperties": {
            "$ref": "#/$defs/S3ExpressDirectoryAccessPointConfiguration"
          },
          "description": "The proposed access points for the Amazon S3 directory bucket."
        }
      }
    },
    "S3PublicAccessBlockConfiguration": {
      "type": "object",
      "properties": {
        "ignorePublicAcls": {
          "type": "boolean",
          "description": "Specifies whether Amazon S3 should ignore public ACLs for this bucket and objects in this bucket."
        },
        "restrictPublicBuckets": {
          "type": "boolean",
          "description": "Specifies whether Amazon S3 should restrict public bucket policies for this bucket."
        }
      },
      "required": [
        "ignorePublicAcls",
        "restrictPublicBuckets"
      ]
    },
    "SecretsManagerSecretConfiguration": {
      "type": "object",
      "properties": {
        "kmsKeyId": {
          "type": "string",
          "description": "The proposed ARN, key ID, or alias of the KMS key."
        },
        "secretPolicy": {
          "type": "string",
          "description": "The proposed resource policy defining who can access or manage the secret."
        }
      }
    },
    "SnsTopicConfiguration": {
      "type": "object",
      "properties": {
        "topicPolicy": {
          "type": "string",
          "description": "The JSON policy text that defines who can access an Amazon SNS topic. For more information, see Example cases for Amazon SNS access control in the Amazon SNS Developer Guide."
        }
      }
    },
    "SqsQueueConfiguration": {
      "type": "object",
      "properties": {
        "queuePolicy": {
          "type": "string",
          "description": "The proposed resource policy for the Amazon SQS queue."
        }
      }
    },
    "VpcConfiguration": {
      "type": "object",
      "properties": {
        "vpcId": {
          "type": "string",
          "description": "If this field is specified, this access point will only allow connections from the specified VPC ID."
        }
      },
      "required": [
        "vpcId"
      ]
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/amazon-iam-access-analyzer-create-access-preview-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.