ComponentConfigurationUpdateProperty Struct
Contains information about a deployment's update to a component's configuration on AWS IoT Greengrass core devices.
For more information, see Update component configurations in the AWS IoT Greengrass V2 Developer Guide .
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_greengrassv2 as greengrassv2 } from 'aws-cdk-lib';
const componentConfigurationUpdateProperty: greengrassv2.CfnDeployment.ComponentConfigurationUpdateProperty = {
merge: 'merge',
reset: ['reset'],
};
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_greengrassv2 as greengrassv2
component_configuration_update_property = greengrassv2.CfnDeployment.ComponentConfigurationUpdateProperty(
merge="merge",
reset=["reset"]
)
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.greengrassv2.*;
ComponentConfigurationUpdateProperty componentConfigurationUpdateProperty = ComponentConfigurationUpdateProperty.builder()
.merge("merge")
.reset(List.of("reset"))
.build();
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.GreengrassV2;
var componentConfigurationUpdateProperty = new ComponentConfigurationUpdateProperty {
Merge = "merge",
Reset = new [] { "reset" }
};
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
componentConfigurationUpdateProperty := &ComponentConfigurationUpdateProperty{
Merge: jsii.String("merge"),
Reset: []*string{
jsii.String("reset"),
},
}
Properties
notes
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 AWS IoT Greengrass V2 Developer Guide .
resetoptionalstring[]resetoptionaltyping.List[str]resetoptionalList<String>Resetoptionalstring[]Resetoptional*[]*string#notes
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 AWS IoT Greengrass V2 Developer Guide .