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

Class: Aws::Greengrass::Types::CreateSoftwareUpdateJobRequest

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

Overview

Note:

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

{
  amzn_client_token: "__string",
  s3_url_signer_role: "S3UrlSignerRole", # required
  software_to_update: "core", # required, accepts core, ota_agent
  update_agent_log_level: "NONE", # accepts NONE, TRACE, DEBUG, VERBOSE, INFO, WARN, ERROR, FATAL
  update_targets: ["__string"], # required
  update_targets_architecture: "armv6l", # required, accepts armv6l, armv7l, x86_64, aarch64
  update_targets_operating_system: "ubuntu", # required, accepts ubuntu, raspbian, amazon_linux, openwrt
}

Request for the CreateSoftwareUpdateJob API.

Instance Attribute Summary collapse

Instance Attribute Details

#amzn_client_token ⇒ String

Returns:

  • (String)

#s3_url_signer_role ⇒ String

The IAM Role that Greengrass will use to create pre-signed URLs pointing towards the update artifact.

Returns:

  • (String) —

    The IAM Role that Greengrass will use to create pre-signed URLs pointing towards the update artifact.

#software_to_update ⇒ String

The piece of software on the Greengrass core that will be updated.

Possible values:

  • core
  • ota_agent

Returns:

  • (String) —

    The piece of software on the Greengrass core that will be updated.

#update_agent_log_level ⇒ String

The minimum level of log statements that should be logged by the OTA Agent during an update.

Possible values:

  • NONE
  • TRACE
  • DEBUG
  • VERBOSE
  • INFO
  • WARN
  • ERROR
  • FATAL

Returns:

  • (String) —

    The minimum level of log statements that should be logged by the OTA Agent during an update.

#update_targets ⇒ Array<String>

The ARNs of the targets (IoT things or IoT thing groups) that this update will be applied to.

Returns:

  • (Array<String>) —

    The ARNs of the targets (IoT things or IoT thing groups) that this update will be applied to.

#update_targets_architecture ⇒ String

The architecture of the cores which are the targets of an update.

Possible values:

  • armv6l
  • armv7l
  • x86_64
  • aarch64

Returns:

  • (String) —

    The architecture of the cores which are the targets of an update.

#update_targets_operating_system ⇒ String

The operating system of the cores which are the targets of an update.

Possible values:

  • ubuntu
  • raspbian
  • amazon_linux
  • openwrt

Returns:

  • (String) —

    The operating system of the cores which are the targets of an update.