Class: AWSCDK::IoTAnalytics::CfnDatastore::PartitionProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::IoTAnalytics::CfnDatastore::PartitionProperty
- Defined in:
- io_t_analytics/cfn_datastore.rb
Overview
A single dimension to partition a data store.
The dimension must be an AttributePartition or a TimestampPartition .
Instance Attribute Summary collapse
-
#attribute_name ⇒ String
readonly
The name of the attribute that defines a partition dimension.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(attribute_name:) ⇒ PartitionProperty
constructor
A new instance of PartitionProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(attribute_name:) ⇒ PartitionProperty
Returns a new instance of PartitionProperty.
1004 1005 1006 1007 |
# File 'io_t_analytics/cfn_datastore.rb', line 1004 def initialize(attribute_name:) @attribute_name = attribute_name Jsii::Type.check_type(@attribute_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "attributeName") end |
Instance Attribute Details
#attribute_name ⇒ String (readonly)
The name of the attribute that defines a partition dimension.
1013 1014 1015 |
# File 'io_t_analytics/cfn_datastore.rb', line 1013 def attribute_name @attribute_name end |
Class Method Details
.jsii_properties ⇒ Object
1015 1016 1017 1018 1019 |
# File 'io_t_analytics/cfn_datastore.rb', line 1015 def self.jsii_properties { :attribute_name => "attributeName", } end |
Instance Method Details
#to_jsii ⇒ Object
1021 1022 1023 1024 1025 1026 1027 |
# File 'io_t_analytics/cfn_datastore.rb', line 1021 def to_jsii result = {} result.merge!({ "attributeName" => @attribute_name, }) result.compact end |