Interface ISlackChannelConfiguration.Jsii$Default
- All Superinterfaces:
software.constructs.IConstruct,software.constructs.IConstruct.Jsii$Default,software.constructs.IDependable,software.constructs.IDependable.Jsii$Default,IEnvironmentAware,IEnvironmentAware.Jsii$Default,IGrantable,IGrantable.Jsii$Default,INotificationRuleTarget,INotificationRuleTarget.Jsii$Default,IResource,IResource.Jsii$Default,ISlackChannelConfiguration,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ISlackChannelConfiguration.Jsii$Proxy
- Enclosing interface:
ISlackChannelConfiguration
@Internal
public static interface ISlackChannelConfiguration.Jsii$Default
extends ISlackChannelConfiguration, IResource.Jsii$Default, INotificationRuleTarget.Jsii$Default, IGrantable.Jsii$Default
Internal default implementation for
ISlackChannelConfiguration.-
Nested Class Summary
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$ProxyNested classes/interfaces inherited from interface software.constructs.IDependable
software.constructs.IDependable.Jsii$Default, software.constructs.IDependable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
IEnvironmentAware.Jsii$Default, IEnvironmentAware.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.iam.IGrantable
IGrantable.Jsii$Default, IGrantable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.codestarnotifications.INotificationRuleTarget
INotificationRuleTarget.Jsii$Default, INotificationRuleTarget.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$Default, IResource.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.chatbot.ISlackChannelConfiguration
ISlackChannelConfiguration.Jsii$Default, ISlackChannelConfiguration.Jsii$Proxy -
Method Summary
Modifier and TypeMethodDescriptiondefault voidaddToRolePolicy(PolicyStatement statement) Adds a statement to the IAM role.default IRolegetRole()The permission role of Slack channel configuration.default StringThe ARN of the Slack channel configuration In the form of arn:aws:chatbot:{region}:{account}:chat-configuration/slack-channel/{slackChannelName}.default StringThe name of Slack channel configuration.default MetricReturn the given named metric for this SlackChannelConfiguration.default Metricmetric(String metricName, MetricOptions props) Return the given named metric for this SlackChannelConfiguration.Methods inherited from interface software.constructs.IConstruct.Jsii$Default
getNodeMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware.Jsii$Default
getEnvMethods inherited from interface software.amazon.awscdk.services.iam.IGrantable.Jsii$Default
getGrantPrincipalMethods inherited from interface software.amazon.awscdk.services.codestarnotifications.INotificationRuleTarget.Jsii$Default
bindAsNotificationRuleTargetMethods inherited from interface software.amazon.awscdk.IResource.Jsii$Default
applyRemovalPolicy, getStackMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getSlackChannelConfigurationArn
The ARN of the Slack channel configuration In the form of arn:aws:chatbot:{region}:{account}:chat-configuration/slack-channel/{slackChannelName}.- Specified by:
getSlackChannelConfigurationArnin interfaceISlackChannelConfiguration
-
getSlackChannelConfigurationName
The name of Slack channel configuration.- Specified by:
getSlackChannelConfigurationNamein interfaceISlackChannelConfiguration
-
getRole
The permission role of Slack channel configuration.Default: - A role will be created.
- Specified by:
getRolein interfaceISlackChannelConfiguration
-
addToRolePolicy
Adds a statement to the IAM role.- Specified by:
addToRolePolicyin interfaceISlackChannelConfiguration- Parameters:
statement- This parameter is required.
-
metric
@Stability(Stable) @NotNull default Metric metric(@NotNull String metricName, @Nullable MetricOptions props) Return the given named metric for this SlackChannelConfiguration.- Specified by:
metricin interfaceISlackChannelConfiguration- Parameters:
metricName- This parameter is required.props-
-
metric
Return the given named metric for this SlackChannelConfiguration.- Specified by:
metricin interfaceISlackChannelConfiguration- Parameters:
metricName- This parameter is required.
-