Interface CfnSlackChannelConfigurationProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnSlackChannelConfigurationProps.Jsii$Proxy
CfnSlackChannelConfiguration
.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.chatbot.*; CfnSlackChannelConfigurationProps cfnSlackChannelConfigurationProps = CfnSlackChannelConfigurationProps.builder() .configurationName("configurationName") .iamRoleArn("iamRoleArn") .slackChannelId("slackChannelId") .slackWorkspaceId("slackWorkspaceId") // the properties below are optional .customizationResourceArns(List.of("customizationResourceArns")) .guardrailPolicies(List.of("guardrailPolicies")) .loggingLevel("loggingLevel") .snsTopicArns(List.of("snsTopicArns")) .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .userRoleRequired(false) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnSlackChannelConfigurationProps
static final class
An implementation forCfnSlackChannelConfigurationProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The name of the configuration.Links a list of resource ARNs (for example, custom action ARNs) to a Slack channel configuration for AWS Chatbot .The list of IAM policy ARNs that are applied as channel guardrails.The ARN of the IAM role that defines the permissions for AWS Chatbot .default String
Specifies the logging level for this configuration.The ID of the Slack channel.The ID of the Slack workspace authorized with AWS Chatbot .The ARNs of the SNS topics that deliver notifications to AWS Chatbot .getTags()
The tags to add to the configuration.default Object
Enables use of a user role requirement in your chat configuration.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getConfigurationName
The name of the configuration.- See Also:
-
getIamRoleArn
The ARN of the IAM role that defines the permissions for AWS Chatbot .This is a user-defined role that AWS Chatbot will assume. This is not the service-linked role. For more information, see IAM Policies for AWS Chatbot .
- See Also:
-
getSlackChannelId
The ID of the Slack channel.To get the ID, open Slack, right click on the channel name in the left pane, then choose Copy Link. The channel ID is the character string at the end of the URL. For example,
ABCBBLZZZ
.- See Also:
-
getSlackWorkspaceId
The ID of the Slack workspace authorized with AWS Chatbot .To get the workspace ID, you must perform the initial authorization flow with Slack in the AWS Chatbot console. Then you can copy and paste the workspace ID from the console. For more details, see steps 1-3 in Tutorial: Get started with Slack in the AWS Chatbot User Guide .
- See Also:
-
getCustomizationResourceArns
Links a list of resource ARNs (for example, custom action ARNs) to a Slack channel configuration for AWS Chatbot .- See Also:
-
getGuardrailPolicies
The list of IAM policy ARNs that are applied as channel guardrails.The AWS managed 'AdministratorAccess' policy is applied as a default if this is not set.
- See Also:
-
getLoggingLevel
Specifies the logging level for this configuration. This property affects the log entries pushed to Amazon CloudWatch Logs.Logging levels include
ERROR
,INFO
, orNONE
.Default: - "NONE"
- See Also:
-
getSnsTopicArns
The ARNs of the SNS topics that deliver notifications to AWS Chatbot .- See Also:
-
getTags
The tags to add to the configuration.- See Also:
-
getUserRoleRequired
Enables use of a user role requirement in your chat configuration.Default: - false
- See Also:
-
builder
-