Class: AWSCDK::Interfaces::AWSPinpoint::ADMChannelReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSPinpoint::ADMChannelReference
- Defined in:
- interfaces/aws_pinpoint/adm_channel_reference.rb
Overview
A reference to a ADMChannel resource.
Instance Attribute Summary collapse
-
#adm_channel_id ⇒ String
readonly
The Id of the ADMChannel resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(adm_channel_id:) ⇒ ADMChannelReference
constructor
A new instance of ADMChannelReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(adm_channel_id:) ⇒ ADMChannelReference
Returns a new instance of ADMChannelReference.
8 9 10 11 |
# File 'interfaces/aws_pinpoint/adm_channel_reference.rb', line 8 def initialize(adm_channel_id:) @adm_channel_id = adm_channel_id Jsii::Type.check_type(@adm_channel_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "admChannelId") end |
Instance Attribute Details
#adm_channel_id ⇒ String (readonly)
The Id of the ADMChannel resource.
16 17 18 |
# File 'interfaces/aws_pinpoint/adm_channel_reference.rb', line 16 def adm_channel_id @adm_channel_id end |
Class Method Details
.jsii_properties ⇒ Object
18 19 20 21 22 |
# File 'interfaces/aws_pinpoint/adm_channel_reference.rb', line 18 def self.jsii_properties { :adm_channel_id => "admChannelId", } end |
Instance Method Details
#to_jsii ⇒ Object
24 25 26 27 28 29 30 |
# File 'interfaces/aws_pinpoint/adm_channel_reference.rb', line 24 def to_jsii result = {} result.merge!({ "admChannelId" => @adm_channel_id, }) result.compact end |