Skip to content
v2.274.0

CfnFlywheelPropsMixin Mixin ​

A flywheel is an AWS resource that orchestrates the ongoing training of a model for custom classification or custom entity recognition.

You can create a flywheel to start with an existing trained model, or Comprehend can create and train a new model.

When you create the flywheel, Comprehend creates a data lake in your account. The data lake holds the training data and test data for all versions of the model.

To use a flywheel with an existing trained model, you specify the active model version. Comprehend copies the model's training data and test data into the flywheel's data lake.

To use the flywheel with a new model, you need to provide a dataset for training data (and optional test data) when you create the flywheel.

For more information about flywheels, see Flywheel overview in the Amazon Comprehend Developer Guide .

Initializer ​

ts
new CfnFlywheelPropsMixin(props: CfnFlywheelMixinProps, options?: CfnPropertyMixinOptions)
python
CfnFlywheelPropsMixin(props: CfnFlywheelMixinProps, options: typing.Optional[CfnPropertyMixinOptions] = None)
java
new CfnFlywheelPropsMixin(CfnFlywheelMixinProps props, CfnPropertyMixinOptions options)
csharp
new CfnFlywheelPropsMixin(CfnFlywheelMixinProps props, CfnPropertyMixinOptions? options = null)
go
NewCfnFlywheelPropsMixin(Props CfnFlywheelMixinProps, Options CfnPropertyMixinOptions)

Methods ​

applyTo(construct: IConstruct): voiddef apply_to(self, construct: IConstruct) -> Nonepublic void applyTo(IConstruct construct)public void ApplyTo(IConstruct construct)func ApplyTo(Construct IConstruct)#
Apply the mixin properties to the construct.
isMixin(x: any): boolean@staticmethod def is_mixin(x: Any) -> boolpublic static Boolean isMixin(Object x)public static bool IsMixin(object x)func IsMixin(X interface{}) *boolstatic#
Checks if `x` is a Mixin.
1 parameter · returns

Parameters

  • xxxxX — Any object.

Returns: true if x is an object created from a class which extends Mixin.

supports(construct: IConstruct): booleandef supports(self, construct: IConstruct) -> boolpublic Boolean supports(IConstruct construct)public bool Supports(IConstruct construct)func Supports(Construct IConstruct) *bool#
Check if this mixin supports the given construct.