Class: AWSCDK::IoTAnalytics::CfnDatastore::DatastorePartitionsProperty

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

Overview

Information about the partition dimensions in a data store.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(partitions: nil) ⇒ DatastorePartitionsProperty

Returns a new instance of DatastorePartitionsProperty.

Parameters:



795
796
797
798
# File 'io_t_analytics/cfn_datastore.rb', line 795

def initialize(partitions: nil)
  @partitions = partitions
  Jsii::Type.check_type(@partitions, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfaW90YW5hbHl0aWNzLkNmbkRhdGFzdG9yZS5EYXRhc3RvcmVQYXJ0aXRpb25Qcm9wZXJ0eSJ9XX19LCJraW5kIjoiYXJyYXkifX1dfX0=")), "partitions") unless @partitions.nil?
end

Instance Attribute Details

#partitionsAWSCDK::IResolvable, ... (readonly)

A list of partition dimensions in a data store.



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

def partitions
  @partitions
end

Class Method Details

.jsii_propertiesObject



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

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

Instance Method Details

#to_jsiiObject



812
813
814
815
816
817
818
# File 'io_t_analytics/cfn_datastore.rb', line 812

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