Classes
Name | Description |
---|---|
MSTeamsIncomingWebhookConfiguration | No description |
SlackChannelConfiguration | No description |
Structs
Name | Description |
---|---|
MSTeamsIncomingWebhookConfigurationProps | No description |
SlackChannelConfigurationProps | No description |
Interfaces
Name | Description |
---|---|
ISlackChannelConfiguration | No description |
Enums
Name | Description |
---|---|
AccountLabelMode | No description |
LoggingLevel | No description |
Implements: IConstruct, IConstruct, IConstruct, IDependable Extends: Construct
new MSTeamsIncomingWebhookConfiguration(scope: Construct, id: string, props: MSTeamsIncomingWebhookConfigurationProps)
- scope (
Construct
) No description - id (
string
) No description - props (
MSTeamsIncomingWebhookConfigurationProps
) No description- url (
string
) The url of the incoming webhook for a channel. - accountLabelMode (
AccountLabelMode
) No description Default: ACCOUNT_LABEL_MODE.ID_AND_ALIAS - notificationTopics (
Array<ITopic>
) The SNS topics that deliver notifications to MS Teams. Optional - themeColor (
string
) Specifies a custom brand color for the card. Default:#CEDB56
- url (
addEventSource(snsEventSource: SnsEventSource): void
- snsEventSource (
SnsEventSource
) No description
Implements: IConstruct, IConstruct, IConstruct, IDependable Extends: Construct
new SlackChannelConfiguration(scope: Construct, id: string, props: SlackChannelConfigurationProps)
- scope (
Construct
) No description - id (
string
) No description - props (
SlackChannelConfigurationProps
) No description- configurationName (
string
) The name of the configuration. - slackChannelId (
string
) The ID of the Slack channel. - slackWorkspaceId (
string
) The ID of the Slack workspace authorized with AWS Chatbot. - loggingLevel (
LoggingLevel
) Specifies the logging level for this configuration. This property affects the log entries pushed to Amazon CloudWatch Logs. Default: NONE - notificationTopics (
Array<ITopic>
) The SNS topics that deliver notifications to AWS Chatbot. Optional - role (
IRole
) The iam role that defines the permissions for AWS Chatbot. Optional
- configurationName (
Name | Type | Description |
---|---|---|
configurationArn | string |
|
role | IRole |
Allows Lambda-invoke commands in supported clients.
addLambdaInvokeCommandPermissions(lambda?: IFunction): void
- lambda (
IFunction
) No description
Allows AWS Chatbot to retreive metric graphs from Amazon Cloudwatch.
addNotificationPermissions(): void
addReadOnlyCommandPermissions(): void
Allows calling AWS Support APIs in supportzed clients.
addSupportCommandPermissions(): void
Adds a statement to the IAM role assumed by the instance.
addToRolePolicy(statement: PolicyStatement): void
- statement (
PolicyStatement
) No description
Name | Type | Description |
---|---|---|
configurationArn | string |
Name | Type | Description |
---|---|---|
url | string |
The url of the incoming webhook for a channel. |
accountLabelMode? | AccountLabelMode |
Default: ACCOUNT_LABEL_MODE.ID_AND_ALIAS |
notificationTopics? | Array<ITopic> |
The SNS topics that deliver notifications to MS Teams. Optional |
themeColor? | string |
Specifies a custom brand color for the card. Default: #CEDB56 |
Name | Type | Description |
---|---|---|
configurationName | string |
The name of the configuration. |
slackChannelId | string |
The ID of the Slack channel. |
slackWorkspaceId | string |
The ID of the Slack workspace authorized with AWS Chatbot. |
loggingLevel? | LoggingLevel |
Specifies the logging level for this configuration. This property affects the log entries pushed to Amazon CloudWatch Logs. Default: NONE |
notificationTopics? | Array<ITopic> |
The SNS topics that deliver notifications to AWS Chatbot. Optional |
role? | IRole |
The iam role that defines the permissions for AWS Chatbot. Optional |
Name | Description |
---|---|
ID | |
ALIAS | |
ID_AND_ALIAS |
Name | Description |
---|---|
ERROR | |
INFO | |
NONE |