Class: AWSCDK::IoTFleetWise::CfnCampaign::StorageMinimumTimeToLiveProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::IoTFleetWise::CfnCampaign::StorageMinimumTimeToLiveProperty
- Defined in:
- io_t_fleet_wise/cfn_campaign.rb
Overview
Information about the minimum amount of time that data will be kept.
Access to certain AWS IoT FleetWise features is currently gated. For more information, see AWS Region and feature availability in the AWS IoT FleetWise Developer Guide .
Instance Attribute Summary collapse
-
#unit ⇒ String
readonly
The time increment type.
-
#value ⇒ Numeric
readonly
The minimum amount of time to store the data.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(unit:, value:) ⇒ StorageMinimumTimeToLiveProperty
constructor
A new instance of StorageMinimumTimeToLiveProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(unit:, value:) ⇒ StorageMinimumTimeToLiveProperty
Returns a new instance of StorageMinimumTimeToLiveProperty.
1543 1544 1545 1546 1547 1548 |
# File 'io_t_fleet_wise/cfn_campaign.rb', line 1543 def initialize(unit:, value:) @unit = unit Jsii::Type.check_type(@unit, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "unit") @value = value Jsii::Type.check_type(@value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "value") end |
Instance Attribute Details
#unit ⇒ String (readonly)
The time increment type.
1554 1555 1556 |
# File 'io_t_fleet_wise/cfn_campaign.rb', line 1554 def unit @unit end |
#value ⇒ Numeric (readonly)
The minimum amount of time to store the data.
1559 1560 1561 |
# File 'io_t_fleet_wise/cfn_campaign.rb', line 1559 def value @value end |
Class Method Details
.jsii_properties ⇒ Object
1561 1562 1563 1564 1565 1566 |
# File 'io_t_fleet_wise/cfn_campaign.rb', line 1561 def self.jsii_properties { :unit => "unit", :value => "value", } end |
Instance Method Details
#to_jsii ⇒ Object
1568 1569 1570 1571 1572 1573 1574 1575 |
# File 'io_t_fleet_wise/cfn_campaign.rb', line 1568 def to_jsii result = {} result.merge!({ "unit" => @unit, "value" => @value, }) result.compact end |