Class CfnSchemaPropsMixin
Creates an Amazon Personalize schema from the specified schema string.
Implements
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.Personalize
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnSchemaPropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnSchemaPropsMixin Inherits Mixin Implements IMixin
Remarks
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 .
For more information on schemas, see Datasets and schemas .
Related APIs - ListSchemas
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-personalize-schema.html
CloudformationResource: AWS::Personalize::Schema
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.Personalize;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnSchemaPropsMixin = new CfnSchemaPropsMixin(new CfnSchemaMixinProps {
Domain = "domain",
Name = "name",
Schema = "schema"
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Synopsis
Constructors
| CfnSchemaPropsMixin(ICfnSchemaMixinProps, ICfnPropertyMixinOptions?) | Create a mixin to apply properties to |
Properties
| CFN_PROPERTY_KEYS | Creates an Amazon Personalize schema from the specified schema string. |
| Props | Creates an Amazon Personalize schema from the specified schema string. |
| Strategy | Creates an Amazon Personalize schema from the specified schema string. |
Methods
| ApplyTo(IConstruct) | Apply the mixin properties to the construct. |
| Supports(IConstruct) | Check if this mixin supports the given construct. |
Constructors
CfnSchemaPropsMixin(ICfnSchemaMixinProps, ICfnPropertyMixinOptions?)
Create a mixin to apply properties to AWS::Personalize::Schema.
public CfnSchemaPropsMixin(ICfnSchemaMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
- props ICfnSchemaMixinProps
L1 properties to apply.
- options ICfnPropertyMixinOptions
Mixin options.
Remarks
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 .
For more information on schemas, see Datasets and schemas .
Related APIs - ListSchemas
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-personalize-schema.html
CloudformationResource: AWS::Personalize::Schema
Mixin: true
ExampleMetadata: fixture=_generated
Properties
CFN_PROPERTY_KEYS
Creates an Amazon Personalize schema from the specified schema string.
protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value
string[]
Remarks
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 .
For more information on schemas, see Datasets and schemas .
Related APIs - ListSchemas
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-personalize-schema.html
CloudformationResource: AWS::Personalize::Schema
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.Personalize;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnSchemaPropsMixin = new CfnSchemaPropsMixin(new CfnSchemaMixinProps {
Domain = "domain",
Name = "name",
Schema = "schema"
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Props
Creates an Amazon Personalize schema from the specified schema string.
protected virtual ICfnSchemaMixinProps Props { get; }
Property Value
Remarks
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 .
For more information on schemas, see Datasets and schemas .
Related APIs - ListSchemas
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-personalize-schema.html
CloudformationResource: AWS::Personalize::Schema
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.Personalize;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnSchemaPropsMixin = new CfnSchemaPropsMixin(new CfnSchemaMixinProps {
Domain = "domain",
Name = "name",
Schema = "schema"
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Strategy
Creates an Amazon Personalize schema from the specified schema string.
protected virtual IMergeStrategy Strategy { get; }
Property Value
Remarks
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 .
For more information on schemas, see Datasets and schemas .
Related APIs - ListSchemas
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-personalize-schema.html
CloudformationResource: AWS::Personalize::Schema
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.Personalize;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnSchemaPropsMixin = new CfnSchemaPropsMixin(new CfnSchemaMixinProps {
Domain = "domain",
Name = "name",
Schema = "schema"
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Methods
ApplyTo(IConstruct)
Apply the mixin properties to the construct.
public override void ApplyTo(IConstruct construct)
Parameters
- construct IConstruct
Overrides
Remarks
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 .
For more information on schemas, see Datasets and schemas .
Related APIs - ListSchemas
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-personalize-schema.html
CloudformationResource: AWS::Personalize::Schema
Mixin: true
ExampleMetadata: fixture=_generated
Supports(IConstruct)
Check if this mixin supports the given construct.
public override bool Supports(IConstruct construct)
Parameters
- construct IConstruct
Returns
Overrides
Remarks
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 .
For more information on schemas, see Datasets and schemas .
Related APIs - ListSchemas
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-personalize-schema.html
CloudformationResource: AWS::Personalize::Schema
Mixin: true
ExampleMetadata: fixture=_generated