AWSIoTOTAUpdateFile

Objective-C

@interface AWSIoTOTAUpdateFile

Swift

class AWSIoTOTAUpdateFile

Describes a file to be associated with an OTA update.

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

    Declaration

    Objective-C

    @property (nonatomic, strong) NSDictionary<NSString *, NSString *> *_Nullable attributes;

    Swift

    var attributes: [String : String]? { get set }
  • The code signing method of the file.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSIoTCodeSigning *_Nullable codeSigning;

    Swift

    var codeSigning: AWSIoTCodeSigning? { get set }
  • The location of the updated firmware.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSIoTFileLocation *_Nullable fileLocation;

    Swift

    var fileLocation: AWSIoTFileLocation? { get set }
  • The name of the file.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable fileName;

    Swift

    var fileName: String? { get set }
  • An integer value you can include in the job document to allow your devices to identify the type of file received from the cloud.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable fileType;

    Swift

    var fileType: NSNumber? { get set }
  • The file version.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable fileVersion;

    Swift

    var fileVersion: String? { get set }