Class: AWSCDK::Connect::CfnRule::NotificationRecipientTypeProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Connect::CfnRule::NotificationRecipientTypeProperty
- Defined in:
- connect/cfn_rule.rb
Overview
The type of notification recipient.
Instance Attribute Summary collapse
-
#user_arns ⇒ Array<String>?
readonly
The Amazon Resource Name (ARN) of the user account.
-
#user_tags ⇒ AWSCDK::IResolvable, ...
readonly
The tags used to organize, track, or control access for this resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(user_arns: nil, user_tags: nil) ⇒ NotificationRecipientTypeProperty
constructor
A new instance of NotificationRecipientTypeProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(user_arns: nil, user_tags: nil) ⇒ NotificationRecipientTypeProperty
Returns a new instance of NotificationRecipientTypeProperty.
871 872 873 874 875 876 |
# File 'connect/cfn_rule.rb', line 871 def initialize(user_arns: nil, user_tags: nil) @user_arns = user_arns Jsii::Type.check_type(@user_arns, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "userArns") unless @user_arns.nil? @user_tags = Jsii::Type.check_type(@user_tags, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsicHJpbWl0aXZlIjoic3RyaW5nIn0sImtpbmQiOiJtYXAifX1dfX0=")), "userTags") unless @user_tags.nil? end |
Instance Attribute Details
#user_arns ⇒ Array<String>? (readonly)
The Amazon Resource Name (ARN) of the user account.
882 883 884 |
# File 'connect/cfn_rule.rb', line 882 def user_arns @user_arns end |
#user_tags ⇒ AWSCDK::IResolvable, ... (readonly)
The tags used to organize, track, or control access for this resource.
For example, { "tags": "key2":"value2" }. Connect Customer users with the specified tags will be notified.
889 890 891 |
# File 'connect/cfn_rule.rb', line 889 def @user_tags end |
Class Method Details
.jsii_properties ⇒ Object
891 892 893 894 895 896 |
# File 'connect/cfn_rule.rb', line 891 def self.jsii_properties { :user_arns => "userArns", :user_tags => "userTags", } end |
Instance Method Details
#to_jsii ⇒ Object
898 899 900 901 902 903 904 905 |
# File 'connect/cfn_rule.rb', line 898 def to_jsii result = {} result.merge!({ "userArns" => @user_arns, "userTags" => @user_tags, }) result.compact end |