Class CfnFlywheelProps
Properties for defining a CfnFlywheel
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Comprehend
Assembly: Amazon.CDK.AWS.Comprehend.dll
Syntax (csharp)
public class CfnFlywheelProps : Object, ICfnFlywheelProps
Syntax (vb)
Public Class CfnFlywheelProps
Inherits Object
Implements ICfnFlywheelProps
Remarks
Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-comprehend-flywheel.html
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.AWS.Comprehend;
var cfnFlywheelProps = new CfnFlywheelProps {
DataAccessRoleArn = "dataAccessRoleArn",
DataLakeS3Uri = "dataLakeS3Uri",
FlywheelName = "flywheelName",
// the properties below are optional
ActiveModelArn = "activeModelArn",
DataSecurityConfig = new DataSecurityConfigProperty {
DataLakeKmsKeyId = "dataLakeKmsKeyId",
ModelKmsKeyId = "modelKmsKeyId",
VolumeKmsKeyId = "volumeKmsKeyId",
VpcConfig = new VpcConfigProperty {
SecurityGroupIds = new [] { "securityGroupIds" },
Subnets = new [] { "subnets" }
}
},
ModelType = "modelType",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
TaskConfig = new TaskConfigProperty {
LanguageCode = "languageCode",
// the properties below are optional
DocumentClassificationConfig = new DocumentClassificationConfigProperty {
Mode = "mode",
// the properties below are optional
Labels = new [] { "labels" }
},
EntityRecognitionConfig = new EntityRecognitionConfigProperty {
EntityTypes = new [] { new EntityTypesListItemProperty {
Type = "type"
} }
}
}
};
Synopsis
Constructors
CfnFlywheelProps() |
Properties
ActiveModelArn | The Amazon Resource Number (ARN) of the active model version. |
DataAccessRoleArn | The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend permission to access the flywheel data. |
DataLakeS3Uri | Amazon S3 URI of the data lake location. |
DataSecurityConfig | Data security configuration. |
FlywheelName | Name for the flywheel. |
ModelType | Model type of the flywheel's model. |
Tags | Tags associated with the endpoint being created. |
TaskConfig | Configuration about the model associated with a flywheel. |
Constructors
CfnFlywheelProps()
public CfnFlywheelProps()
Properties
ActiveModelArn
The Amazon Resource Number (ARN) of the active model version.
public string ActiveModelArn { get; set; }
Property Value
System.String
Remarks
DataAccessRoleArn
The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend permission to access the flywheel data.
public string DataAccessRoleArn { get; set; }
Property Value
System.String
Remarks
DataLakeS3Uri
Amazon S3 URI of the data lake location.
public string DataLakeS3Uri { get; set; }
Property Value
System.String
Remarks
DataSecurityConfig
Data security configuration.
public object DataSecurityConfig { get; set; }
Property Value
System.Object
Remarks
FlywheelName
Name for the flywheel.
public string FlywheelName { get; set; }
Property Value
System.String
Remarks
ModelType
Model type of the flywheel's model.
public string ModelType { get; set; }
Property Value
System.String
Remarks
Tags
Tags associated with the endpoint being created.
public ICfnTag[] Tags { get; set; }
Property Value
ICfnTag[]
Remarks
A tag is a key-value pair that adds metadata to the endpoint. For example, a tag with "Sales" as the key might be added to an endpoint to indicate its use by the sales department.
TaskConfig
Configuration about the model associated with a flywheel.
public object TaskConfig { get; set; }
Property Value
System.Object