import { DeploymentComponentUpdatePolicyProps } from './DeploymentComponentUpdatePolicyProps';
import { DeploymentConfigurationValidationPolicyProps } from './DeploymentConfigurationValidationPolicyProps';
import { Value } from '../../../cloudformation/Value';
/**
  Contains information about policies that define how a deployment updates components and handles failure.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrassv2-deployment-deploymentpolicies.html">the AWS Docs</a>
*/
export interface DeploymentPoliciesProps {
    /** <code>ComponentUpdatePolicy</code>  <a name="cfn-greengrassv2-deployment-deploymentpolicies-componentupdatepolicy"></a>
  The component update policy for the configuration deployment. This policy defines when it’s safe to deploy the configuration to devices.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    componentUpdatePolicy?: DeploymentComponentUpdatePolicyProps;
    /** <code>ConfigurationValidationPolicy</code>  <a name="cfn-greengrassv2-deployment-deploymentpolicies-configurationvalidationpolicy"></a>
  The configuration validation policy for the configuration deployment. This policy defines how long each component has to validate its configure updates.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    configurationValidationPolicy?: DeploymentConfigurationValidationPolicyProps;
    /** <code>FailureHandlingPolicy</code>  <a name="cfn-greengrassv2-deployment-deploymentpolicies-failurehandlingpolicy"></a>
  The failure handling policy for the configuration deployment. This policy defines what to do if the deployment fails.<br />
  Default: <code>ROLLBACK</code><br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    failureHandlingPolicy?: Value<string>;
}
