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