-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
The AWS::Athena::PreparedStatement resource is documented with the following description:
When you pass the logical ID of this resource to the intrinsic
Reffunction,Refreturns the name of the prepared statement.
However when I define:
ExampleStatement:
Type: AWS::Athena::PreparedStatement
Properties:
Description: Example for Slack.
QueryStatement: SELECT 1
StatementName: Test
WorkGroup: primary
And then use !Ref ExampleStatement it returns Test|primary. I believe that this is a bug. I believe the behavior in the documentation is preferred, my example should return Test. However, I haven't gone very deep with prepared statements, so it's possible that Test|primary is better for a reason I'm unaware of.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels