Skip to content

PresignedUrlConfig

Source code in docs_src/capo_iot/types/presigned_url_config.py
class PresignedUrlConfig(TypedDict, closed=True):
    role_arn: NotRequired["capo_iot.types.role_arn.RoleArn"]
    """<p>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.</p> <important> <p>For information about addressing the confused deputy problem, see <a href="https://docs.aws.amazon.com/iot/latest/developerguide/cross-service-confused-deputy-prevention.html">cross-service confused deputy prevention</a> in the <i>Amazon Web Services IoT Core developer guide</i>.</p> </important>"""
    expires_in_sec: NotRequired["capo_iot.types.expires_in_sec.ExpiresInSec"]
    """<p>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.</p>"""

expires_in_sec instance-attribute

expires_in_sec: NotRequired[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.

role_arn instance-attribute

role_arn: NotRequired[RoleArn]

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.