Class: AWSCDK::IoTFleetWise::CfnCampaign::StorageMaximumSizeProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::IoTFleetWise::CfnCampaign::StorageMaximumSizeProperty
- Defined in:
- io_t_fleet_wise/cfn_campaign.rb
Overview
The maximum storage size for the data partition.
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 data type of the data to store.
-
#value ⇒ Numeric
readonly
The maximum amount of time to store data.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(unit:, value:) ⇒ StorageMaximumSizeProperty
constructor
A new instance of StorageMaximumSizeProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(unit:, value:) ⇒ StorageMaximumSizeProperty
Returns a new instance of StorageMaximumSizeProperty.
1498 1499 1500 1501 1502 1503 |
# File 'io_t_fleet_wise/cfn_campaign.rb', line 1498 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 data type of the data to store.
1509 1510 1511 |
# File 'io_t_fleet_wise/cfn_campaign.rb', line 1509 def unit @unit end |
#value ⇒ Numeric (readonly)
The maximum amount of time to store data.
1514 1515 1516 |
# File 'io_t_fleet_wise/cfn_campaign.rb', line 1514 def value @value end |
Class Method Details
.jsii_properties ⇒ Object
1516 1517 1518 1519 1520 1521 |
# File 'io_t_fleet_wise/cfn_campaign.rb', line 1516 def self.jsii_properties { :unit => "unit", :value => "value", } end |
Instance Method Details
#to_jsii ⇒ Object
1523 1524 1525 1526 1527 1528 1529 1530 |
# File 'io_t_fleet_wise/cfn_campaign.rb', line 1523 def to_jsii result = {} result.merge!({ "unit" => @unit, "value" => @value, }) result.compact end |