AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing OTAUpdateFile as input to an Aws::Client method, you can use a vanilla Hash:

{
  file_name: "FileName",
  file_version: "OTAUpdateFileVersion",
  file_location: {
    stream: {
      stream_id: "StreamId",
      file_id: 1,
    },
    s3_location: {
      bucket: "S3Bucket",
      key: "S3Key",
      version: "S3Version",
    },
  },
  code_signing: {
    aws_signer_job_id: "SigningJobId",
    start_signing_job_parameter: {
      signing_profile_parameter: {
        certificate_arn: "CertificateArn",
        platform: "Platform",
        certificate_path_on_device: "CertificatePathOnDevice",
      },
      signing_profile_name: "SigningProfileName",
      destination: {
        s3_destination: {
          bucket: "S3Bucket",
          prefix: "Prefix",
        },
      },
    },
    custom_code_signing: {
      signature: {
        inline_document: "data",
      },
      certificate_chain: {
        certificate_name: "CertificateName",
        inline_document: "InlineDocument",
      },
      hash_algorithm: "HashAlgorithm",
      signature_algorithm: "SignatureAlgorithm",
    },
  },
  attributes: {
    "AttributeKey" => "Value",
  },
}

Describes a file to be associated with an OTA update.

Instance Attribute Summary collapse

Instance Attribute Details

#attributesHash<String,String>

A list of name/attribute pairs.

Returns:

  • (Hash<String,String>)

    A list of name/attribute pairs.

#code_signingTypes::CodeSigning

The code signing method of the file.

Returns:

#file_locationTypes::FileLocation

The location of the updated firmware.

Returns:

#file_nameString

The name of the file.

Returns:

  • (String)

    The name of the file.

#file_versionString

The file version.

Returns:

  • (String)

    The file version.