Class: AWSCDK::Interfaces::AWSQuicksight::DataSourceReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSQuicksight::DataSourceReference
- Defined in:
- interfaces/aws_quicksight/data_source_reference.rb
Overview
A reference to a DataSource resource.
Instance Attribute Summary collapse
-
#aws_account_id ⇒ String
readonly
The AwsAccountId of the DataSource resource.
-
#data_source_arn ⇒ String
readonly
The ARN of the DataSource resource.
-
#data_source_id ⇒ String
readonly
The DataSourceId of the DataSource resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(aws_account_id:, data_source_arn:, data_source_id:) ⇒ DataSourceReference
constructor
A new instance of DataSourceReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(aws_account_id:, data_source_arn:, data_source_id:) ⇒ DataSourceReference
Returns a new instance of DataSourceReference.
10 11 12 13 14 15 16 17 |
# File 'interfaces/aws_quicksight/data_source_reference.rb', line 10 def initialize(aws_account_id:, data_source_arn:, data_source_id:) @aws_account_id = aws_account_id Jsii::Type.check_type(@aws_account_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "awsAccountId") @data_source_arn = data_source_arn Jsii::Type.check_type(@data_source_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "dataSourceArn") @data_source_id = data_source_id Jsii::Type.check_type(@data_source_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "dataSourceId") end |
Instance Attribute Details
#aws_account_id ⇒ String (readonly)
The AwsAccountId of the DataSource resource.
22 23 24 |
# File 'interfaces/aws_quicksight/data_source_reference.rb', line 22 def aws_account_id @aws_account_id end |
#data_source_arn ⇒ String (readonly)
The ARN of the DataSource resource.
26 27 28 |
# File 'interfaces/aws_quicksight/data_source_reference.rb', line 26 def data_source_arn @data_source_arn end |
#data_source_id ⇒ String (readonly)
The DataSourceId of the DataSource resource.
30 31 32 |
# File 'interfaces/aws_quicksight/data_source_reference.rb', line 30 def data_source_id @data_source_id end |
Class Method Details
.jsii_properties ⇒ Object
32 33 34 35 36 37 38 |
# File 'interfaces/aws_quicksight/data_source_reference.rb', line 32 def self.jsii_properties { :aws_account_id => "awsAccountId", :data_source_arn => "dataSourceArn", :data_source_id => "dataSourceId", } end |
Instance Method Details
#to_jsii ⇒ Object
40 41 42 43 44 45 46 47 48 |
# File 'interfaces/aws_quicksight/data_source_reference.rb', line 40 def to_jsii result = {} result.merge!({ "awsAccountId" => @aws_account_id, "dataSourceArn" => @data_source_arn, "dataSourceId" => @data_source_id, }) result.compact end |