Class CfnDeployment.DeploymentPoliciesProperty
Contains information about policies that define how a deployment updates components and handles failure.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.GreengrassV2
Assembly: Amazon.CDK.AWS.GreengrassV2.dll
Syntax (csharp)
public class DeploymentPoliciesProperty : Object, CfnDeployment.IDeploymentPoliciesProperty
Syntax (vb)
Public Class DeploymentPoliciesProperty
Inherits Object
Implements CfnDeployment.IDeploymentPoliciesProperty
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 deploymentPoliciesProperty = new DeploymentPoliciesProperty {
ComponentUpdatePolicy = new DeploymentComponentUpdatePolicyProperty {
Action = "action",
TimeoutInSeconds = 123
},
ConfigurationValidationPolicy = new DeploymentConfigurationValidationPolicyProperty {
TimeoutInSeconds = 123
},
FailureHandlingPolicy = "failureHandlingPolicy"
};
Synopsis
Constructors
DeploymentPoliciesProperty() |
Properties
ComponentUpdatePolicy | The component update policy for the configuration deployment. |
ConfigurationValidationPolicy | The configuration validation policy for the configuration deployment. |
FailureHandlingPolicy | The failure handling policy for the configuration deployment. This policy defines what to do if the deployment fails. |
Constructors
DeploymentPoliciesProperty()
public DeploymentPoliciesProperty()
Properties
ComponentUpdatePolicy
The component update policy for the configuration deployment.
public object ComponentUpdatePolicy { get; set; }
Property Value
System.Object
Remarks
This policy defines when it's safe to deploy the configuration to devices.
ConfigurationValidationPolicy
The configuration validation policy for the configuration deployment.
public object ConfigurationValidationPolicy { get; set; }
Property Value
System.Object
Remarks
This policy defines how long each component has to validate its configure updates.
FailureHandlingPolicy
The failure handling policy for the configuration deployment. This policy defines what to do if the deployment fails.
public string FailureHandlingPolicy { get; set; }
Property Value
System.String