Class: AWSCDK::Connect::CfnNotification::NotificationContentProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Connect::CfnNotification::NotificationContentProperty
- Defined in:
- connect/cfn_notification.rb
Overview
The content of a notification.
Instance Attribute Summary collapse
-
#de_de ⇒ String?
readonly
Localized notification content.
-
#en_us ⇒ String?
readonly
Localized notification content.
-
#es_es ⇒ String?
readonly
Localized notification content.
-
#fr_fr ⇒ String?
readonly
Localized notification content.
-
#id_id ⇒ String?
readonly
Localized notification content.
-
#it_it ⇒ String?
readonly
Localized notification content.
-
#ja_jp ⇒ String?
readonly
Localized notification content.
-
#ko_kr ⇒ String?
readonly
Localized notification content.
-
#pt_br ⇒ String?
readonly
Localized notification content.
-
#zh_cn ⇒ String?
readonly
Localized notification content.
-
#zh_tw ⇒ String?
readonly
Localized notification content.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(de_de: nil, en_us: nil, es_es: nil, fr_fr: nil, id_id: nil, it_it: nil, ja_jp: nil, ko_kr: nil, pt_br: nil, zh_cn: nil, zh_tw: nil) ⇒ NotificationContentProperty
constructor
A new instance of NotificationContentProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(de_de: nil, en_us: nil, es_es: nil, fr_fr: nil, id_id: nil, it_it: nil, ja_jp: nil, ko_kr: nil, pt_br: nil, zh_cn: nil, zh_tw: nil) ⇒ NotificationContentProperty
Returns a new instance of NotificationContentProperty.
609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 |
# File 'connect/cfn_notification.rb', line 609 def initialize(de_de: nil, en_us: nil, es_es: nil, fr_fr: nil, id_id: nil, it_it: nil, ja_jp: nil, ko_kr: nil, pt_br: nil, zh_cn: nil, zh_tw: nil) @de_de = de_de Jsii::Type.check_type(@de_de, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "deDe") unless @de_de.nil? @en_us = en_us Jsii::Type.check_type(@en_us, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "enUs") unless @en_us.nil? @es_es = es_es Jsii::Type.check_type(@es_es, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "esEs") unless @es_es.nil? @fr_fr = fr_fr Jsii::Type.check_type(@fr_fr, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "frFr") unless @fr_fr.nil? @id_id = id_id Jsii::Type.check_type(@id_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "idId") unless @id_id.nil? @it_it = it_it Jsii::Type.check_type(@it_it, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "itIt") unless @it_it.nil? @ja_jp = ja_jp Jsii::Type.check_type(@ja_jp, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "jaJp") unless @ja_jp.nil? @ko_kr = ko_kr Jsii::Type.check_type(@ko_kr, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "koKr") unless @ko_kr.nil? @pt_br = pt_br Jsii::Type.check_type(@pt_br, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "ptBr") unless @pt_br.nil? @zh_cn = zh_cn Jsii::Type.check_type(@zh_cn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "zhCn") unless @zh_cn.nil? @zh_tw = zh_tw Jsii::Type.check_type(@zh_tw, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "zhTw") unless @zh_tw.nil? end |
Instance Attribute Details
#de_de ⇒ String? (readonly)
Localized notification content.
638 639 640 |
# File 'connect/cfn_notification.rb', line 638 def de_de @de_de end |
#en_us ⇒ String? (readonly)
Localized notification content.
643 644 645 |
# File 'connect/cfn_notification.rb', line 643 def en_us @en_us end |
#es_es ⇒ String? (readonly)
Localized notification content.
648 649 650 |
# File 'connect/cfn_notification.rb', line 648 def es_es @es_es end |
#fr_fr ⇒ String? (readonly)
Localized notification content.
653 654 655 |
# File 'connect/cfn_notification.rb', line 653 def fr_fr @fr_fr end |
#id_id ⇒ String? (readonly)
Localized notification content.
658 659 660 |
# File 'connect/cfn_notification.rb', line 658 def id_id @id_id end |
#it_it ⇒ String? (readonly)
Localized notification content.
663 664 665 |
# File 'connect/cfn_notification.rb', line 663 def it_it @it_it end |
#ja_jp ⇒ String? (readonly)
Localized notification content.
668 669 670 |
# File 'connect/cfn_notification.rb', line 668 def ja_jp @ja_jp end |
#ko_kr ⇒ String? (readonly)
Localized notification content.
673 674 675 |
# File 'connect/cfn_notification.rb', line 673 def ko_kr @ko_kr end |
#pt_br ⇒ String? (readonly)
Localized notification content.
678 679 680 |
# File 'connect/cfn_notification.rb', line 678 def pt_br @pt_br end |
#zh_cn ⇒ String? (readonly)
Localized notification content.
683 684 685 |
# File 'connect/cfn_notification.rb', line 683 def zh_cn @zh_cn end |
#zh_tw ⇒ String? (readonly)
Localized notification content.
688 689 690 |
# File 'connect/cfn_notification.rb', line 688 def zh_tw @zh_tw end |
Class Method Details
.jsii_properties ⇒ Object
690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 |
# File 'connect/cfn_notification.rb', line 690 def self.jsii_properties { :de_de => "deDe", :en_us => "enUs", :es_es => "esEs", :fr_fr => "frFr", :id_id => "idId", :it_it => "itIt", :ja_jp => "jaJp", :ko_kr => "koKr", :pt_br => "ptBr", :zh_cn => "zhCn", :zh_tw => "zhTw", } end |
Instance Method Details
#to_jsii ⇒ Object
706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 |
# File 'connect/cfn_notification.rb', line 706 def to_jsii result = {} result.merge!({ "deDe" => @de_de, "enUs" => @en_us, "esEs" => @es_es, "frFr" => @fr_fr, "idId" => @id_id, "itIt" => @it_it, "jaJp" => @ja_jp, "koKr" => @ko_kr, "ptBr" => @pt_br, "zhCn" => @zh_cn, "zhTw" => @zh_tw, }) result.compact end |