Class: AWSCDK::Connect::CfnContactFlowModuleProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Connect::CfnContactFlowModuleProps
- Defined in:
- connect/cfn_contact_flow_module_props.rb
Overview
Properties for defining a CfnContactFlowModule.
Instance Attribute Summary collapse
-
#content ⇒ String
readonly
The content of the flow module.
-
#description ⇒ String?
readonly
The description of the flow module.
-
#external_invocation_configuration ⇒ AWSCDK::IResolvable, ...
readonly
The external invocation configuration for the flow module.
-
#instance_arn ⇒ String, AWSCDK::Interfaces::AWSConnect::IInstanceRef
readonly
The Amazon Resource Name (ARN) of the Connect Customer instance.
-
#name ⇒ String
readonly
The name of the flow module.
-
#settings ⇒ String?
readonly
The configuration settings for the flow module.
-
#state ⇒ String?
readonly
The state of the flow module.
-
#tags ⇒ Array<AWSCDK::CfnTag>?
readonly
An array of key-value pairs to apply to this resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(content:, instance_arn:, name:, description: nil, external_invocation_configuration: nil, settings: nil, state: nil, tags: nil) ⇒ CfnContactFlowModuleProps
constructor
A new instance of CfnContactFlowModuleProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(content:, instance_arn:, name:, description: nil, external_invocation_configuration: nil, settings: nil, state: nil, tags: nil) ⇒ CfnContactFlowModuleProps
Returns a new instance of CfnContactFlowModuleProps.
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
# File 'connect/cfn_contact_flow_module_props.rb', line 17 def initialize(content:, instance_arn:, name:, description: nil, external_invocation_configuration: nil, settings: nil, state: nil, tags: nil) @content = content Jsii::Type.check_type(@content, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "content") @instance_arn = instance_arn Jsii::Type.check_type(@instance_arn, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoic3RyaW5nIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5pbnRlcmZhY2VzLmF3c19jb25uZWN0LklJbnN0YW5jZVJlZiJ9XX19")), "instanceArn") @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") @description = description Jsii::Type.check_type(@description, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "description") unless @description.nil? @external_invocation_configuration = external_invocation_configuration.is_a?(Hash) ? ::AWSCDK::Connect::CfnContactFlowModule::ExternalInvocationConfigurationProperty.new(**external_invocation_configuration.transform_keys(&:to_sym)) : external_invocation_configuration Jsii::Type.check_type(@external_invocation_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19jb25uZWN0LkNmbkNvbnRhY3RGbG93TW9kdWxlLkV4dGVybmFsSW52b2NhdGlvbkNvbmZpZ3VyYXRpb25Qcm9wZXJ0eSJ9XX19")), "externalInvocationConfiguration") unless @external_invocation_configuration.nil? @settings = settings Jsii::Type.check_type(@settings, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "settings") unless @settings.nil? @state = state Jsii::Type.check_type(@state, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "state") unless @state.nil? @tags = .is_a?(Array) ? .map { |jsii_v0| jsii_v0.is_a?(Hash) ? ::AWSCDK::CfnTag.new(**jsii_v0.transform_keys(&:to_sym)) : jsii_v0 } : Jsii::Type.check_type(@tags, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7ImZxbiI6ImF3cy1jZGstbGliLkNmblRhZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "tags") unless @tags.nil? end |
Instance Attribute Details
#content ⇒ String (readonly)
The content of the flow module.
40 41 42 |
# File 'connect/cfn_contact_flow_module_props.rb', line 40 def content @content end |
#description ⇒ String? (readonly)
The description of the flow module.
55 56 57 |
# File 'connect/cfn_contact_flow_module_props.rb', line 55 def description @description end |
#external_invocation_configuration ⇒ AWSCDK::IResolvable, ... (readonly)
The external invocation configuration for the flow module.
60 61 62 |
# File 'connect/cfn_contact_flow_module_props.rb', line 60 def external_invocation_configuration @external_invocation_configuration end |
#instance_arn ⇒ String, AWSCDK::Interfaces::AWSConnect::IInstanceRef (readonly)
The Amazon Resource Name (ARN) of the Connect Customer instance.
45 46 47 |
# File 'connect/cfn_contact_flow_module_props.rb', line 45 def instance_arn @instance_arn end |
#name ⇒ String (readonly)
The name of the flow module.
50 51 52 |
# File 'connect/cfn_contact_flow_module_props.rb', line 50 def name @name end |
#settings ⇒ String? (readonly)
The configuration settings for the flow module.
65 66 67 |
# File 'connect/cfn_contact_flow_module_props.rb', line 65 def settings @settings end |
#state ⇒ String? (readonly)
The state of the flow module.
70 71 72 |
# File 'connect/cfn_contact_flow_module_props.rb', line 70 def state @state end |
#tags ⇒ Array<AWSCDK::CfnTag>? (readonly)
An array of key-value pairs to apply to this resource.
For more information, see Tag .
77 78 79 |
# File 'connect/cfn_contact_flow_module_props.rb', line 77 def @tags end |
Class Method Details
.jsii_properties ⇒ Object
79 80 81 82 83 84 85 86 87 88 89 90 |
# File 'connect/cfn_contact_flow_module_props.rb', line 79 def self.jsii_properties { :content => "content", :instance_arn => "instanceArn", :name => "name", :description => "description", :external_invocation_configuration => "externalInvocationConfiguration", :settings => "settings", :state => "state", :tags => "tags", } end |
Instance Method Details
#to_jsii ⇒ Object
92 93 94 95 96 97 98 99 100 101 102 103 104 105 |
# File 'connect/cfn_contact_flow_module_props.rb', line 92 def to_jsii result = {} result.merge!({ "content" => @content, "instanceArn" => @instance_arn, "name" => @name, "description" => @description, "externalInvocationConfiguration" => @external_invocation_configuration, "settings" => @settings, "state" => @state, "tags" => @tags, }) result.compact end |