Class: AWSCDK::IoTFleetWise::CfnCampaign::DataPartitionUploadOptionsProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
io_t_fleet_wise/cfn_campaign.rb

Overview

The upload options for the data partition.

If upload options are specified, you must also specify storage options. See DataPartitionStorageOptions .

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(expression:, condition_language_version: nil) ⇒ DataPartitionUploadOptionsProperty

Returns a new instance of DataPartitionUploadOptionsProperty.

Parameters:

  • expression (String)

    The logical expression used to recognize what data to collect.

  • condition_language_version (Numeric, nil) (defaults to: nil)

    The version of the condition language.



1149
1150
1151
1152
1153
1154
# File 'io_t_fleet_wise/cfn_campaign.rb', line 1149

def initialize(expression:, condition_language_version: nil)
  @expression = expression
  Jsii::Type.check_type(@expression, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "expression")
  @condition_language_version = condition_language_version
  Jsii::Type.check_type(@condition_language_version, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "conditionLanguageVersion") unless @condition_language_version.nil?
end

Instance Attribute Details

#condition_language_versionNumeric? (readonly)

The version of the condition language.

Defaults to the most recent condition language version.



1169
1170
1171
# File 'io_t_fleet_wise/cfn_campaign.rb', line 1169

def condition_language_version
  @condition_language_version
end

#expressionString (readonly)

The logical expression used to recognize what data to collect.

For example, $variable.Vehicle.OutsideAirTemperature>= 105.0 .



1162
1163
1164
# File 'io_t_fleet_wise/cfn_campaign.rb', line 1162

def expression
  @expression
end

Class Method Details

.jsii_propertiesObject



1171
1172
1173
1174
1175
1176
# File 'io_t_fleet_wise/cfn_campaign.rb', line 1171

def self.jsii_properties
  {
    :expression => "expression",
    :condition_language_version => "conditionLanguageVersion",
  }
end

Instance Method Details

#to_jsiiObject



1178
1179
1180
1181
1182
1183
1184
1185
# File 'io_t_fleet_wise/cfn_campaign.rb', line 1178

def to_jsii
  result = {}
  result.merge!({
    "expression" => @expression,
    "conditionLanguageVersion" => @condition_language_version,
  })
  result.compact
end