libZSservicesZSamazonka-iotZSamazonka-iot
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.IoT.Types.PresignedUrlConfig

Description

 
Synopsis

Documentation

data PresignedUrlConfig Source #

Configuration for pre-signed S3 URLs.

See: newPresignedUrlConfig smart constructor.

Constructors

PresignedUrlConfig' 

Fields

  • expiresInSec :: Maybe Natural

    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.

  • roleArn :: Maybe Text

    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.

Instances

Instances details
Eq PresignedUrlConfig Source # 
Instance details

Defined in Amazonka.IoT.Types.PresignedUrlConfig

Read PresignedUrlConfig Source # 
Instance details

Defined in Amazonka.IoT.Types.PresignedUrlConfig

Show PresignedUrlConfig Source # 
Instance details

Defined in Amazonka.IoT.Types.PresignedUrlConfig

Generic PresignedUrlConfig Source # 
Instance details

Defined in Amazonka.IoT.Types.PresignedUrlConfig

Associated Types

type Rep PresignedUrlConfig :: Type -> Type #

NFData PresignedUrlConfig Source # 
Instance details

Defined in Amazonka.IoT.Types.PresignedUrlConfig

Methods

rnf :: PresignedUrlConfig -> () #

Hashable PresignedUrlConfig Source # 
Instance details

Defined in Amazonka.IoT.Types.PresignedUrlConfig

ToJSON PresignedUrlConfig Source # 
Instance details

Defined in Amazonka.IoT.Types.PresignedUrlConfig

FromJSON PresignedUrlConfig Source # 
Instance details

Defined in Amazonka.IoT.Types.PresignedUrlConfig

type Rep PresignedUrlConfig Source # 
Instance details

Defined in Amazonka.IoT.Types.PresignedUrlConfig

type Rep PresignedUrlConfig = D1 ('MetaData "PresignedUrlConfig" "Amazonka.IoT.Types.PresignedUrlConfig" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "PresignedUrlConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "expiresInSec") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "roleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newPresignedUrlConfig :: PresignedUrlConfig Source #

Create a value of PresignedUrlConfig with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:expiresInSec:PresignedUrlConfig', presignedUrlConfig_expiresInSec - 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.

$sel:roleArn:PresignedUrlConfig', presignedUrlConfig_roleArn - 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.

presignedUrlConfig_expiresInSec :: Lens' PresignedUrlConfig (Maybe Natural) Source #

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.

presignedUrlConfig_roleArn :: Lens' PresignedUrlConfig (Maybe Text) Source #

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.