Class: AWSCDK::Bedrock::CfnDataAutomationProject::ChannelLabelingConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
bedrock/cfn_data_automation_project.rb

Overview

Enables or disables channel labeling.

Channel labeling, when enabled will assign a number to each audio channel, and indicate which channel is being used in each portion of the transcript. This appears in the response as "ch_0" for the first channel, and "ch_1" for the second.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(state:) ⇒ ChannelLabelingConfigurationProperty

Returns a new instance of ChannelLabelingConfigurationProperty.

Parameters:

  • state (String)

    State of channel labeling, either enabled or disabled.



1025
1026
1027
1028
# File 'bedrock/cfn_data_automation_project.rb', line 1025

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

Instance Attribute Details

#stateString (readonly)

State of channel labeling, either enabled or disabled.



1034
1035
1036
# File 'bedrock/cfn_data_automation_project.rb', line 1034

def state
  @state
end

Class Method Details

.jsii_propertiesObject



1036
1037
1038
1039
1040
# File 'bedrock/cfn_data_automation_project.rb', line 1036

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

Instance Method Details

#to_jsiiObject



1042
1043
1044
1045
1046
1047
1048
# File 'bedrock/cfn_data_automation_project.rb', line 1042

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