Class: AWSCDK::SMSVoice::CfnPool::MandatoryKeywordsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SMSVoice::CfnPool::MandatoryKeywordsProperty
- Defined in:
- sms_voice/cfn_pool.rb
Overview
The manadatory keywords, HELP and STOP to add to the pool.
For more information, see Keywords in the End User Messaging User Guide.
Instance Attribute Summary collapse
-
#help ⇒ AWSCDK::IResolvable, AWSCDK::SMSVoice::CfnPool::MandatoryKeywordProperty
readonly
Specifies the pool's
HELPkeyword. -
#stop ⇒ AWSCDK::IResolvable, AWSCDK::SMSVoice::CfnPool::MandatoryKeywordProperty
readonly
Specifies the pool's opt-out keyword.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(help:, stop:) ⇒ MandatoryKeywordsProperty
constructor
A new instance of MandatoryKeywordsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(help:, stop:) ⇒ MandatoryKeywordsProperty
Returns a new instance of MandatoryKeywordsProperty.
701 702 703 704 705 706 |
# File 'sms_voice/cfn_pool.rb', line 701 def initialize(help:, stop:) @help = help.is_a?(Hash) ? ::AWSCDK::SMSVoice::CfnPool::MandatoryKeywordProperty.new(**help.transform_keys(&:to_sym)) : help Jsii::Type.check_type(@help, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19zbXN2b2ljZS5DZm5Qb29sLk1hbmRhdG9yeUtleXdvcmRQcm9wZXJ0eSJ9XX19")), "help") @stop = stop.is_a?(Hash) ? ::AWSCDK::SMSVoice::CfnPool::MandatoryKeywordProperty.new(**stop.transform_keys(&:to_sym)) : stop Jsii::Type.check_type(@stop, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19zbXN2b2ljZS5DZm5Qb29sLk1hbmRhdG9yeUtleXdvcmRQcm9wZXJ0eSJ9XX19")), "stop") end |
Instance Attribute Details
#help ⇒ AWSCDK::IResolvable, AWSCDK::SMSVoice::CfnPool::MandatoryKeywordProperty (readonly)
Specifies the pool's HELP keyword.
For more information, see Opt out list required keywords in the End User Messaging User Guide.
714 715 716 |
# File 'sms_voice/cfn_pool.rb', line 714 def help @help end |
#stop ⇒ AWSCDK::IResolvable, AWSCDK::SMSVoice::CfnPool::MandatoryKeywordProperty (readonly)
Specifies the pool's opt-out keyword.
For more information, see Required opt-out keywords in the End User Messaging User Guide.
721 722 723 |
# File 'sms_voice/cfn_pool.rb', line 721 def stop @stop end |
Class Method Details
.jsii_properties ⇒ Object
723 724 725 726 727 728 |
# File 'sms_voice/cfn_pool.rb', line 723 def self.jsii_properties { :help => "help", :stop => "stop", } end |
Instance Method Details
#to_jsii ⇒ Object
730 731 732 733 734 735 736 737 |
# File 'sms_voice/cfn_pool.rb', line 730 def to_jsii result = {} result.merge!({ "help" => @help, "stop" => @stop, }) result.compact end |