

This is the new *Amazon CloudFormation Template Reference Guide*. Please update your bookmarks and links. For help getting started with CloudFormation, see the [Amazon CloudFormation User Guide](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/Welcome.html).

# AWS::Comprehend::EntityRecognizer EntityRecognizerAnnotations
<a name="aws-properties-comprehend-entityrecognizer-entityrecognizerannotations"></a>

Describes the annotations associated with a entity recognizer.

## Syntax
<a name="aws-properties-comprehend-entityrecognizer-entityrecognizerannotations-syntax"></a>

To declare this entity in your Amazon CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-comprehend-entityrecognizer-entityrecognizerannotations-syntax.json"></a>

```
{
  "[S3Uri](#cfn-comprehend-entityrecognizer-entityrecognizerannotations-s3uri)" : {{String}},
  "[TestS3Uri](#cfn-comprehend-entityrecognizer-entityrecognizerannotations-tests3uri)" : {{String}}
}
```

### YAML
<a name="aws-properties-comprehend-entityrecognizer-entityrecognizerannotations-syntax.yaml"></a>

```
  [S3Uri](#cfn-comprehend-entityrecognizer-entityrecognizerannotations-s3uri): {{String}}
  [TestS3Uri](#cfn-comprehend-entityrecognizer-entityrecognizerannotations-tests3uri): {{String}}
```

## Properties
<a name="aws-properties-comprehend-entityrecognizer-entityrecognizerannotations-properties"></a>

`S3Uri`  <a name="cfn-comprehend-entityrecognizer-entityrecognizerannotations-s3uri"></a>
 Specifies the Amazon S3 location where the annotations for an entity recognizer are located. The URI must be in the same Region as the API endpoint that you are calling.  
*Required*: Yes  
*Type*: String  
*Pattern*: `^s3://[a-z0-9][\.\-a-z0-9]{1,61}[a-z0-9](/.*)?$`  
*Maximum*: `1024`  
*Update requires*: [Replacement](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

`TestS3Uri`  <a name="cfn-comprehend-entityrecognizer-entityrecognizerannotations-tests3uri"></a>
 Specifies the Amazon S3 location where the test annotations for an entity recognizer are located. The URI must be in the same Region as the API endpoint that you are calling.  
*Required*: No  
*Type*: String  
*Pattern*: `^s3://[a-z0-9][\.\-a-z0-9]{1,61}[a-z0-9](/.*)?$`  
*Maximum*: `1024`  
*Update requires*: [Replacement](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)