How to use the CodeDeploy function from aws-sdk

Find comprehensive JavaScript aws-sdk.CodeDeploy code examples handpicked from public code repositorys.

-2
fork icon0
star icon0
watch icon0

+ 2 other calls in file

249
250
251
252
253
254
255
256
257
258
259
async function run() {
  try {
    const ecs = new aws.ECS({
      customUserAgent: 'amazon-ecs-deploy-task-definition-for-github-actions'
    });
    const codedeploy = new aws.CodeDeploy({
      customUserAgent: 'amazon-ecs-deploy-task-definition-for-github-actions'
    });


    // Get inputs
fork icon0
star icon0
watch icon0

29
30
31
32
33
34
35
36
37
38
    deploymentId: deploymentId,
    lifecycleEventHookExecutionId: lifecycleEventHookExecutionId,
    status: status
};

const codeDeploy = new aws.CodeDeploy({apiVersion: '2014-10-06'});
codeDeploy.putLifecycleEventHookExecutionStatus(
    params,
    (codeDeployError, codeDeployData) => {
        if (codeDeployError) {
fork icon0
star icon0
watch icon0

-2
fork icon0
star icon0
watch icon0