UNPKG

@gammarers/aws-codepipeline-execution-state-change-notification-stack

Version:

This AWS CDK Construct Stack receives all state changes of CodePipeline and sends a message to the specified notification destination when the CodePipeline is tagged with a specified tag. Therefore, you can send messages simply by adding tags without need

10 lines (9 loc) 414 B
import * as sns from 'aws-cdk-lib/aws-sns'; import * as sfn from 'aws-cdk-lib/aws-stepfunctions'; import { Construct } from 'constructs'; export interface NotificationStateMachineProps extends sfn.StateMachineProps { notificationTopic: sns.ITopic; } export declare class NotificationStateMachine extends sfn.StateMachine { constructor(scope: Construct, id: string, props: NotificationStateMachineProps); }