Class: Aws::IoT::Types::OTAUpdateFile

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-iot/types.rb

Overview

Describes a file to be associated with an OTA update.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#attributesHash<String,String>

A list of name-attribute pairs. They won’t be sent to devices as a part of the Job document.

Returns:

  • (Hash<String,String>)


13422
13423
13424
13425
13426
13427
13428
13429
13430
13431
# File 'lib/aws-sdk-iot/types.rb', line 13422

class OTAUpdateFile < Struct.new(
  :file_name,
  :file_type,
  :file_version,
  :file_location,
  :code_signing,
  :attributes)
  SENSITIVE = []
  include Aws::Structure
end

#code_signingTypes::CodeSigning

The code signing method of the file.

Returns:



13422
13423
13424
13425
13426
13427
13428
13429
13430
13431
# File 'lib/aws-sdk-iot/types.rb', line 13422

class OTAUpdateFile < Struct.new(
  :file_name,
  :file_type,
  :file_version,
  :file_location,
  :code_signing,
  :attributes)
  SENSITIVE = []
  include Aws::Structure
end

#file_locationTypes::FileLocation

The location of the updated firmware.

Returns:



13422
13423
13424
13425
13426
13427
13428
13429
13430
13431
# File 'lib/aws-sdk-iot/types.rb', line 13422

class OTAUpdateFile < Struct.new(
  :file_name,
  :file_type,
  :file_version,
  :file_location,
  :code_signing,
  :attributes)
  SENSITIVE = []
  include Aws::Structure
end

#file_nameString

The name of the file.

Returns:

  • (String)


13422
13423
13424
13425
13426
13427
13428
13429
13430
13431
# File 'lib/aws-sdk-iot/types.rb', line 13422

class OTAUpdateFile < Struct.new(
  :file_name,
  :file_type,
  :file_version,
  :file_location,
  :code_signing,
  :attributes)
  SENSITIVE = []
  include Aws::Structure
end

#file_typeInteger

An integer value you can include in the job document to allow your devices to identify the type of file received from the cloud.

Returns:

  • (Integer)


13422
13423
13424
13425
13426
13427
13428
13429
13430
13431
# File 'lib/aws-sdk-iot/types.rb', line 13422

class OTAUpdateFile < Struct.new(
  :file_name,
  :file_type,
  :file_version,
  :file_location,
  :code_signing,
  :attributes)
  SENSITIVE = []
  include Aws::Structure
end

#file_versionString

The file version.

Returns:

  • (String)


13422
13423
13424
13425
13426
13427
13428
13429
13430
13431
# File 'lib/aws-sdk-iot/types.rb', line 13422

class OTAUpdateFile < Struct.new(
  :file_name,
  :file_type,
  :file_version,
  :file_location,
  :code_signing,
  :attributes)
  SENSITIVE = []
  include Aws::Structure
end