The Comprehend connector uses AWS credentials and Amazon Comprehend configuration settings to authenticate with AWS services and perform entity recognition, PII detection, and document classification tasks. These parameters are configured at the connector instance level and are used by all Comprehend connector actions.
You can find the list of configuration parameters when you select the desired connector from the left pane.
This view displays all connector settings and configurations that are applied among all actions. You can use configuration parameters to store values that are shared across multiple tasks executed with the same connector, such as service endpoints and connection settings. Configuration parameters are configured at the connector instance level and are available to all actions performed by that connector.
When configuring authentication properties or connector parameters, use environment secret references instead of hardcoding credentials, API keys, tokens, or other sensitive values. Secrets are stored separately from application metadata, encrypted at rest, transmitted securely, and resolved only when needed during deployment or runtime.
Note that the secrets can be referenced in authentication and connector configuration only.
You can reference secrets defined in Studio Admin's Secrets section in authentication properties or connector parameters. Secrets are referenced by name using the ${secrets.SECRET_NAME} context expression, for example ${secrets.CLIENT_ID} or ${secrets.CLIENT_SECRET}.
The configuration parameters of the connector are:
| Parameter | Required | Description |
|---|---|---|
| AWS_ACCESS_KEY_ID | Required | The AWS access key used to authenticate the connector with AWS services. |
| AWS_SECRET_KEY | Required | The AWS secret key associated with the access key. This value is used to authorize requests to AWS services. |
| AWS_REGION | Required | The AWS region in which Amazon Comprehend is deployed and will process requests. For example: us-east-1 or eu-west-1. |
| AWS_S3_BUCKET | Required | The name of the Amazon S3 bucket used by the connector to store and process documents submitted to Amazon Comprehend. |
| AWS_COMPREHEND_ROLE_ARN | Required | The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that Amazon Comprehend uses when accessing AWS resources on behalf of the connector. |