public static final class SlackChannelConfigurationProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements SlackChannelConfigurationProps
SlackChannelConfigurationProps
SlackChannelConfigurationProps.Builder, SlackChannelConfigurationProps.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(java.lang.Object o) |
LoggingLevel |
getLoggingLevel()
Specifies the logging level for this configuration.
|
RetentionDays |
getLogRetention()
The number of days log events are kept in CloudWatch Logs.
|
LogRetentionRetryOptions |
getLogRetentionRetryOptions()
When log retention is specified, a custom resource attempts to create the CloudWatch log group.
|
IRole |
getLogRetentionRole()
The IAM role for the Lambda function associated with the custom resource that sets the retention policy.
|
java.util.List<ITopic> |
getNotificationTopics()
The SNS topics that deliver notifications to AWS Chatbot.
|
IRole |
getRole()
The permission role of Slack channel configuration.
|
java.lang.String |
getSlackChannelConfigurationName()
The name of Slack channel configuration.
|
java.lang.String |
getSlackChannelId()
The ID of the Slack channel.
|
java.lang.String |
getSlackWorkspaceId()
The ID of the Slack workspace authorized with AWS Chatbot.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final java.lang.String getSlackChannelConfigurationName()
SlackChannelConfigurationProps
getSlackChannelConfigurationName
in interface SlackChannelConfigurationProps
public final java.lang.String getSlackChannelId()
SlackChannelConfigurationProps
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.
getSlackChannelId
in interface SlackChannelConfigurationProps
public final java.lang.String getSlackWorkspaceId()
SlackChannelConfigurationProps
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.
getSlackWorkspaceId
in interface SlackChannelConfigurationProps
public final LoggingLevel getLoggingLevel()
SlackChannelConfigurationProps
This property affects the log entries pushed to Amazon CloudWatch Logs.
Default: LoggingLevel.NONE
getLoggingLevel
in interface SlackChannelConfigurationProps
public final RetentionDays getLogRetention()
SlackChannelConfigurationProps
When updating
this property, unsetting it doesn't remove the log retention policy. To
remove the retention policy, set the value to INFINITE
.
Default: logs.RetentionDays.INFINITE
getLogRetention
in interface SlackChannelConfigurationProps
public final LogRetentionRetryOptions getLogRetentionRetryOptions()
SlackChannelConfigurationProps
These options control the retry policy when interacting with CloudWatch APIs.
Default: - Default AWS SDK retry options.
getLogRetentionRetryOptions
in interface SlackChannelConfigurationProps
public final IRole getLogRetentionRole()
SlackChannelConfigurationProps
Default: - A new role is created.
getLogRetentionRole
in interface SlackChannelConfigurationProps
public final java.util.List<ITopic> getNotificationTopics()
SlackChannelConfigurationProps
Default: None
getNotificationTopics
in interface SlackChannelConfigurationProps
public final IRole getRole()
SlackChannelConfigurationProps
Default: - A role will be created.
getRole
in interface SlackChannelConfigurationProps
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()