Class CfnDeployment.DeploymentComponentUpdatePolicyProperty
Contains information about a deployment's policy that defines when components are safe to update.
Inheritance
Namespace: Amazon.CDK.AWS.GreengrassV2
Assembly: Amazon.CDK.AWS.GreengrassV2.dll
Syntax (csharp)
public class DeploymentComponentUpdatePolicyProperty : Object, CfnDeployment.IDeploymentComponentUpdatePolicyProperty
Syntax (vb)
Public Class DeploymentComponentUpdatePolicyProperty
Inherits Object
Implements CfnDeployment.IDeploymentComponentUpdatePolicyProperty
Remarks
Each component on a device can report whether or not it's ready to update. After a component and its dependencies are ready, they can apply the update in the deployment. You can configure whether or not the deployment notifies components of an update and waits for a response. You specify the amount of time each component has to respond to the update notification.
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 deploymentComponentUpdatePolicyProperty = new DeploymentComponentUpdatePolicyProperty {
Action = "action",
TimeoutInSeconds = 123
};
Synopsis
Constructors
DeploymentComponentUpdatePolicyProperty() |
Properties
Action | Whether or not to notify components and wait for components to become safe to update. |
TimeoutInSeconds | The amount of time in seconds that each component on a device has to report that it's safe to update. |
Constructors
DeploymentComponentUpdatePolicyProperty()
public DeploymentComponentUpdatePolicyProperty()
Properties
Action
Whether or not to notify components and wait for components to become safe to update.
public string Action { get; set; }
Property Value
System.String
Remarks
Choose from the following options:
Default: NOTIFY_COMPONENTS
TimeoutInSeconds
The amount of time in seconds that each component on a device has to report that it's safe to update.
public Nullable<double> TimeoutInSeconds { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
If the component waits for longer than this timeout, then the deployment proceeds on the device.
Default: 60