Class: AWSCDK::CleanRooms::CfnConfiguredTable::AthenaTableReferenceProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::CleanRooms::CfnConfiguredTable::AthenaTableReferenceProperty
- Defined in:
- clean_rooms/cfn_configured_table.rb
Overview
A reference to a table within Athena.
Instance Attribute Summary collapse
- #catalog_name ⇒ String? readonly
-
#database_name ⇒ String
readonly
The database name.
-
#output_location ⇒ String?
readonly
The output location for the Athena table.
-
#region ⇒ String?
readonly
The AWS Region where the Athena table is located.
-
#table_name ⇒ String
readonly
The table reference.
-
#work_group ⇒ String
readonly
The workgroup of the Athena table reference.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(database_name:, table_name:, work_group:, catalog_name: nil, output_location: nil, region: nil) ⇒ AthenaTableReferenceProperty
constructor
A new instance of AthenaTableReferenceProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(database_name:, table_name:, work_group:, catalog_name: nil, output_location: nil, region: nil) ⇒ AthenaTableReferenceProperty
Returns a new instance of AthenaTableReferenceProperty.
1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 |
# File 'clean_rooms/cfn_configured_table.rb', line 1020 def initialize(database_name:, table_name:, work_group:, catalog_name: nil, output_location: nil, region: nil) @database_name = database_name Jsii::Type.check_type(@database_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "databaseName") @table_name = table_name Jsii::Type.check_type(@table_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "tableName") @work_group = work_group Jsii::Type.check_type(@work_group, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "workGroup") @catalog_name = catalog_name Jsii::Type.check_type(@catalog_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "catalogName") unless @catalog_name.nil? @output_location = output_location Jsii::Type.check_type(@output_location, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "outputLocation") unless @output_location.nil? @region = region Jsii::Type.check_type(@region, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "region") unless @region.nil? end |
Instance Attribute Details
#catalog_name ⇒ String? (readonly)
1052 1053 1054 |
# File 'clean_rooms/cfn_configured_table.rb', line 1052 def catalog_name @catalog_name end |
#database_name ⇒ String (readonly)
The database name.
1039 1040 1041 |
# File 'clean_rooms/cfn_configured_table.rb', line 1039 def database_name @database_name end |
#output_location ⇒ String? (readonly)
The output location for the Athena table.
1057 1058 1059 |
# File 'clean_rooms/cfn_configured_table.rb', line 1057 def output_location @output_location end |
#region ⇒ String? (readonly)
The AWS Region where the Athena table is located.
This parameter is required to uniquely identify and access tables across different Regions.
1064 1065 1066 |
# File 'clean_rooms/cfn_configured_table.rb', line 1064 def region @region end |
#table_name ⇒ String (readonly)
The table reference.
1044 1045 1046 |
# File 'clean_rooms/cfn_configured_table.rb', line 1044 def table_name @table_name end |
#work_group ⇒ String (readonly)
The workgroup of the Athena table reference.
1049 1050 1051 |
# File 'clean_rooms/cfn_configured_table.rb', line 1049 def work_group @work_group end |
Class Method Details
.jsii_properties ⇒ Object
1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 |
# File 'clean_rooms/cfn_configured_table.rb', line 1066 def self.jsii_properties { :database_name => "databaseName", :table_name => "tableName", :work_group => "workGroup", :catalog_name => "catalogName", :output_location => "outputLocation", :region => "region", } end |
Instance Method Details
#to_jsii ⇒ Object
1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 |
# File 'clean_rooms/cfn_configured_table.rb', line 1077 def to_jsii result = {} result.merge!({ "databaseName" => @database_name, "tableName" => @table_name, "workGroup" => @work_group, "catalogName" => @catalog_name, "outputLocation" => @output_location, "region" => @region, }) result.compact end |