Class CfnDeployment.ComponentDeploymentSpecificationProperty
Contains information about a component to deploy.
Inheritance
Namespace: Amazon.CDK.AWS.GreengrassV2
Assembly: Amazon.CDK.AWS.GreengrassV2.dll
Syntax (csharp)
public class ComponentDeploymentSpecificationProperty : Object, CfnDeployment.IComponentDeploymentSpecificationProperty
Syntax (vb)
Public Class ComponentDeploymentSpecificationProperty
Inherits Object
Implements CfnDeployment.IComponentDeploymentSpecificationProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// 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 componentDeploymentSpecificationProperty = new ComponentDeploymentSpecificationProperty {
ComponentVersion = "componentVersion",
ConfigurationUpdate = new ComponentConfigurationUpdateProperty {
Merge = "merge",
Reset = new [] { "reset" }
},
RunWith = new ComponentRunWithProperty {
PosixUser = "posixUser",
SystemResourceLimits = new SystemResourceLimitsProperty {
Cpus = 123,
Memory = 123
},
WindowsUser = "windowsUser"
}
};
Synopsis
Constructors
ComponentDeploymentSpecificationProperty() |
Properties
ComponentVersion | The version of the component. |
ConfigurationUpdate | The configuration updates to deploy for the component. |
RunWith | The system user and group that the software uses to run component processes on the core device. |
Constructors
ComponentDeploymentSpecificationProperty()
public ComponentDeploymentSpecificationProperty()
Properties
ComponentVersion
The version of the component.
public string ComponentVersion { get; set; }
Property Value
System.String
Remarks
ConfigurationUpdate
The configuration updates to deploy for the component.
public object ConfigurationUpdate { get; set; }
Property Value
System.Object
Remarks
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 AWS IoT Greengrass Core software applies reset updates before it applies merge updates. For more information, see Update component configuration .
RunWith
The system user and group that the software uses to run component processes on the core device.
public object RunWith { get; set; }
Property Value
System.Object
Remarks
If you omit this parameter, the 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 AWS IoT Greengrass V2 Developer Guide .