Class: AWSCDK::Interfaces::AWSSmsvoice::SenderIdReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSSmsvoice::SenderIdReference
- Defined in:
- interfaces/aws_smsvoice/sender_id_reference.rb
Overview
A reference to a SenderId resource.
Instance Attribute Summary collapse
-
#iso_country_code ⇒ String
readonly
The IsoCountryCode of the SenderId resource.
-
#sender_id ⇒ String
readonly
The SenderId of the SenderId resource.
-
#sender_id_arn ⇒ String
readonly
The ARN of the SenderId resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(iso_country_code:, sender_id:, sender_id_arn:) ⇒ SenderIdReference
constructor
A new instance of SenderIdReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(iso_country_code:, sender_id:, sender_id_arn:) ⇒ SenderIdReference
Returns a new instance of SenderIdReference.
10 11 12 13 14 15 16 17 |
# File 'interfaces/aws_smsvoice/sender_id_reference.rb', line 10 def initialize(iso_country_code:, sender_id:, sender_id_arn:) @iso_country_code = iso_country_code Jsii::Type.check_type(@iso_country_code, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "isoCountryCode") @sender_id = sender_id Jsii::Type.check_type(@sender_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "senderId") @sender_id_arn = sender_id_arn Jsii::Type.check_type(@sender_id_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "senderIdArn") end |
Instance Attribute Details
#iso_country_code ⇒ String (readonly)
The IsoCountryCode of the SenderId resource.
22 23 24 |
# File 'interfaces/aws_smsvoice/sender_id_reference.rb', line 22 def iso_country_code @iso_country_code end |
#sender_id ⇒ String (readonly)
The SenderId of the SenderId resource.
26 27 28 |
# File 'interfaces/aws_smsvoice/sender_id_reference.rb', line 26 def sender_id @sender_id end |
#sender_id_arn ⇒ String (readonly)
The ARN of the SenderId resource.
30 31 32 |
# File 'interfaces/aws_smsvoice/sender_id_reference.rb', line 30 def sender_id_arn @sender_id_arn end |
Class Method Details
.jsii_properties ⇒ Object
32 33 34 35 36 37 38 |
# File 'interfaces/aws_smsvoice/sender_id_reference.rb', line 32 def self.jsii_properties { :iso_country_code => "isoCountryCode", :sender_id => "senderId", :sender_id_arn => "senderIdArn", } end |
Instance Method Details
#to_jsii ⇒ Object
40 41 42 43 44 45 46 47 48 |
# File 'interfaces/aws_smsvoice/sender_id_reference.rb', line 40 def to_jsii result = {} result.merge!({ "isoCountryCode" => @iso_country_code, "senderId" => @sender_id, "senderIdArn" => @sender_id_arn, }) result.compact end |