Class: AWSCDK::Interfaces::AWSAthena::PreparedStatementReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSAthena::PreparedStatementReference
- Defined in:
- interfaces/aws_athena/prepared_statement_reference.rb
Overview
A reference to a PreparedStatement resource.
Instance Attribute Summary collapse
-
#statement_name ⇒ String
readonly
The StatementName of the PreparedStatement resource.
-
#work_group ⇒ String
readonly
The WorkGroup of the PreparedStatement resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(statement_name:, work_group:) ⇒ PreparedStatementReference
constructor
A new instance of PreparedStatementReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(statement_name:, work_group:) ⇒ PreparedStatementReference
Returns a new instance of PreparedStatementReference.
9 10 11 12 13 14 |
# File 'interfaces/aws_athena/prepared_statement_reference.rb', line 9 def initialize(statement_name:, work_group:) @statement_name = statement_name Jsii::Type.check_type(@statement_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "statementName") @work_group = work_group Jsii::Type.check_type(@work_group, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "workGroup") end |
Instance Attribute Details
#statement_name ⇒ String (readonly)
The StatementName of the PreparedStatement resource.
19 20 21 |
# File 'interfaces/aws_athena/prepared_statement_reference.rb', line 19 def statement_name @statement_name end |
#work_group ⇒ String (readonly)
The WorkGroup of the PreparedStatement resource.
23 24 25 |
# File 'interfaces/aws_athena/prepared_statement_reference.rb', line 23 def work_group @work_group end |
Class Method Details
.jsii_properties ⇒ Object
25 26 27 28 29 30 |
# File 'interfaces/aws_athena/prepared_statement_reference.rb', line 25 def self.jsii_properties { :statement_name => "statementName", :work_group => "workGroup", } end |
Instance Method Details
#to_jsii ⇒ Object
32 33 34 35 36 37 38 39 |
# File 'interfaces/aws_athena/prepared_statement_reference.rb', line 32 def to_jsii result = {} result.merge!({ "statementName" => @statement_name, "workGroup" => @work_group, }) result.compact end |