UNPKG

cdk-codepipeline-badge-notification

Version:

[![NPM version](https://badge.fury.io/js/cdk-codepipeline-badge-notification.svg)](https://badge.fury.io/js/cdk-codepipeline-badge-notification) [![PyPI version](https://badge.fury.io/py/cdk-codepipeline-badge-notification.svg)](https://badge.fury.io/py/c

100 lines (47 loc) 3.45 kB
# API Reference **Classes** Name|Description ----|----------- [CodePipelineBadgeNotification](#cdk-codepipeline-badge-notification-codepipelinebadgenotification)|*No description* **Structs** Name|Description ----|----------- [CodePipelineBadgeNotificationProps](#cdk-codepipeline-badge-notification-codepipelinebadgenotificationprops)|*No description* [GitHubTokenFromSecretsManager](#cdk-codepipeline-badge-notification-githubtokenfromsecretsmanager)|*No description* [Notification](#cdk-codepipeline-badge-notification-notification)|*No description* ## class CodePipelineBadgeNotification 🔹 <a id="cdk-codepipeline-badge-notification-codepipelinebadgenotification"></a> __Implements__: [IConstruct](#constructs-iconstruct), [IDependable](#constructs-idependable) __Extends__: [Construct](#constructs-construct) ### Initializer ```ts new CodePipelineBadgeNotification(scope: Construct, id: string, props: CodePipelineBadgeNotificationProps) ``` * **scope** (<code>[Construct](#constructs-construct)</code>) *No description* * **id** (<code>string</code>) *No description* * **props** (<code>[CodePipelineBadgeNotificationProps](#cdk-codepipeline-badge-notification-codepipelinebadgenotificationprops)</code>) *No description* * **pipelineArn** (<code>string</code>) AWS CodePipeline arn. * **gitHubTokenFromSecretsManager** (<code>[GitHubTokenFromSecretsManager](#cdk-codepipeline-badge-notification-githubtokenfromsecretsmanager)</code>) AWS Secret Manager id or arn. __*Optional*__ * **notification** (<code>[Notification](#cdk-codepipeline-badge-notification-notification)</code>) Notification. __*Optional*__ ### Properties Name | Type | Description -----|------|------------- **badgeUrl**🔹 | <code>string</code> | <span></span> **codePipelineLink**🔹 | <code>string</code> | <span></span> ## struct CodePipelineBadgeNotificationProps 🔹 <a id="cdk-codepipeline-badge-notification-codepipelinebadgenotificationprops"></a> Name | Type | Description -----|------|------------- **pipelineArn**🔹 | <code>string</code> | AWS CodePipeline arn. **gitHubTokenFromSecretsManager**?🔹 | <code>[GitHubTokenFromSecretsManager](#cdk-codepipeline-badge-notification-githubtokenfromsecretsmanager)</code> | AWS Secret Manager id or arn.<br/>__*Optional*__ **notification**?🔹 | <code>[Notification](#cdk-codepipeline-badge-notification-notification)</code> | Notification.<br/>__*Optional*__ ## struct GitHubTokenFromSecretsManager 🔹 <a id="cdk-codepipeline-badge-notification-githubtokenfromsecretsmanager"></a> Name | Type | Description -----|------|------------- **secretKey**?🔹 | <code>string</code> | SecretKey.<br/>__*Optional*__ **secretsManagerArn**?🔹 | <code>string</code> | Arn with other type of secrets.<br/>__*Optional*__ ## struct Notification 🔹 <a id="cdk-codepipeline-badge-notification-notification"></a> Name | Type | Description -----|------|------------- **ssmGoogleChatWebHookUrl**?🔹 | <code>string</code> | google chat webhook url from ssm parameter.<br/>__*Optional*__ **ssmSlackWebHookUrl**?🔹 | <code>string</code> | Slack webhook url from ssm parameter.<br/>__*Optional*__ **ssmTelegramWebHookUrl**?🔹 | <code>string</code> | telegram webhook url from from ssm parameter the URL is not include text query string.<br/>__*Optional*__ **stageName**?🔹 | <code>string</code> | Prefix title for slack message.<br/>__*Optional*__