Class: AWSCDK::Connect::CfnQueue::OutboundCallerConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Connect::CfnQueue::OutboundCallerConfigProperty
- Defined in:
- connect/cfn_queue.rb
Overview
The outbound caller ID name, number, and outbound whisper flow.
Instance Attribute Summary collapse
-
#outbound_caller_id_name ⇒ String?
readonly
The caller ID name.
-
#outbound_caller_id_number_arn ⇒ String?
readonly
The Amazon Resource Name (ARN) of the outbound caller ID number.
-
#outbound_flow_arn ⇒ String?
readonly
The Amazon Resource Name (ARN) of the outbound flow.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(outbound_caller_id_name: nil, outbound_caller_id_number_arn: nil, outbound_flow_arn: nil) ⇒ OutboundCallerConfigProperty
constructor
A new instance of OutboundCallerConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(outbound_caller_id_name: nil, outbound_caller_id_number_arn: nil, outbound_flow_arn: nil) ⇒ OutboundCallerConfigProperty
Returns a new instance of OutboundCallerConfigProperty.
692 693 694 695 696 697 698 699 |
# File 'connect/cfn_queue.rb', line 692 def initialize(outbound_caller_id_name: nil, outbound_caller_id_number_arn: nil, outbound_flow_arn: nil) @outbound_caller_id_name = outbound_caller_id_name Jsii::Type.check_type(@outbound_caller_id_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "outboundCallerIdName") unless @outbound_caller_id_name.nil? @outbound_caller_id_number_arn = outbound_caller_id_number_arn Jsii::Type.check_type(@outbound_caller_id_number_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "outboundCallerIdNumberArn") unless @outbound_caller_id_number_arn.nil? @outbound_flow_arn = outbound_flow_arn Jsii::Type.check_type(@outbound_flow_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "outboundFlowArn") unless @outbound_flow_arn.nil? end |
Instance Attribute Details
#outbound_caller_id_name ⇒ String? (readonly)
The caller ID name.
705 706 707 |
# File 'connect/cfn_queue.rb', line 705 def outbound_caller_id_name @outbound_caller_id_name end |
#outbound_caller_id_number_arn ⇒ String? (readonly)
The Amazon Resource Name (ARN) of the outbound caller ID number.
Only use the phone number ARN format that doesn't contain
instancein the path, for example,arn:aws:connect:us-east-1:1234567890:phone-number/uuid. This is the same ARN format that is returned when you create a phone number using CloudFormation , or when you call the ListPhoneNumbersV2 API.
712 713 714 |
# File 'connect/cfn_queue.rb', line 712 def outbound_caller_id_number_arn @outbound_caller_id_number_arn end |
#outbound_flow_arn ⇒ String? (readonly)
The Amazon Resource Name (ARN) of the outbound flow.
717 718 719 |
# File 'connect/cfn_queue.rb', line 717 def outbound_flow_arn @outbound_flow_arn end |
Class Method Details
.jsii_properties ⇒ Object
719 720 721 722 723 724 725 |
# File 'connect/cfn_queue.rb', line 719 def self.jsii_properties { :outbound_caller_id_name => "outboundCallerIdName", :outbound_caller_id_number_arn => "outboundCallerIdNumberArn", :outbound_flow_arn => "outboundFlowArn", } end |
Instance Method Details
#to_jsii ⇒ Object
727 728 729 730 731 732 733 734 735 |
# File 'connect/cfn_queue.rb', line 727 def to_jsii result = {} result.merge!({ "outboundCallerIdName" => @outbound_caller_id_name, "outboundCallerIdNumberArn" => @outbound_caller_id_number_arn, "outboundFlowArn" => @outbound_flow_arn, }) result.compact end |