Class: AWSCDK::IoTFleetWise::CfnCampaign::StorageMaximumSizeProperty

Inherits:
Jsii::Struct
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(unit:, value:) ⇒ StorageMaximumSizeProperty

Returns a new instance of StorageMaximumSizeProperty.

Parameters:

  • unit (String)

    The data type of the data to store.

  • value (Numeric)

    The maximum amount of time to store data.



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

#unitString (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

#valueNumeric (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_propertiesObject



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_jsiiObject



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