Show / Hide Table of Contents

Interface ICfnEntityRecognizerProps

Properties for defining a CfnEntityRecognizer.

Namespace: Amazon.CDK.AWS.Comprehend
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnEntityRecognizerProps
Syntax (vb)
Public Interface ICfnEntityRecognizerProps
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-comprehend-entityrecognizer.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 cfnEntityRecognizerProps = new CfnEntityRecognizerProps {
                 DataAccessRoleArn = "dataAccessRoleArn",
                 InputDataConfig = new EntityRecognizerInputDataConfigProperty {
                     EntityTypes = new [] { new EntityTypesListItemProperty {
                         Type = "type"
                     } },

                     // the properties below are optional
                     Annotations = new EntityRecognizerAnnotationsProperty {
                         S3Uri = "s3Uri",

                         // the properties below are optional
                         TestS3Uri = "testS3Uri"
                     },
                     AugmentedManifests = new [] { new AugmentedManifestsListItemProperty {
                         AttributeNames = new [] { "attributeNames" },
                         S3Uri = "s3Uri",

                         // the properties below are optional
                         AnnotationDataS3Uri = "annotationDataS3Uri",
                         DocumentType = "documentType",
                         SourceDocumentsS3Uri = "sourceDocumentsS3Uri",
                         Split = "split"
                     } },
                     DataFormat = "dataFormat",
                     Documents = new EntityRecognizerDocumentsProperty {
                         S3Uri = "s3Uri",

                         // the properties below are optional
                         InputFormat = "inputFormat",
                         TestS3Uri = "testS3Uri"
                     },
                     EntityList = new EntityRecognizerEntityListProperty {
                         S3Uri = "s3Uri"
                     }
                 },
                 LanguageCode = "languageCode",
                 RecognizerName = "recognizerName",

                 // the properties below are optional
                 ModelKmsKeyId = "modelKmsKeyId",
                 ModelPolicy = "modelPolicy",
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } },
                 VersionName = "versionName",
                 VolumeKmsKeyId = "volumeKmsKeyId",
                 VpcConfig = new VpcConfigProperty {
                     SecurityGroupIds = new [] { "securityGroupIds" },
                     Subnets = new [] { "subnets" }
                 }
             };

Synopsis

Properties

DataAccessRoleArn

The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to your input data.

InputDataConfig

Specifies the format and location of the input data for an entity recognizer.

LanguageCode

The language of the input documents.

ModelKmsKeyId

ID for the AWS KMS key that Amazon Comprehend uses to encrypt trained custom models.

ModelPolicy

The JSON resource-based policy to attach to your custom entity recognizer model.

RecognizerName

The name given to the entity recognizer.

Tags

Tags to associate with the entity recognizer.

VersionName

The version name given to the entity recognizer.

VolumeKmsKeyId

ID for the AWS KMS key that Amazon Comprehend uses to encrypt data on the storage volume attached to the ML compute instance(s).

VpcConfig

Configuration parameters for an optional private Virtual Private Cloud (VPC) containing the resources you are using for the job.

Properties

DataAccessRoleArn

The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to your input data.

string DataAccessRoleArn { get; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-comprehend-entityrecognizer.html#cfn-comprehend-entityrecognizer-dataaccessrolearn

InputDataConfig

Specifies the format and location of the input data for an entity recognizer.

object InputDataConfig { get; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-comprehend-entityrecognizer.html#cfn-comprehend-entityrecognizer-inputdataconfig

Type union: either IResolvable or CfnEntityRecognizer.IEntityRecognizerInputDataConfigProperty

LanguageCode

The language of the input documents.

string LanguageCode { get; }
Property Value

string

Remarks

All documents must be in the same language.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-comprehend-entityrecognizer.html#cfn-comprehend-entityrecognizer-languagecode

ModelKmsKeyId

ID for the AWS KMS key that Amazon Comprehend uses to encrypt trained custom models.

string? ModelKmsKeyId { get; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-comprehend-entityrecognizer.html#cfn-comprehend-entityrecognizer-modelkmskeyid

ModelPolicy

The JSON resource-based policy to attach to your custom entity recognizer model.

string? ModelPolicy { get; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-comprehend-entityrecognizer.html#cfn-comprehend-entityrecognizer-modelpolicy

RecognizerName

The name given to the entity recognizer.

string RecognizerName { get; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-comprehend-entityrecognizer.html#cfn-comprehend-entityrecognizer-recognizername

Tags

Tags to associate with the entity recognizer.

ICfnTag[]? Tags { get; }
Property Value

ICfnTag[]

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-comprehend-entityrecognizer.html#cfn-comprehend-entityrecognizer-tags

VersionName

The version name given to the entity recognizer.

string? VersionName { get; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-comprehend-entityrecognizer.html#cfn-comprehend-entityrecognizer-versionname

VolumeKmsKeyId

ID for the AWS KMS key that Amazon Comprehend uses to encrypt data on the storage volume attached to the ML compute instance(s).

string? VolumeKmsKeyId { get; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-comprehend-entityrecognizer.html#cfn-comprehend-entityrecognizer-volumekmskeyid

VpcConfig

Configuration parameters for an optional private Virtual Private Cloud (VPC) containing the resources you are using for the job.

object? VpcConfig { get; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-comprehend-entityrecognizer.html#cfn-comprehend-entityrecognizer-vpcconfig

Type union: either IResolvable or CfnEntityRecognizer.IVpcConfigProperty

Back to top Generated by DocFX