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

Class: Aws::IoT::Types::PresignedUrlConfig

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

Overview

Note:

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

{
  role_arn: "RoleArn",
  expires_in_sec: 1,
}

Configuration for pre-signed S3 URLs.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#expires_in_secInteger

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.

Returns:

  • (Integer)

    How long (in seconds) pre-signed URLs are valid.

#role_arnString

The ARN of an IAM role that grants 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.

Returns:

  • (String)

    The ARN of an IAM role that grants grants permission to download files from the S3 bucket where the job data/updates are stored.