AWS::Personalize::SchemaCreates an Amazon Personalize schema from the specified schema string. The schema you create must be in Avro JSON format. Amazon Personalize recognizes three schema variants. Each schema is associated with a dataset type and has a set of required field and keywords. If you are creating a schema for a dataset in a Domain dataset group, you provide the domain of the Domain dataset group. You specify a schema when you call [CreateDataset](https://docs.aws.amazon.com/personalize/latest/dg/API_CreateDataset.html) . For more information on schemas, see [Datasets and schemas](https://docs.aws.amazon.com/personalize/latest/dg/how-it-works-dataset-schema.html) . **Related APIs** - [ListSchemas](https://docs.aws.amazon.com/personalize/latest/dg/API_ListSchemas.html) - [DescribeSchema](https://docs.aws.amazon.com/personalize/latest/dg/API_DescribeSchema.html) - [DeleteSchema](https://docs.aws.amazon.com/personalize/latest/dg/API_DeleteSchema.html)
import { CfnSchema } from 'aws-cdk-lib/aws-personalize';Or use the module namespace:
import * as personalize from 'aws-cdk-lib/aws-personalize';
// personalize.CfnSchemaConfiguration passed to the constructor as CfnSchemaProps.
nameRequiredstringThe name of the schema.
schemaRequiredstringThe schema.
domainOptionalstringThe domain of a schema that you created for a dataset in a Domain dataset group.
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-personalizeAWS::Personalize::Schema