Class: Aws::GreengrassV2::Types::ComponentConfigurationUpdate

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 ComponentConfigurationUpdate data as a hash:

{
  merge: "ComponentConfigurationString",
  reset: ["ComponentConfigurationPath"],
}

Contains information about a deployment's update to a component's configuration on Greengrass core devices. For more information, see Update component configurations in the IoT Greengrass V2 Developer Guide.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#mergeString

A serialized JSON string that contains the configuration object to merge to target devices. The core device merges this configuration with the component's existing configuration. If this is the first time a component deploys on a device, the core device merges this configuration with the component's default configuration. This means that the core device keeps it's existing configuration for keys and values that you don't specify in this object. For more information, see Merge configuration updates in the IoT Greengrass V2 Developer Guide.

Returns:

  • (String)


373
374
375
376
377
378
# File 'gems/aws-sdk-greengrassv2/lib/aws-sdk-greengrassv2/types.rb', line 373

class ComponentConfigurationUpdate < Struct.new(
  :merge,
  :reset)
  SENSITIVE = []
  include Aws::Structure
end

#resetArray<String>

The list of configuration nodes to reset to default values on target devices. Use JSON pointers to specify each node to reset. JSON pointers start with a forward slash (/) and use forward slashes to separate the key for each level in the object. For more information, see the JSON pointer specification and Reset configuration updates in the IoT Greengrass V2 Developer Guide.

Returns:

  • (Array<String>)


373
374
375
376
377
378
# File 'gems/aws-sdk-greengrassv2/lib/aws-sdk-greengrassv2/types.rb', line 373

class ComponentConfigurationUpdate < Struct.new(
  :merge,
  :reset)
  SENSITIVE = []
  include Aws::Structure
end