Class: AWSCDK::Interfaces::AWSIotanalytics::DatastoreReference

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
interfaces/aws_iotanalytics/datastore_reference.rb

Overview

A reference to a Datastore resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(datastore_name:) ⇒ DatastoreReference

Returns a new instance of DatastoreReference.

Parameters:

  • datastore_name (String)

    The DatastoreName of the Datastore resource.



8
9
10
11
# File 'interfaces/aws_iotanalytics/datastore_reference.rb', line 8

def initialize(datastore_name:)
  @datastore_name = datastore_name
  Jsii::Type.check_type(@datastore_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "datastoreName")
end

Instance Attribute Details

#datastore_nameString (readonly)

The DatastoreName of the Datastore resource.

Returns:

  • (String)


16
17
18
# File 'interfaces/aws_iotanalytics/datastore_reference.rb', line 16

def datastore_name
  @datastore_name
end

Class Method Details

.jsii_propertiesObject



18
19
20
21
22
# File 'interfaces/aws_iotanalytics/datastore_reference.rb', line 18

def self.jsii_properties
  {
    :datastore_name => "datastoreName",
  }
end

Instance Method Details

#to_jsiiObject



24
25
26
27
28
29
30
# File 'interfaces/aws_iotanalytics/datastore_reference.rb', line 24

def to_jsii
  result = {}
  result.merge!({
    "datastoreName" => @datastore_name,
  })
  result.compact
end