LOCATION securely stores AWS credentials that you can reuse when invoking Bedrock models with AWS_BEDROCK_AI_QUERY, AI_QUERY, or AI_EMBED_TEXT.
Syntax
Parameters
Common parameters
Amazon Bedrock parameters
AWS authentication parameters
Examples
Authenticate using an access key
Authenticate using a role
The following example uses a role and includes a recommended external ID:For role-based AWS access you can additionally set an external ID. An external ID is a value you choose and control that AWS checks when Firebolt assumes your role, adding a second condition on top of your account’s unique IAM principal. Configuring one is a recommended best practice. See IAM roles.
AWS_ROLE_EXTERNAL_ID is optional. To assume the role without an external ID, omit it:
Create a Bedrock location with a description
To use this location, pass its name as the
<location> argument to AWS_BEDROCK_AI_QUERY, AI_QUERY, or AI_EMBED_TEXT.