@Stability(value=Experimental) @Internal public static final class SlackChannelConfigurationProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements SlackChannelConfigurationProps
SlackChannelConfigurationPropssoftware.amazon.jsii.JsiiObject.InitializationModeSlackChannelConfigurationProps.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.
|
protected |
Jsii$Proxy(String slackChannelConfigurationName,
String slackChannelId,
String slackWorkspaceId,
LoggingLevel loggingLevel,
RetentionDays logRetention,
LogRetentionRetryOptions logRetentionRetryOptions,
IRole logRetentionRole,
List<? extends ITopic> notificationTopics,
IRole role)
Constructor that initializes the object based on literal property values passed by the
SlackChannelConfigurationProps.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
LoggingLevel |
getLoggingLevel()
(experimental) Specifies the logging level for this configuration.
|
RetentionDays |
getLogRetention()
(experimental) The number of days log events are kept in CloudWatch Logs.
|
LogRetentionRetryOptions |
getLogRetentionRetryOptions()
(experimental) When log retention is specified, a custom resource attempts to create the CloudWatch log group.
|
IRole |
getLogRetentionRole()
(experimental) The IAM role for the Lambda function associated with the custom resource that sets the retention policy.
|
List<ITopic> |
getNotificationTopics()
(experimental) The SNS topics that deliver notifications to AWS Chatbot.
|
IRole |
getRole()
(experimental) The permission role of Slack channel configuration.
|
String |
getSlackChannelConfigurationName()
(experimental) The name of Slack channel configuration.
|
String |
getSlackChannelId()
(experimental) The ID of the Slack channel.
|
String |
getSlackWorkspaceId()
(experimental) The ID of the Slack workspace authorized with AWS Chatbot.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(String slackChannelConfigurationName, String slackChannelId, String slackWorkspaceId, LoggingLevel loggingLevel, RetentionDays logRetention, LogRetentionRetryOptions logRetentionRetryOptions, IRole logRetentionRole, List<? extends ITopic> notificationTopics, IRole role)
SlackChannelConfigurationProps.Builder.public final String getSlackChannelConfigurationName()
SlackChannelConfigurationPropsgetSlackChannelConfigurationName in interface SlackChannelConfigurationPropspublic final String getSlackChannelId()
SlackChannelConfigurationPropsTo 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 SlackChannelConfigurationPropspublic final String getSlackWorkspaceId()
SlackChannelConfigurationPropsTo 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 SlackChannelConfigurationPropshttps://docs.aws.amazon.com/chatbot/latest/adminguide/setting-up.html#Setup_intropublic final LoggingLevel getLoggingLevel()
SlackChannelConfigurationPropsThis property affects the log entries pushed to Amazon CloudWatch Logs.
Default: LoggingLevel.NONE
getLoggingLevel in interface SlackChannelConfigurationPropspublic 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 SlackChannelConfigurationPropspublic final LogRetentionRetryOptions getLogRetentionRetryOptions()
SlackChannelConfigurationPropsThese options control the retry policy when interacting with CloudWatch APIs.
Default: - Default AWS SDK retry options.
getLogRetentionRetryOptions in interface SlackChannelConfigurationPropspublic final IRole getLogRetentionRole()
SlackChannelConfigurationPropsDefault: - A new role is created.
getLogRetentionRole in interface SlackChannelConfigurationPropspublic final List<ITopic> getNotificationTopics()
SlackChannelConfigurationPropsDefault: None
getNotificationTopics in interface SlackChannelConfigurationPropspublic final IRole getRole()
SlackChannelConfigurationPropsDefault: - A role will be created.
getRole in interface SlackChannelConfigurationProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.