Class: Aws::IoT::Types::PresignedUrlConfig
- Inherits:
-
Struct
- Object
- Struct
- Aws::IoT::Types::PresignedUrlConfig
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-iot/types.rb
Overview
Note:
When making an API call, you may pass PresignedUrlConfig data as a hash:
{
role_arn: "RoleArn",
expires_in_sec: 1,
}
Configuration for pre-signed S3 URLs.
Instance Attribute Summary collapse
-
#expires_in_sec ⇒ Integer
How long (in seconds) pre-signed URLs are valid.
-
#role_arn ⇒ 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.
Instance Attribute Details
#expires_in_sec ⇒ Integer
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.
8238 8239 8240 8241 8242 |
# File 'lib/aws-sdk-iot/types.rb', line 8238 class PresignedUrlConfig < Struct.new( :role_arn, :expires_in_sec) include Aws::Structure end |
#role_arn ⇒ 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. The role must also grant permission for IoT to download the files.
8238 8239 8240 8241 8242 |
# File 'lib/aws-sdk-iot/types.rb', line 8238 class PresignedUrlConfig < Struct.new( :role_arn, :expires_in_sec) include Aws::Structure end |