class Aws::GreengrassV2::Types::ComponentDeploymentSpecification

Contains information about a component to deploy.

@note When making an API call, you may pass ComponentDeploymentSpecification

data as a hash:

    {
      component_version: "ComponentVersionString",
      configuration_update: {
        merge: "ComponentConfigurationString",
        reset: ["ComponentConfigurationPath"],
      },
      run_with: {
        posix_user: "NonEmptyString",
        system_resource_limits: {
          memory: 1,
          cpus: 1.0,
        },
      },
    }

@!attribute [rw] component_version

The version of the component.
@return [String]

@!attribute [rw] configuration_update

The configuration updates to deploy for the component. You can
define *reset* updates and *merge* updates. A reset updates the keys
that you specify to the default configuration for the component. A
merge updates the core device's component configuration with the
keys and values that you specify. The IoT Greengrass Core software
applies reset updates before it applies merge updates. For more
information, see [Update component configurations][1] in the *IoT
Greengrass V2 Developer Guide*.

[1]: https://docs.aws.amazon.com/greengrass/v2/developerguide/update-component-configurations.html
@return [Types::ComponentConfigurationUpdate]

@!attribute [rw] run_with

The system user and group that the IoT Greengrass Core software uses
to run component processes on the core device. If you omit this
parameter, the IoT Greengrass Core software uses the system user and
group that you configure for the core device. For more information,
see [Configure the user and group that run components][1] in the
*IoT Greengrass V2 Developer Guide*.

[1]: https://docs.aws.amazon.com/greengrass/v2/developerguide/configure-greengrass-core-v2.html#configure-component-user
@return [Types::ComponentRunWith]

@see docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/ComponentDeploymentSpecification AWS API Documentation

Constants

SENSITIVE