Skip to main content

AwsRegion

Default Value Data Type Required

None

String

Yes, if an endpoint is not provided in the connection URL.

Description

The AWS region of the Database and AWS Glue instance that you want to connect to.

The region can also be taken from the endpoint provided in the connection string.

For example, for the following endpoint URLs:

  • database.[Region].amazonaws.com:443
  • [vpce-specific-url].athena.[Region].vpce.amazonaws.com:443

The connector parses the region from the endpoint and uses it to connect to Database and AWS Glue services. Do not use the AwsRegion property if the endpoint is present in the connection string, because the AwsRegion value takes precedence over the region parsed from the endpoint.

For a list of valid regions, see the "Database" section in the AWS Regions and Endpoints documentation: http://docs.aws.amazon.com/general/latest/gr/rande.html#athena.

Was this article helpful?

We're sorry to hear that.