Class: AWSCDK::SMSVoice::CfnProtectConfiguration::CountryRuleSetProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SMSVoice::CfnProtectConfiguration::CountryRuleSetProperty
- Defined in:
- sms_voice/cfn_protect_configuration.rb
Overview
The set of CountryRules you specify to control which countries End User Messaging can send your messages to.
If you don't specify all available ISO country codes in the
CountryRuleSetfor each number capability, the CloudFormation drift detection feature will detect drift. This is because End User Messaging always returns all country codes.
Instance Attribute Summary collapse
-
#mms ⇒ AWSCDK::IResolvable, ...
readonly
The set of
CountryRules to control which destination countries End User Messaging can send your MMS messages to. -
#sms ⇒ AWSCDK::IResolvable, ...
readonly
The set of
CountryRules to control which destination countries End User Messaging can send your SMS messages to. -
#voice ⇒ AWSCDK::IResolvable, ...
readonly
The set of
CountryRules to control which destination countries End User Messaging can send your VOICE messages to.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(mms: nil, sms: nil, voice: nil) ⇒ CountryRuleSetProperty
constructor
A new instance of CountryRuleSetProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(mms: nil, sms: nil, voice: nil) ⇒ CountryRuleSetProperty
Returns a new instance of CountryRuleSetProperty.
631 632 633 634 635 636 637 638 |
# File 'sms_voice/cfn_protect_configuration.rb', line 631 def initialize(mms: nil, sms: nil, voice: nil) @mms = mms Jsii::Type.check_type(@mms, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc21zdm9pY2UuQ2ZuUHJvdGVjdENvbmZpZ3VyYXRpb24uQ291bnRyeVJ1bGVQcm9wZXJ0eSJ9XX19LCJraW5kIjoiYXJyYXkifX1dfX0=")), "mms") unless @mms.nil? @sms = sms Jsii::Type.check_type(@sms, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc21zdm9pY2UuQ2ZuUHJvdGVjdENvbmZpZ3VyYXRpb24uQ291bnRyeVJ1bGVQcm9wZXJ0eSJ9XX19LCJraW5kIjoiYXJyYXkifX1dfX0=")), "sms") unless @sms.nil? @voice = voice Jsii::Type.check_type(@voice, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc21zdm9pY2UuQ2ZuUHJvdGVjdENvbmZpZ3VyYXRpb24uQ291bnRyeVJ1bGVQcm9wZXJ0eSJ9XX19LCJraW5kIjoiYXJyYXkifX1dfX0=")), "voice") unless @voice.nil? end |
Instance Attribute Details
#mms ⇒ AWSCDK::IResolvable, ... (readonly)
The set of CountryRule s to control which destination countries End User Messaging can send your MMS messages to.
644 645 646 |
# File 'sms_voice/cfn_protect_configuration.rb', line 644 def mms @mms end |
#sms ⇒ AWSCDK::IResolvable, ... (readonly)
The set of CountryRule s to control which destination countries End User Messaging can send your SMS messages to.
649 650 651 |
# File 'sms_voice/cfn_protect_configuration.rb', line 649 def sms @sms end |
#voice ⇒ AWSCDK::IResolvable, ... (readonly)
The set of CountryRule s to control which destination countries End User Messaging can send your VOICE messages to.
654 655 656 |
# File 'sms_voice/cfn_protect_configuration.rb', line 654 def voice @voice end |
Class Method Details
.jsii_properties ⇒ Object
656 657 658 659 660 661 662 |
# File 'sms_voice/cfn_protect_configuration.rb', line 656 def self.jsii_properties { :mms => "mms", :sms => "sms", :voice => "voice", } end |
Instance Method Details
#to_jsii ⇒ Object
664 665 666 667 668 669 670 671 672 |
# File 'sms_voice/cfn_protect_configuration.rb', line 664 def to_jsii result = {} result.merge!({ "mms" => @mms, "sms" => @sms, "voice" => @voice, }) result.compact end |