Exemplo n.º 1
0
    def test_codedeploy_application(self):
        expected_codedeploy_application_resource = CodeDeployApplication(CODEDEPLOY_APPLICATION_LOGICAL_ID)
        expected_codedeploy_application_resource.ComputePlatform = "Lambda"

        self.assertEqual(
            DeploymentPreferenceCollection().codedeploy_application.to_dict(),
            expected_codedeploy_application_resource.to_dict(),
        )
 def _codedeploy_application(self):
     codedeploy_application_resource = CodeDeployApplication(
         CODEDEPLOY_APPLICATION_LOGICAL_ID)
     codedeploy_application_resource.ComputePlatform = 'Lambda'
     return codedeploy_application_resource
 def _codedeploy_application(self):
     codedeploy_application_resource = CodeDeployApplication(CODEDEPLOY_APPLICATION_LOGICAL_ID)
     codedeploy_application_resource.ComputePlatform = 'Lambda'
     return codedeploy_application_resource