Interface CfnDeployment.IDeploymentPoliciesProperty
Contains information about policies that define how a deployment updates components and handles failure.
Namespace: Amazon.CDK.AWS.GreengrassV2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IDeploymentPoliciesProperty
Syntax (vb)
Public Interface 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
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. |
Properties
ComponentUpdatePolicy
The component update policy for the configuration deployment.
virtual object ComponentUpdatePolicy { get; }
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.
virtual object ConfigurationValidationPolicy { get; }
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.
virtual string FailureHandlingPolicy { get; }
Property Value
System.String