This package has been deprecated

Author message:

Contents of this package have been moved into @aws-cdk/aws-codebuild

@aws-cdk/aws-codebuild-codepipeline
TypeScript icon, indicating that this package has built-in type declarations

0.8.1 • Public • Published

AWS CodePipline Actions for AWS CodeBuild

This module contains an Action that allows you to use a CodeBuild Project in CodePipeline.

Example:

import codebuildPipeline = require('@aws-cdk/aws-codebuild-codepipeline');
import codepipeline = require('@aws-cdk/aws-codepipeline');

// see the @aws-cdk/aws-codebuild module for more documentation on how to create CodeBuild Projects
const project = new codebuildPipeline.PipelineProject(this, 'MyProject', {
    // ...
});

const pipeline = new codepipeline.Pipeline(this, 'MyPipeline');
const buildStage = new codepipeline.Stage(pipeline, 'Build');
new codebuildPipeline.PipelineBuildAction(buildStage, 'CodeBuild', {
    project
});

The PipelineProject utility class is a simple sugar around the Project class from the @aws-cdk/aws-codebuild module, it's equivalent to:

import codebuild = require('@aws-cdk/aws-codebuild');

const project = new codebuild.Project(this, 'MyProject', {
    source: new codebuild.CodePipelineSource(),
    artifacts: new codebuild.CodePipelineBuildArtifacts(),
    // rest of the properties from PipelineProject are passed unchanged...
}

Package Sidebar

Install

npm i @aws-cdk/aws-codebuild-codepipeline

Weekly Downloads

19

Version

0.8.1

License

Apache-2.0

Unpacked Size

196 kB

Total Files

21

Last publish

Collaborators

  • amzn-oss
  • aws-cdk-team