Class: AWSCDK::Notifications::CfnChannelAssociationProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Notifications::CfnChannelAssociationProps
- Defined in:
- notifications/cfn_channel_association_props.rb
Overview
Properties for defining a CfnChannelAssociation.
Instance Attribute Summary collapse
-
#arn ⇒ String
readonly
The Amazon Resource Name (ARN) of the
Channel. -
#notification_configuration_arn ⇒ String
readonly
The ARN of the
NotificationConfigurationassociated with theChannel.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(arn:, notification_configuration_arn:) ⇒ CfnChannelAssociationProps
constructor
A new instance of CfnChannelAssociationProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(arn:, notification_configuration_arn:) ⇒ CfnChannelAssociationProps
Returns a new instance of CfnChannelAssociationProps.
11 12 13 14 15 16 |
# File 'notifications/cfn_channel_association_props.rb', line 11 def initialize(arn:, notification_configuration_arn:) @arn = arn Jsii::Type.check_type(@arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "arn") @notification_configuration_arn = notification_configuration_arn Jsii::Type.check_type(@notification_configuration_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "notificationConfigurationArn") end |
Instance Attribute Details
#arn ⇒ String (readonly)
The Amazon Resource Name (ARN) of the Channel .
22 23 24 |
# File 'notifications/cfn_channel_association_props.rb', line 22 def arn @arn end |
#notification_configuration_arn ⇒ String (readonly)
The ARN of the NotificationConfiguration associated with the Channel .
27 28 29 |
# File 'notifications/cfn_channel_association_props.rb', line 27 def notification_configuration_arn @notification_configuration_arn end |
Class Method Details
.jsii_properties ⇒ Object
29 30 31 32 33 34 |
# File 'notifications/cfn_channel_association_props.rb', line 29 def self.jsii_properties { :arn => "arn", :notification_configuration_arn => "notificationConfigurationArn", } end |
Instance Method Details
#to_jsii ⇒ Object
36 37 38 39 40 41 42 43 |
# File 'notifications/cfn_channel_association_props.rb', line 36 def to_jsii result = {} result.merge!({ "arn" => @arn, "notificationConfigurationArn" => @notification_configuration_arn, }) result.compact end |