Skip to main content

PublishResourceTypeInput

Upsert a resource type for your organization from a JSON Schema document. If an existing resource type has the same identifier, its schema is replaced. Deprecated: this mutation exists solely to bridge V0 publishArtifactDefinition into the V2 API while resource types are being migrated to OCI. New integrations should use the OCI-native publishing flow — this mutation may be removed without notice.

input PublishResourceTypeInput {
schema: Map!
}

Fields

PublishResourceTypeInput.schema ● Map! non-null scalar {#schema}

The full JSON Schema document describing the shape of data this resource type exposes to dependents. Must include $md.name (a kebab-case identifier like aws-iam-role) and should include $md.label, $md.icon, and $md.ui.connectionOrientation.

Member Of

publishResourceType mutation