Class: AWSCDK::Bedrock::CfnDataAutomationProject::AudioStandardExtractionProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Bedrock::CfnDataAutomationProject::AudioStandardExtractionProperty
- Defined in:
- bedrock/cfn_data_automation_project.rb
Overview
Settings for generating data from audio.
Instance Attribute Summary collapse
-
#category ⇒ AWSCDK::IResolvable, AWSCDK::Bedrock::CfnDataAutomationProject::AudioExtractionCategoryProperty
readonly
Settings for generating data from audio.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(category:) ⇒ AudioStandardExtractionProperty
constructor
A new instance of AudioStandardExtractionProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(category:) ⇒ AudioStandardExtractionProperty
Returns a new instance of AudioStandardExtractionProperty.
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 |
Instance Attribute Details
#category ⇒ AWSCDK::IResolvable, AWSCDK::Bedrock::CfnDataAutomationProject::AudioExtractionCategoryProperty (readonly)
Settings for generating data from audio.
860 861 862 |
# File 'bedrock/cfn_data_automation_project.rb', line 860 def category @category end |
Class Method Details
.jsii_properties ⇒ Object
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_jsii ⇒ Object
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 |