AWS::Athena::NamedQueryResource schema for AWS::Athena::NamedQuery
5 configurable properties. 2 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
Database | string | RequiredCreate-only |
QueryString | string | RequiredCreate-only |
Description | string | Create-only |
Name | string | Create-only |
WorkGroup | string | Create-only |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
NamedQueryId | string | The unique ID of the query. |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::Athena::NamedQuery
Resources:
MyResource:
Type: AWS::Athena::NamedQuery
Properties:
Database: "value"
QueryString: "value"
Description: !Ref "AWS::StackName"
Name: !Ref "AWS::StackName"Permissions CloudFormation needs in your IAM role to manage this resource.
athena:CreateNamedQueryathena:GetNamedQueryathena:ListNamedQueriesathena:DeleteNamedQueryOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterNamedQueryIdThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
NameDatabaseDescriptionQueryStringWorkGroup