Class: AWSCDK::Interfaces::AWSSupportapp::SlackChannelConfigurationReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSSupportapp::SlackChannelConfigurationReference
- Defined in:
- interfaces/aws_supportapp/slack_channel_configuration_reference.rb
Overview
A reference to a SlackChannelConfiguration resource.
Instance Attribute Summary collapse
-
#channel_id ⇒ String
readonly
The ChannelId of the SlackChannelConfiguration resource.
-
#team_id ⇒ String
readonly
The TeamId of the SlackChannelConfiguration resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(channel_id:, team_id:) ⇒ SlackChannelConfigurationReference
constructor
A new instance of SlackChannelConfigurationReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(channel_id:, team_id:) ⇒ SlackChannelConfigurationReference
Returns a new instance of SlackChannelConfigurationReference.
9 10 11 12 13 14 |
# File 'interfaces/aws_supportapp/slack_channel_configuration_reference.rb', line 9 def initialize(channel_id:, team_id:) @channel_id = channel_id Jsii::Type.check_type(@channel_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "channelId") @team_id = team_id Jsii::Type.check_type(@team_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "teamId") end |
Instance Attribute Details
#channel_id ⇒ String (readonly)
The ChannelId of the SlackChannelConfiguration resource.
19 20 21 |
# File 'interfaces/aws_supportapp/slack_channel_configuration_reference.rb', line 19 def channel_id @channel_id end |
#team_id ⇒ String (readonly)
The TeamId of the SlackChannelConfiguration resource.
23 24 25 |
# File 'interfaces/aws_supportapp/slack_channel_configuration_reference.rb', line 23 def team_id @team_id end |
Class Method Details
.jsii_properties ⇒ Object
25 26 27 28 29 30 |
# File 'interfaces/aws_supportapp/slack_channel_configuration_reference.rb', line 25 def self.jsii_properties { :channel_id => "channelId", :team_id => "teamId", } end |
Instance Method Details
#to_jsii ⇒ Object
32 33 34 35 36 37 38 39 |
# File 'interfaces/aws_supportapp/slack_channel_configuration_reference.rb', line 32 def to_jsii result = {} result.merge!({ "channelId" => @channel_id, "teamId" => @team_id, }) result.compact end |