Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(codepipeline-action): add support for externalEntityLink in the manual approval action #5558

Merged
merged 9 commits into from
Jan 8, 2020
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@ export interface ManualApprovalActionProps extends codepipeline.CommonAwsActionP
* Any additional information that you want to include in the notification email message.
*/
readonly additionalInformation?: string;

/**
* URL you want to provide to the reviewer as part of the approval request.
*
* @default - the approval request will not have an external link
*/
readonly externalEntityLink?: string;
}

/**
Expand Down Expand Up @@ -73,6 +80,7 @@ export class ManualApprovalAction extends Action {
? {
NotificationArn: this._notificationTopic.topicArn,
CustomData: this.props.additionalInformation,
ExternalEntityLink: this.props.externalEntityLink,
}
: undefined,
};
Expand Down