AWS Fundamentals Logo
AWS Fundamentals
AWS::Athena::PreparedStatement

Athena PreparedStatement

Resource schema for AWS::Athena::PreparedStatement

Properties

4 configurable properties. 3 required. Click a row to see details.

Filter:
PropertyTypeFlags
QueryStatement
string
Required
StatementName
string
RequiredCreate-only
WorkGroup
string
RequiredCreate-only
Description
string

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::Athena::PreparedStatement

Resources:
  MyResource:
    Type: AWS::Athena::PreparedStatement
    Properties:
      StatementName: "my-statementname"
      WorkGroup: "value"
      QueryStatement: "value"
      Description: !Ref "AWS::StackName"

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

athena:CreatePreparedStatementathena:GetPreparedStatement

read

athena:GetPreparedStatement

update

athena:UpdatePreparedStatement

delete

athena:DeletePreparedStatementathena:GetPreparedStatement

list

athena:ListPreparedStatements

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

ServiceAthena
Properties4
Required3
TaggingNot supported
Primary IDStatementName

Supported Operations

CreateReadUpdateDeleteList

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

StatementNameWorkGroup

External Links