Class: Aws::GreengrassV2::Types::ComponentDeploymentSpecification

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-greengrassv2/lib/aws-sdk-greengrassv2/types.rb

Overview

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,
    },
  },
}

Contains information about a component to deploy.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#component_versionString

The version of the component.

Returns:

  • (String)


476
477
478
479
480
481
482
# File 'gems/aws-sdk-greengrassv2/lib/aws-sdk-greengrassv2/types.rb', line 476

class ComponentDeploymentSpecification < Struct.new(
  :component_version,
  :configuration_update,
  :run_with)
  SENSITIVE = []
  include Aws::Structure
end

#configuration_updateTypes::ComponentConfigurationUpdate

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 in the IoT Greengrass V2 Developer Guide.



476
477
478
479
480
481
482
# File 'gems/aws-sdk-greengrassv2/lib/aws-sdk-greengrassv2/types.rb', line 476

class ComponentDeploymentSpecification < Struct.new(
  :component_version,
  :configuration_update,
  :run_with)
  SENSITIVE = []
  include Aws::Structure
end

#run_withTypes::ComponentRunWith

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 in the IoT Greengrass V2 Developer Guide.



476
477
478
479
480
481
482
# File 'gems/aws-sdk-greengrassv2/lib/aws-sdk-greengrassv2/types.rb', line 476

class ComponentDeploymentSpecification < Struct.new(
  :component_version,
  :configuration_update,
  :run_with)
  SENSITIVE = []
  include Aws::Structure
end