Class: AWSCDK::IoTAnalytics::CfnPipeline::DatastoreProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
io_t_analytics/cfn_pipeline.rb

Overview

The datastore activity that specifies where to store the processed data.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(datastore_name:, name:) ⇒ DatastoreProperty

Returns a new instance of DatastoreProperty.

Parameters:

  • datastore_name (String)

    The name of the data store where processed messages are stored.

  • name (String)

    The name of the datastore activity.



788
789
790
791
792
793
# File 'io_t_analytics/cfn_pipeline.rb', line 788

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

Instance Attribute Details

#datastore_nameString (readonly)

The name of the data store where processed messages are stored.



799
800
801
# File 'io_t_analytics/cfn_pipeline.rb', line 799

def datastore_name
  @datastore_name
end

#nameString (readonly)

The name of the datastore activity.



804
805
806
# File 'io_t_analytics/cfn_pipeline.rb', line 804

def name
  @name
end

Class Method Details

.jsii_propertiesObject



806
807
808
809
810
811
# File 'io_t_analytics/cfn_pipeline.rb', line 806

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

Instance Method Details

#to_jsiiObject



813
814
815
816
817
818
819
820
# File 'io_t_analytics/cfn_pipeline.rb', line 813

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