Class: AWSCDK::Bedrock::CfnDataAutomationProject::AudioStandardExtractionProperty

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

Overview

Settings for generating data from audio.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(category:) ⇒ AudioStandardExtractionProperty

Returns a new instance of AudioStandardExtractionProperty.

Parameters:



851
852
853
854
# File 'bedrock/cfn_data_automation_project.rb', line 851

def initialize(category:)
  @category = category.is_a?(Hash) ? ::AWSCDK::Bedrock::CfnDataAutomationProject::AudioExtractionCategoryProperty.new(**category.transform_keys(&:to_sym)) : category
  Jsii::Type.check_type(@category, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19iZWRyb2NrLkNmbkRhdGFBdXRvbWF0aW9uUHJvamVjdC5BdWRpb0V4dHJhY3Rpb25DYXRlZ29yeVByb3BlcnR5In1dfX0=")), "category")
end

Class Method Details

.jsii_propertiesObject



862
863
864
865
866
# File 'bedrock/cfn_data_automation_project.rb', line 862

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

Instance Method Details

#to_jsiiObject



868
869
870
871
872
873
874
# File 'bedrock/cfn_data_automation_project.rb', line 868

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