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

    0.8.1 • Public • Published

    AWS CodePipline Actions for AWS Lambda

    This module contains an Action that allows you to invoke a Lambda function from CodePipeline.

    Example usage:

    import codepipeline = require('@aws-cdk/aws-codepipeline');
    import lambda = require('@aws-cdk/aws-lambda');
    import lambdaCodepipeline = require('@aws-cdk/aws-lambda-codepipeline');
    
    // see the @aws-cdk/aws-lambda module for more documentation on how to create Lamda functions
    const lambdaFun = new lambda.Lambda(// ...
    );
    
    const pipeline = new codepipeline.Pipeline(this, 'MyPipeline');
    const lambdaStage = new codepipeline.Stage(pipeline, 'Lambda');
    new lambdaCodepipeline.PipelineInvokeAction(lambdaStage, 'Lambda', {
        lambda: lambdaFun,
    });

    See the AWS documentation on how to write a Lambda function invoked from CodePipeline.

    Install

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

    DownloadsWeekly Downloads

    0

    Version

    0.8.1

    License

    Apache-2.0

    Unpacked Size

    92.3 kB

    Total Files

    16

    Last publish

    Collaborators

    • aws-cdk-team
    • eladb
    • romainmuller
    • amzn-oss
    • rix0rrr