Class: AWSCDK::IoTAnalytics::CfnDataset::VersioningConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::IoTAnalytics::CfnDataset::VersioningConfigurationProperty
- Defined in:
- io_t_analytics/cfn_dataset.rb
Overview
Information about the versioning of dataset contents.
Instance Attribute Summary collapse
-
#max_versions ⇒ Numeric?
readonly
How many versions of dataset contents are kept.
-
#unlimited ⇒ Boolean, ...
readonly
If true, unlimited versions of dataset contents are kept.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(max_versions: nil, unlimited: nil) ⇒ VersioningConfigurationProperty
constructor
A new instance of VersioningConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(max_versions: nil, unlimited: nil) ⇒ VersioningConfigurationProperty
Returns a new instance of VersioningConfigurationProperty.
1579 1580 1581 1582 1583 1584 |
# File 'io_t_analytics/cfn_dataset.rb', line 1579 def initialize(max_versions: nil, unlimited: nil) @max_versions = max_versions Jsii::Type.check_type(@max_versions, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "maxVersions") unless @max_versions.nil? @unlimited = unlimited Jsii::Type.check_type(@unlimited, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "unlimited") unless @unlimited.nil? end |
Instance Attribute Details
#max_versions ⇒ Numeric? (readonly)
How many versions of dataset contents are kept.
The unlimited parameter must be false .
1592 1593 1594 |
# File 'io_t_analytics/cfn_dataset.rb', line 1592 def max_versions @max_versions end |
#unlimited ⇒ Boolean, ... (readonly)
If true, unlimited versions of dataset contents are kept.
1597 1598 1599 |
# File 'io_t_analytics/cfn_dataset.rb', line 1597 def unlimited @unlimited end |
Class Method Details
.jsii_properties ⇒ Object
1599 1600 1601 1602 1603 1604 |
# File 'io_t_analytics/cfn_dataset.rb', line 1599 def self.jsii_properties { :max_versions => "maxVersions", :unlimited => "unlimited", } end |
Instance Method Details
#to_jsii ⇒ Object
1606 1607 1608 1609 1610 1611 1612 1613 |
# File 'io_t_analytics/cfn_dataset.rb', line 1606 def to_jsii result = {} result.merge!({ "maxVersions" => @max_versions, "unlimited" => @unlimited, }) result.compact end |