Class: AWSCDK::QuickSight::CfnDataSet::PhysicalTableProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDataSet::PhysicalTableProperty
- Defined in:
- quick_sight/cfn_data_set.rb
Overview
A view of a data source that contains information about the shape of the data in the underlying source.
This is a variant type structure. For this structure to be valid, only one of the attributes can be non-null.
Instance Attribute Summary collapse
-
#custom_sql ⇒ AWSCDK::IResolvable, ...
readonly
A physical table type built from the results of the custom SQL query.
-
#relational_table ⇒ AWSCDK::IResolvable, ...
readonly
A physical table type for relational data sources.
-
#s3_source ⇒ AWSCDK::IResolvable, ...
readonly
A physical table type for as S3 data source.
-
#saa_s_table ⇒ AWSCDK::IResolvable, ...
readonly
A physical table type for Software-as-a-Service (SaaS) sources.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(custom_sql: nil, relational_table: nil, s3_source: nil, saa_s_table: nil) ⇒ PhysicalTableProperty
constructor
A new instance of PhysicalTableProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(custom_sql: nil, relational_table: nil, s3_source: nil, saa_s_table: nil) ⇒ PhysicalTableProperty
Returns a new instance of PhysicalTableProperty.
4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 |
# File 'quick_sight/cfn_data_set.rb', line 4377 def initialize(custom_sql: nil, relational_table: nil, s3_source: nil, saa_s_table: nil) @custom_sql = custom_sql.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDataSet::CustomSqlProperty.new(**custom_sql.transform_keys(&:to_sym)) : custom_sql Jsii::Type.check_type(@custom_sql, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhdGFTZXQuQ3VzdG9tU3FsUHJvcGVydHkifV19fQ==")), "customSql") unless @custom_sql.nil? @relational_table = relational_table.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDataSet::RelationalTableProperty.new(**relational_table.transform_keys(&:to_sym)) : relational_table Jsii::Type.check_type(@relational_table, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhdGFTZXQuUmVsYXRpb25hbFRhYmxlUHJvcGVydHkifV19fQ==")), "relationalTable") unless @relational_table.nil? @s3_source = s3_source.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDataSet::S3SourceProperty.new(**s3_source.transform_keys(&:to_sym)) : s3_source Jsii::Type.check_type(@s3_source, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhdGFTZXQuUzNTb3VyY2VQcm9wZXJ0eSJ9XX19")), "s3Source") unless @s3_source.nil? @saa_s_table = saa_s_table.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDataSet::SaaSTableProperty.new(**saa_s_table.transform_keys(&:to_sym)) : saa_s_table Jsii::Type.check_type(@saa_s_table, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhdGFTZXQuU2FhU1RhYmxlUHJvcGVydHkifV19fQ==")), "saaSTable") unless @saa_s_table.nil? end |
Instance Attribute Details
#custom_sql ⇒ AWSCDK::IResolvable, ... (readonly)
A physical table type built from the results of the custom SQL query.
4392 4393 4394 |
# File 'quick_sight/cfn_data_set.rb', line 4392 def custom_sql @custom_sql end |
#relational_table ⇒ AWSCDK::IResolvable, ... (readonly)
A physical table type for relational data sources.
4397 4398 4399 |
# File 'quick_sight/cfn_data_set.rb', line 4397 def relational_table @relational_table end |
#s3_source ⇒ AWSCDK::IResolvable, ... (readonly)
A physical table type for as S3 data source.
4402 4403 4404 |
# File 'quick_sight/cfn_data_set.rb', line 4402 def s3_source @s3_source end |
#saa_s_table ⇒ AWSCDK::IResolvable, ... (readonly)
A physical table type for Software-as-a-Service (SaaS) sources.
4407 4408 4409 |
# File 'quick_sight/cfn_data_set.rb', line 4407 def saa_s_table @saa_s_table end |
Class Method Details
.jsii_properties ⇒ Object
4409 4410 4411 4412 4413 4414 4415 4416 |
# File 'quick_sight/cfn_data_set.rb', line 4409 def self.jsii_properties { :custom_sql => "customSql", :relational_table => "relationalTable", :s3_source => "s3Source", :saa_s_table => "saaSTable", } end |
Instance Method Details
#to_jsii ⇒ Object
4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 |
# File 'quick_sight/cfn_data_set.rb', line 4418 def to_jsii result = {} result.merge!({ "customSql" => @custom_sql, "relationalTable" => @relational_table, "s3Source" => @s3_source, "saaSTable" => @saa_s_table, }) result.compact end |