@Stability(value=Stable) public static final class CfnSlackChannelConfigurationProps.Builder extends Object implements software.amazon.jsii.Builder<CfnSlackChannelConfigurationProps>
CfnSlackChannelConfigurationProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnSlackChannelConfigurationProps.Builder configurationName(String configurationName)
CfnSlackChannelConfigurationProps.getConfigurationName()configurationName - The name of the configuration. This parameter is required.this@Stability(value=Stable) public CfnSlackChannelConfigurationProps.Builder iamRoleArn(String iamRoleArn)
CfnSlackChannelConfigurationProps.getIamRoleArn()iamRoleArn - The ARN of the IAM role that defines the permissions for AWS Chatbot . This parameter is required.
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 .this@Stability(value=Stable) public CfnSlackChannelConfigurationProps.Builder slackChannelId(String slackChannelId)
CfnSlackChannelConfigurationProps.getSlackChannelId()slackChannelId - The ID of the Slack channel. This parameter is required.
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 9-character string at the end of the URL. For example, ABCBBLZZZ .this@Stability(value=Stable) public CfnSlackChannelConfigurationProps.Builder slackWorkspaceId(String slackWorkspaceId)
CfnSlackChannelConfigurationProps.getSlackWorkspaceId()slackWorkspaceId - The ID of the Slack workspace authorized with AWS Chatbot . This parameter is required.
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-4 in Setting Up AWS Chatbot with Slack in the AWS Chatbot User Guide .this@Stability(value=Stable) public CfnSlackChannelConfigurationProps.Builder guardrailPolicies(List<String> guardrailPolicies)
CfnSlackChannelConfigurationProps.getGuardrailPolicies()guardrailPolicies - 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.this@Stability(value=Stable) public CfnSlackChannelConfigurationProps.Builder loggingLevel(String loggingLevel)
CfnSlackChannelConfigurationProps.getLoggingLevel()loggingLevel - Specifies the logging level for this configuration. This property affects the log entries pushed to Amazon CloudWatch Logs.
Logging levels include ERROR , INFO , or NONE .this@Stability(value=Stable) public CfnSlackChannelConfigurationProps.Builder snsTopicArns(List<String> snsTopicArns)
CfnSlackChannelConfigurationProps.getSnsTopicArns()snsTopicArns - The ARNs of the SNS topics that deliver notifications to AWS Chatbot .this@Stability(value=Stable) public CfnSlackChannelConfigurationProps.Builder userRoleRequired(Boolean userRoleRequired)
CfnSlackChannelConfigurationProps.getUserRoleRequired()userRoleRequired - Enables use of a user role requirement in your chat configuration.this@Stability(value=Stable) public CfnSlackChannelConfigurationProps.Builder userRoleRequired(IResolvable userRoleRequired)
CfnSlackChannelConfigurationProps.getUserRoleRequired()userRoleRequired - Enables use of a user role requirement in your chat configuration.this@Stability(value=Stable) public CfnSlackChannelConfigurationProps build()
build in interface software.amazon.jsii.Builder<CfnSlackChannelConfigurationProps>CfnSlackChannelConfigurationPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.