AWSIoTPresignedUrlConfig

Objective-C

@interface AWSIoTPresignedUrlConfig

Swift

class AWSIoTPresignedUrlConfig

Configuration for pre-signed S3 URLs.

  • How long (in seconds) pre-signed URLs are valid. Valid values are 60 - 3600, the default value is 3600 seconds. Pre-signed URLs are generated when Jobs receives an MQTT request for the job document.

    Declaration

    Objective-C

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

    Swift

    var expiresInSec: NSNumber? { get set }
  • The ARN of an IAM role that grants permission to download files from the S3 bucket where the job data/updates are stored. The role must also grant permission for IoT to download the files.

    For information about addressing the confused deputy problem, see cross-service confused deputy prevention in the Amazon Web Services IoT Core developer guide.

    Declaration

    Objective-C

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

    Swift

    var roleArn: String? { get set }