The CDK Construct Library for AWS::Chatbot
Project description
AWS::Chatbot Construct Library
---All classes with the
Cfn
prefix in this module (CFN Resources) are always stable and safe to use.
AWS Chatbot is an AWS service that enables DevOps and software development teams to use Slack chat rooms to monitor and respond to operational events in their AWS Cloud. AWS Chatbot processes AWS service notifications from Amazon Simple Notification Service (Amazon SNS), and forwards them to Slack chat rooms so teams can analyze and act on them immediately, regardless of location.
This module is part of the AWS Cloud Development Kit project.
# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826
import aws_cdk.aws_chatbot as chatbot
slack_channel = chatbot.SlackChannelConfiguration(self, "MySlackChannel",
slack_channel_configuration_name="YOUR_CHANNEL_NAME",
slack_workspace_id="YOUR_SLACK_WORKSPACE_ID",
slack_channel_id="YOUR_SLACK_CHANNEL_ID"
)
slack_channel.add_lambda_invoke_command_permissions()
slack_channel.add_notification_permissions()
slack_channel.add_support_command_permissions()
slack_channel.add_read_only_command_permissions()
slack_channel.add_to_principal_policy(iam.PolicyStatement(
effect=iam.Effect.ALLOW,
actions=["s3:GetObject"
],
resources=["arn:aws:s3:::abc/xyz/123.txt"]
))
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
aws-cdk.aws-chatbot-1.62.0.tar.gz
(38.0 kB
view hashes)
Built Distribution
Close
Hashes for aws-cdk.aws-chatbot-1.62.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 93f88d7ddb8a202750bf1bf011dd6d03f0c5baed1702caef67b343313c4c23b7 |
|
MD5 | c05d3af0b6b08ea3700c3d777aa7697c |
|
BLAKE2b-256 | fff4d1a9291320b7ce26a5bbca6fbfc13223daaa6afc47fa1974330cc2190e7b |
Close
Hashes for aws_cdk.aws_chatbot-1.62.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55b81d7673d1610feaeace00d6cf3fcdf095dca98d4c2f4a9ffd9d3acfcc8265 |
|
MD5 | 1aea7d0fac19fd517d95cdacd333b152 |
|
BLAKE2b-256 | 23b839a20022b0100ecade03bd5a2a2b73e78a838fce5c499aed60e457fb75ad |