Class: AWSCDK::Connect::CfnContactFlowVersionProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Connect::CfnContactFlowVersionProps
- Defined in:
- connect/cfn_contact_flow_version_props.rb
Overview
Properties for defining a CfnContactFlowVersion.
Instance Attribute Summary collapse
-
#contact_flow_id ⇒ String
readonly
The identifier of the flow.
-
#description ⇒ String?
readonly
The description of the flow version.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(contact_flow_id:, description: nil) ⇒ CfnContactFlowVersionProps
constructor
A new instance of CfnContactFlowVersionProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(contact_flow_id:, description: nil) ⇒ CfnContactFlowVersionProps
Returns a new instance of CfnContactFlowVersionProps.
11 12 13 14 15 16 |
# File 'connect/cfn_contact_flow_version_props.rb', line 11 def initialize(contact_flow_id:, description: nil) @contact_flow_id = contact_flow_id Jsii::Type.check_type(@contact_flow_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "contactFlowId") @description = description Jsii::Type.check_type(@description, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "description") unless @description.nil? end |
Instance Attribute Details
#contact_flow_id ⇒ String (readonly)
The identifier of the flow.
22 23 24 |
# File 'connect/cfn_contact_flow_version_props.rb', line 22 def contact_flow_id @contact_flow_id end |
#description ⇒ String? (readonly)
The description of the flow version.
27 28 29 |
# File 'connect/cfn_contact_flow_version_props.rb', line 27 def description @description end |
Class Method Details
.jsii_properties ⇒ Object
29 30 31 32 33 34 |
# File 'connect/cfn_contact_flow_version_props.rb', line 29 def self.jsii_properties { :contact_flow_id => "contactFlowId", :description => "description", } end |
Instance Method Details
#to_jsii ⇒ Object
36 37 38 39 40 41 42 43 |
# File 'connect/cfn_contact_flow_version_props.rb', line 36 def to_jsii result = {} result.merge!({ "contactFlowId" => @contact_flow_id, "description" => @description, }) result.compact end |