Class: AWSCDK::QuickSight::CfnDataSet::LogicalTableSourceProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDataSet::LogicalTableSourceProperty
- Defined in:
- quick_sight/cfn_data_set.rb
Overview
Information about the source of a logical table.
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
-
#data_set_arn ⇒ String?
readonly
The Amazon Resource Number (ARN) of the parent dataset.
-
#join_instruction ⇒ AWSCDK::IResolvable, ...
readonly
Specifies the result of a join of two logical tables.
-
#physical_table_id ⇒ String?
readonly
Physical table ID.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(data_set_arn: nil, join_instruction: nil, physical_table_id: nil) ⇒ LogicalTableSourceProperty
constructor
A new instance of LogicalTableSourceProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(data_set_arn: nil, join_instruction: nil, physical_table_id: nil) ⇒ LogicalTableSourceProperty
Returns a new instance of LogicalTableSourceProperty.
3959 3960 3961 3962 3963 3964 3965 3966 |
# File 'quick_sight/cfn_data_set.rb', line 3959 def initialize(data_set_arn: nil, join_instruction: nil, physical_table_id: nil) @data_set_arn = data_set_arn Jsii::Type.check_type(@data_set_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "dataSetArn") unless @data_set_arn.nil? @join_instruction = join_instruction.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDataSet::JoinInstructionProperty.new(**join_instruction.transform_keys(&:to_sym)) : join_instruction Jsii::Type.check_type(@join_instruction, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhdGFTZXQuSm9pbkluc3RydWN0aW9uUHJvcGVydHkifV19fQ==")), "joinInstruction") unless @join_instruction.nil? @physical_table_id = physical_table_id Jsii::Type.check_type(@physical_table_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "physicalTableId") unless @physical_table_id.nil? end |
Instance Attribute Details
#data_set_arn ⇒ String? (readonly)
The Amazon Resource Number (ARN) of the parent dataset.
3972 3973 3974 |
# File 'quick_sight/cfn_data_set.rb', line 3972 def data_set_arn @data_set_arn end |
#join_instruction ⇒ AWSCDK::IResolvable, ... (readonly)
Specifies the result of a join of two logical tables.
3977 3978 3979 |
# File 'quick_sight/cfn_data_set.rb', line 3977 def join_instruction @join_instruction end |
#physical_table_id ⇒ String? (readonly)
Physical table ID.
3982 3983 3984 |
# File 'quick_sight/cfn_data_set.rb', line 3982 def physical_table_id @physical_table_id end |
Class Method Details
.jsii_properties ⇒ Object
3984 3985 3986 3987 3988 3989 3990 |
# File 'quick_sight/cfn_data_set.rb', line 3984 def self.jsii_properties { :data_set_arn => "dataSetArn", :join_instruction => "joinInstruction", :physical_table_id => "physicalTableId", } end |
Instance Method Details
#to_jsii ⇒ Object
3992 3993 3994 3995 3996 3997 3998 3999 4000 |
# File 'quick_sight/cfn_data_set.rb', line 3992 def to_jsii result = {} result.merge!({ "dataSetArn" => @data_set_arn, "joinInstruction" => @join_instruction, "physicalTableId" => @physical_table_id, }) result.compact end |