Module: AWSCDK::CodeStarNotifications::INotificationRuleTarget

Included in:
AWSCDK::Chatbot::ISlackChannelConfiguration, SNS::ITopic
Defined in:
code_star_notifications/i_notification_rule_target.rb

Overview

Represents a notification target That allows AWS Chatbot and SNS topic to associate with this rule target.

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.jsii_overridable_methodsObject



16
17
18
19
20
# File 'code_star_notifications/i_notification_rule_target.rb', line 16

def self.jsii_overridable_methods
  {
    :bind_as_notification_rule_target => { kind: :method, name: "bindAsNotificationRuleTarget", is_optional: false },
  }
end

Instance Method Details

#bind_as_notification_rule_target(scope) ⇒ AWSCDK::CodeStarNotifications::NotificationRuleTargetConfig

Returns a target configuration for notification rule.

Parameters:

  • scope (Constructs::Construct)

Returns:



11
12
13
14
# File 'code_star_notifications/i_notification_rule_target.rb', line 11

def bind_as_notification_rule_target(scope)
  Jsii::Type.check_type(scope, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJjb25zdHJ1Y3RzLkNvbnN0cnVjdCJ9")), "scope")
  jsii_call_method("bindAsNotificationRuleTarget", [scope])
end