use of software.amazon.awssdk.services.greengrassv2.model.DeploymentConfigurationValidationPolicy in project aws-greengrass-nucleus by aws-greengrass.
the class DynamicComponentConfigurationValidatorTest method createTestDeployment.
private Deployment createTestDeployment() {
DeploymentDocument doc = new DeploymentDocument();
doc.setConfigurationArn("test_deployment_id");
doc.setTimestamp(DEFAULT_DEPLOYMENT_TIMESTAMP);
Deployment deployment = new Deployment();
DeploymentConfigurationValidationPolicy configurationValidationPolicy = DeploymentConfigurationValidationPolicy.builder().timeoutInSeconds(20).build();
doc.setConfigurationValidationPolicy(configurationValidationPolicy);
deployment.setDeploymentDocumentObj(doc);
return deployment;
}
Aggregations