Search in sources :

Example 1 with DeploymentConfigurationValidationPolicy

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;
}
Also used : DeploymentConfigurationValidationPolicy(software.amazon.awssdk.services.greengrassv2.model.DeploymentConfigurationValidationPolicy) DeploymentDocument(com.aws.greengrass.deployment.model.DeploymentDocument) Deployment(com.aws.greengrass.deployment.model.Deployment)

Aggregations

Deployment (com.aws.greengrass.deployment.model.Deployment)1 DeploymentDocument (com.aws.greengrass.deployment.model.DeploymentDocument)1 DeploymentConfigurationValidationPolicy (software.amazon.awssdk.services.greengrassv2.model.DeploymentConfigurationValidationPolicy)1