Athena Named Query

Athena Named Query in AWS is a saved SQL query that you can create and reuse within Amazon Athena. It allows you to store commonly used queries for quick access, making it easier to run analyses without rewriting SQL each time. Named Queries can be shared with others in your account, helping standardize query logic and improve collaboration.

aws.athena_named_query

Fields

TitleIDTypeData TypeDescription
_keycorestring
account_idcorestring
databasecorestringThe database to which the query belongs.
descriptioncorestringThe query description.
namecorestringThe query name.
named_query_idcorestringThe unique identifier of the query.
query_stringcorestringThe SQL statements that make up the query.
tagscorehstore
work_groupcorestringThe name of the workgroup that contains the named query.