Class: AWSCDK::Bedrock::CfnDataAutomationProject::ChannelLabelingConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Bedrock::CfnDataAutomationProject::ChannelLabelingConfigurationProperty
- 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
-
#state ⇒ String
readonly
State of channel labeling, either enabled or disabled.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(state:) ⇒ ChannelLabelingConfigurationProperty
constructor
A new instance of ChannelLabelingConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(state:) ⇒ ChannelLabelingConfigurationProperty
Returns a new instance of ChannelLabelingConfigurationProperty.
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
#state ⇒ String (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_properties ⇒ Object
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_jsii ⇒ Object
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 |