Class: AWSCDK::Interfaces::AWSConnect::ContactFlowVersionReference

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
interfaces/aws_connect/contact_flow_version_reference.rb

Overview

A reference to a ContactFlowVersion resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(contact_flow_version_arn:) ⇒ ContactFlowVersionReference

Returns a new instance of ContactFlowVersionReference.

Parameters:

  • contact_flow_version_arn (String)

    The ContactFlowVersionARN of the ContactFlowVersion resource.



8
9
10
11
# File 'interfaces/aws_connect/contact_flow_version_reference.rb', line 8

def initialize(contact_flow_version_arn:)
  @contact_flow_version_arn = contact_flow_version_arn
  Jsii::Type.check_type(@contact_flow_version_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "contactFlowVersionArn")
end

Instance Attribute Details

#contact_flow_version_arnString (readonly)

The ContactFlowVersionARN of the ContactFlowVersion resource.

Returns:

  • (String)


16
17
18
# File 'interfaces/aws_connect/contact_flow_version_reference.rb', line 16

def contact_flow_version_arn
  @contact_flow_version_arn
end

Class Method Details

.jsii_propertiesObject



18
19
20
21
22
# File 'interfaces/aws_connect/contact_flow_version_reference.rb', line 18

def self.jsii_properties
  {
    :contact_flow_version_arn => "contactFlowVersionArn",
  }
end

Instance Method Details

#to_jsiiObject



24
25
26
27
28
29
30
# File 'interfaces/aws_connect/contact_flow_version_reference.rb', line 24

def to_jsii
  result = {}
  result.merge!({
    "contactFlowVersionArn" => @contact_flow_version_arn,
  })
  result.compact
end