schemas:ExportSchema

Read

schemas:ExportSchema is a Read access-level action in the schemas service. Grants permission to export the AWS registry or discovered schemas in OpenAPI 3 format to JSONSchema format

Resource types

ARNs that schemas:ExportSchema can be scoped to in an IAM policy.

arn:${Partition}:schemas:${Region}:${Account}:registry/${RegistryName}
registry
arn:${Partition}:schemas:${Region}:${Account}:schema/${RegistryName}/${SchemaName}
schema

Condition keys

Keys you can use in the Condition block of a policy that grants schemas:ExportSchema.

aws:ResourceTag/${TagKey} String

Filters access by tag-value associated with the resource

Example IAM policy

A minimal policy that allows schemas:ExportSchema. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowSchemasExportSchema",
      "Effect": "Allow",
      "Action": "schemas:ExportSchema",
      "Resource": "*"
    }
  ]
}

Related actions in schemas

View all schemas actions →