Class: AWSCDK::Interfaces::AWSAthena::NamedQueryReference

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
interfaces/aws_athena/named_query_reference.rb

Overview

A reference to a NamedQuery resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(named_query_id:) ⇒ NamedQueryReference

Returns a new instance of NamedQueryReference.

Parameters:

  • named_query_id (String)

    The NamedQueryId of the NamedQuery resource.



8
9
10
11
# File 'interfaces/aws_athena/named_query_reference.rb', line 8

def initialize(named_query_id:)
  @named_query_id = named_query_id
  Jsii::Type.check_type(@named_query_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "namedQueryId")
end

Instance Attribute Details

#named_query_idString (readonly)

The NamedQueryId of the NamedQuery resource.

Returns:

  • (String)


16
17
18
# File 'interfaces/aws_athena/named_query_reference.rb', line 16

def named_query_id
  @named_query_id
end

Class Method Details

.jsii_propertiesObject



18
19
20
21
22
# File 'interfaces/aws_athena/named_query_reference.rb', line 18

def self.jsii_properties
  {
    :named_query_id => "namedQueryId",
  }
end

Instance Method Details

#to_jsiiObject



24
25
26
27
28
29
30
# File 'interfaces/aws_athena/named_query_reference.rb', line 24

def to_jsii
  result = {}
  result.merge!({
    "namedQueryId" => @named_query_id,
  })
  result.compact
end