This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
AWS::Comprehend::SentimentDetectionJob
The AWS::Comprehend::SentimentDetectionJob resource Property description not available. for Comprehend.
Syntax
To declare this entity in your CloudFormation template, use the following syntax:
JSON
{ "Type" : "AWS::Comprehend::SentimentDetectionJob", "Properties" : { "DataAccessRoleArn" :String, "InputDataConfig" :InputDataConfig, "JobName" :String, "LanguageCode" :String, "Tags" :[ Tag, ... ]} }
YAML
Type: AWS::Comprehend::SentimentDetectionJob Properties: DataAccessRoleArn:StringInputDataConfig:InputDataConfigJobName:StringLanguageCode:StringTags:- Tag
Properties
DataAccessRoleArn-
The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to your input data.
Required: Yes
Type: String
Pattern:
^arn:aws(-[^:]+)?:iam::[0-9]{12}:role/.+$Minimum:
20Maximum:
2048Update requires: Replacement
InputDataConfig-
The input data configuration that you supplied when you created the sentiment detection job.
Required: Yes
Type: InputDataConfig
Update requires: Replacement
JobName-
The name that you assigned to the sentiment detection job
Required: No
Type: String
Pattern:
^([\p{L}\p{Z}\p{N}_.:/=+\-%@]*)$Minimum:
1Maximum:
256Update requires: Replacement
LanguageCode-
The language code of the input documents.
Required: Yes
Type: String
Allowed values:
en | es | fr | de | it | pt | ar | hi | ja | ko | zh | zh-TWUpdate requires: Replacement
Property description not available.
Required: No
Type: Array of Tag
Update requires: Replacement
Return values
Ref
Fn::GetAtt
ArnProperty description not available.
JobId-
The identifier assigned to the sentiment detection job.
JobStatus-
The current status of the sentiment detection job. If the status is
FAILED, theMessagesfield shows the reason for the failure.