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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-iot/types.rb

Overview

Configuration for pre-signed S3 URLs.

Constant Summary collapse

SENSITIVE =
[]

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)


12578
12579
12580
12581
12582
12583
# File 'lib/aws-sdk-iot/types.rb', line 12578

class PresignedUrlConfig < Struct.new(
  :role_arn,
  :expires_in_sec)
  SENSITIVE = []
  include Aws::Structure
end

#role_arnString

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][1

in the *Amazon Web

Services IoT Core developer guide*.

[1]: docs.aws.amazon.com/iot/latest/developerguide/cross-service-confused-deputy-prevention.html

Returns:

  • (String)


12578
12579
12580
12581
12582
12583
# File 'lib/aws-sdk-iot/types.rb', line 12578

class PresignedUrlConfig < Struct.new(
  :role_arn,
  :expires_in_sec)
  SENSITIVE = []
  include Aws::Structure
end