Class: AWSCDK::Connect::CfnQuickConnect::UserQuickConnectConfigProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
connect/cfn_quick_connect.rb

Overview

Contains information about the quick connect configuration settings for a user.

The contact flow must be of type Transfer to Agent.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(contact_flow_arn:, user_arn:) ⇒ UserQuickConnectConfigProperty

Returns a new instance of UserQuickConnectConfigProperty.

Parameters:

  • contact_flow_arn (String)

    The Amazon Resource Name (ARN) of the flow.

  • user_arn (String)

    The Amazon Resource Name (ARN) of the user.



732
733
734
735
736
737
# File 'connect/cfn_quick_connect.rb', line 732

def initialize(contact_flow_arn:, user_arn:)
  @contact_flow_arn = contact_flow_arn
  Jsii::Type.check_type(@contact_flow_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "contactFlowArn")
  @user_arn = user_arn
  Jsii::Type.check_type(@user_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "userArn")
end

Instance Attribute Details

#contact_flow_arnString (readonly)

The Amazon Resource Name (ARN) of the flow.



743
744
745
# File 'connect/cfn_quick_connect.rb', line 743

def contact_flow_arn
  @contact_flow_arn
end

#user_arnString (readonly)

The Amazon Resource Name (ARN) of the user.



748
749
750
# File 'connect/cfn_quick_connect.rb', line 748

def user_arn
  @user_arn
end

Class Method Details

.jsii_propertiesObject



750
751
752
753
754
755
# File 'connect/cfn_quick_connect.rb', line 750

def self.jsii_properties
  {
    :contact_flow_arn => "contactFlowArn",
    :user_arn => "userArn",
  }
end

Instance Method Details

#to_jsiiObject



757
758
759
760
761
762
763
764
# File 'connect/cfn_quick_connect.rb', line 757

def to_jsii
  result = {}
  result.merge!({
    "contactFlowArn" => @contact_flow_arn,
    "userArn" => @user_arn,
  })
  result.compact
end