Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-iot/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>)

13463
13464
13465
13466
13467
13468
13469
13470
13471
13472
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 13463

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:


13463
13464
13465
13466
13467
13468
13469
13470
13471
13472
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 13463

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:


13463
13464
13465
13466
13467
13468
13469
13470
13471
13472
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 13463

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)

13463
13464
13465
13466
13467
13468
13469
13470
13471
13472
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 13463

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)

13463
13464
13465
13466
13467
13468
13469
13470
13471
13472
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 13463

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)

13463
13464
13465
13466
13467
13468
13469
13470
13471
13472
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 13463

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