Skip to content
v2.276.0

SchemaReferenceProperty Struct ​

An object that references a schema stored in the AWS Glue Schema Registry.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_glue as glue } from 'aws-cdk-lib';
const schemaReferenceProperty: glue.CfnPartition.SchemaReferenceProperty = {
  schemaId: {
    registryName: 'registryName',
    schemaArn: 'schemaArn',
    schemaName: 'schemaName',
  },
  schemaVersionId: 'schemaVersionId',
  schemaVersionNumber: 123,
};

Properties ​

schemaIdoptionalIResolvable | CfnPartition.SchemaIdPropertyschema_idoptionaltyping.Union[IResolvable, SchemaIdProperty]schemaIdoptionalIResolvableSchemaIdoptionalIResolvableSchemaIdoptionalinterface{}#
A structure that contains schema identity fields.

Either this or the SchemaVersionId has to be provided.

schemaVersionIdoptionalstringschema_version_idoptionalstrschemaVersionIdoptionalStringSchemaVersionIdoptionalstringSchemaVersionIdoptional*string#
The unique ID assigned to a version of the schema.

Either this or the SchemaId has to be provided.

schemaVersionNumberoptionalnumberschema_version_numberoptionalint | floatschemaVersionNumberoptionalNumberSchemaVersionNumberoptionaldoubleSchemaVersionNumberoptional*float64#
The version number of the schema.