Class: AWSCDK::Interfaces::AWSDevopsguru::NotificationChannelReference

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
interfaces/aws_devopsguru/notification_channel_reference.rb

Overview

A reference to a NotificationChannel resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(notification_channel_id:) ⇒ NotificationChannelReference

Returns a new instance of NotificationChannelReference.

Parameters:

  • notification_channel_id (String)

    The Id of the NotificationChannel resource.



8
9
10
11
# File 'interfaces/aws_devopsguru/notification_channel_reference.rb', line 8

def initialize(notification_channel_id:)
  @notification_channel_id = notification_channel_id
  Jsii::Type.check_type(@notification_channel_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "notificationChannelId")
end

Instance Attribute Details

#notification_channel_idString (readonly)

The Id of the NotificationChannel resource.

Returns:

  • (String)


16
17
18
# File 'interfaces/aws_devopsguru/notification_channel_reference.rb', line 16

def notification_channel_id
  @notification_channel_id
end

Class Method Details

.jsii_propertiesObject



18
19
20
21
22
# File 'interfaces/aws_devopsguru/notification_channel_reference.rb', line 18

def self.jsii_properties
  {
    :notification_channel_id => "notificationChannelId",
  }
end

Instance Method Details

#to_jsiiObject



24
25
26
27
28
29
30
# File 'interfaces/aws_devopsguru/notification_channel_reference.rb', line 24

def to_jsii
  result = {}
  result.merge!({
    "notificationChannelId" => @notification_channel_id,
  })
  result.compact
end