Configure and deploy resources using AWS CloudFormation
You can configure and deploy resources using AWS CloudFormation templates to start using Trusted Identity Propagation with Athena drivers as following.
-
Download an AWS CloudFormation template to set up the IAM Identity Center customer managed application and access roles along with workgroup and IAM Identity Center application tags. You can download it from this AWS CloudFormation template link
. -
Run the
create-stack
AWS CLI command to deploy the AWS CloudFormation stack that will provision the configured resources as following.aws cloudformation create-stack \ --stack-name my-stack \ --template-url URL_of_the_file_that_contains_the_template_body \ --parameters file://params.json
-
To view the status of the resources provisioning, navigate to the AWS CloudFormation console. After the cluster creation completes, view the new IAM Identity Center application in Identity Center console. You can view the IAM roles in the IAM console.
The tags will be associated in Workgroup as well as IAM Identity Center application.
-
Using the created roles and application, you can use the Athena drivers immediately. To use JDBC driver, see JDBC auth plugin connection parameters. To use ODBC driver, see ODBC auth plugin connection parameters.