Class: AWSCDK::Bedrock::CfnDataAutomationProject::SpeakerLabelingConfigurationProperty

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

Overview

Enables or disables speaker labeling.

Speaker labeling, when enabled will assign a number to each speaker, and indicate which speaker is talking in each portion of the transcript. This appears in the response as "spk_0" for the first speaker, "spk_1" for the second, and so on for up to 30 speakers.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(state:) ⇒ SpeakerLabelingConfigurationProperty

Returns a new instance of SpeakerLabelingConfigurationProperty.

Parameters:

  • state (String)

    State of speaker labeling, either enabled or disabled.



1983
1984
1985
1986
# File 'bedrock/cfn_data_automation_project.rb', line 1983

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 speaker labeling, either enabled or disabled.



1992
1993
1994
# File 'bedrock/cfn_data_automation_project.rb', line 1992

def state
  @state
end

Class Method Details

.jsii_propertiesObject



1994
1995
1996
1997
1998
# File 'bedrock/cfn_data_automation_project.rb', line 1994

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

Instance Method Details

#to_jsiiObject



2000
2001
2002
2003
2004
2005
2006
# File 'bedrock/cfn_data_automation_project.rb', line 2000

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