Class: AWSCDK::Interfaces::AWSQuicksight::DataSetReference

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
interfaces/aws_quicksight/data_set_reference.rb

Overview

A reference to a DataSet resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(aws_account_id:, data_set_arn:, data_set_id:) ⇒ DataSetReference

Returns a new instance of DataSetReference.

Parameters:

  • aws_account_id (String)

    The AwsAccountId of the DataSet resource.

  • data_set_arn (String)

    The ARN of the DataSet resource.

  • data_set_id (String)

    The DataSetId of the DataSet resource.



10
11
12
13
14
15
16
17
# File 'interfaces/aws_quicksight/data_set_reference.rb', line 10

def initialize(aws_account_id:, data_set_arn:, data_set_id:)
  @aws_account_id = 
  Jsii::Type.check_type(@aws_account_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "awsAccountId")
  @data_set_arn = data_set_arn
  Jsii::Type.check_type(@data_set_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "dataSetArn")
  @data_set_id = data_set_id
  Jsii::Type.check_type(@data_set_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "dataSetId")
end

Instance Attribute Details

#aws_account_idString (readonly)

The AwsAccountId of the DataSet resource.

Returns:

  • (String)


22
23
24
# File 'interfaces/aws_quicksight/data_set_reference.rb', line 22

def 
  @aws_account_id
end

#data_set_arnString (readonly)

The ARN of the DataSet resource.

Returns:

  • (String)


26
27
28
# File 'interfaces/aws_quicksight/data_set_reference.rb', line 26

def data_set_arn
  @data_set_arn
end

#data_set_idString (readonly)

The DataSetId of the DataSet resource.

Returns:

  • (String)


30
31
32
# File 'interfaces/aws_quicksight/data_set_reference.rb', line 30

def data_set_id
  @data_set_id
end

Class Method Details

.jsii_propertiesObject



32
33
34
35
36
37
38
# File 'interfaces/aws_quicksight/data_set_reference.rb', line 32

def self.jsii_properties
  {
    :aws_account_id => "awsAccountId",
    :data_set_arn => "dataSetArn",
    :data_set_id => "dataSetId",
  }
end

Instance Method Details

#to_jsiiObject



40
41
42
43
44
45
46
47
48
# File 'interfaces/aws_quicksight/data_set_reference.rb', line 40

def to_jsii
  result = {}
  result.merge!({
    "awsAccountId" => @aws_account_id,
    "dataSetArn" => @data_set_arn,
    "dataSetId" => @data_set_id,
  })
  result.compact
end