Class: AWSCDK::IoTFleetWise::CfnCampaign::SignalFetchInformationProperty

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

Overview

Information about the signal to be fetched.

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(actions:, fully_qualified_name:, signal_fetch_config:, condition_language_version: nil) ⇒ SignalFetchInformationProperty

Returns a new instance of SignalFetchInformationProperty.

Parameters:

  • actions (Array<String>)

    The actions to be performed by the signal fetch.

  • fully_qualified_name (String)

    The fully qualified name of the signal to be fetched.

  • signal_fetch_config (AWSCDK::IResolvable, AWSCDK::IoTFleetWise::CfnCampaign::SignalFetchConfigProperty)

    The configuration of the signal fetch operation.

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

    The version of the condition language used.



1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
# File 'io_t_fleet_wise/cfn_campaign.rb', line 1366

def initialize(actions:, fully_qualified_name:, signal_fetch_config:, condition_language_version: nil)
  @actions = actions
  Jsii::Type.check_type(@actions, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "actions")
  @fully_qualified_name = fully_qualified_name
  Jsii::Type.check_type(@fully_qualified_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "fullyQualifiedName")
  @signal_fetch_config = signal_fetch_config.is_a?(Hash) ? ::AWSCDK::IoTFleetWise::CfnCampaign::SignalFetchConfigProperty.new(**signal_fetch_config.transform_keys(&:to_sym)) : signal_fetch_config
  Jsii::Type.check_type(@signal_fetch_config, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19pb3RmbGVldHdpc2UuQ2ZuQ2FtcGFpZ24uU2lnbmFsRmV0Y2hDb25maWdQcm9wZXJ0eSJ9XX19")), "signalFetchConfig")
  @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

#actionsArray<String> (readonly)

The actions to be performed by the signal fetch.



1381
1382
1383
# File 'io_t_fleet_wise/cfn_campaign.rb', line 1381

def actions
  @actions
end

#condition_language_versionNumeric? (readonly)

The version of the condition language used.



1396
1397
1398
# File 'io_t_fleet_wise/cfn_campaign.rb', line 1396

def condition_language_version
  @condition_language_version
end

#fully_qualified_nameString (readonly)

The fully qualified name of the signal to be fetched.



1386
1387
1388
# File 'io_t_fleet_wise/cfn_campaign.rb', line 1386

def fully_qualified_name
  @fully_qualified_name
end

Class Method Details

.jsii_propertiesObject



1398
1399
1400
1401
1402
1403
1404
1405
# File 'io_t_fleet_wise/cfn_campaign.rb', line 1398

def self.jsii_properties
  {
    :actions => "actions",
    :fully_qualified_name => "fullyQualifiedName",
    :signal_fetch_config => "signalFetchConfig",
    :condition_language_version => "conditionLanguageVersion",
  }
end

Instance Method Details

#to_jsiiObject



1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
# File 'io_t_fleet_wise/cfn_campaign.rb', line 1407

def to_jsii
  result = {}
  result.merge!({
    "actions" => @actions,
    "fullyQualifiedName" => @fully_qualified_name,
    "signalFetchConfig" => @signal_fetch_config,
    "conditionLanguageVersion" => @condition_language_version,
  })
  result.compact
end