How to use the @aws-cdk/aws-codepipeline-actions.ManualApprovalAction function in @aws-cdk/aws-codepipeline-actions

To help you get started, we’ve selected a few @aws-cdk/aws-codepipeline-actions examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github fourTheorem / slic-starter / cicd / lib / stages / manual-approval-stage.ts View on Github external
constructor(scope: Construct, name: string, resources?: any) {
    super(scope, `${name}Stage`)

    const pipeline: Pipeline = resources.pipeline
    pipeline.addStage({
      name,
      actions: [
        new ManualApprovalAction({
          actionName: `${name}_action`
        })
      ]
    })
  }
}
github fourTheorem / slic-starter / cicd / lib / orchestrator-pipeline.ts View on Github external
stageName: 'Source',
      actions: [sourceAction]
    })

    this.addDeployStage(
      StageName.stg,
      orchestratorCodeBuildRole,
      sourceOutputArtifact
    )

    this.addTestStage(sourceOutputArtifact)

    this.addStage({
      stageName: 'Approval',
      actions: [
        new ManualApprovalAction({
          actionName: 'MoveToProduction'
        })
      ]
    })

    this.addDeployStage(
      StageName.prod,
      orchestratorCodeBuildRole,
      sourceOutputArtifact
    )

    this.addStage({
      stageName: 'UpdateDeploymentState',
      actions: [
        new CodeBuildAction({
          actionName: 'UpdateState',