Class: AWSCDK::Bedrock::CfnDataAutomationProject::VideoStandardOutputConfigurationProperty

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

Overview

Output settings for processing video.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(extraction: nil, generative_field: nil) ⇒ VideoStandardOutputConfigurationProperty

Returns a new instance of VideoStandardOutputConfigurationProperty.

Parameters:



2371
2372
2373
2374
2375
2376
# File 'bedrock/cfn_data_automation_project.rb', line 2371

def initialize(extraction: nil, generative_field: nil)
  @extraction = extraction.is_a?(Hash) ? ::AWSCDK::Bedrock::CfnDataAutomationProject::VideoStandardExtractionProperty.new(**extraction.transform_keys(&:to_sym)) : extraction
  Jsii::Type.check_type(@extraction, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19iZWRyb2NrLkNmbkRhdGFBdXRvbWF0aW9uUHJvamVjdC5WaWRlb1N0YW5kYXJkRXh0cmFjdGlvblByb3BlcnR5In1dfX0=")), "extraction") unless @extraction.nil?
  @generative_field = generative_field.is_a?(Hash) ? ::AWSCDK::Bedrock::CfnDataAutomationProject::VideoStandardGenerativeFieldProperty.new(**generative_field.transform_keys(&:to_sym)) : generative_field
  Jsii::Type.check_type(@generative_field, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19iZWRyb2NrLkNmbkRhdGFBdXRvbWF0aW9uUHJvamVjdC5WaWRlb1N0YW5kYXJkR2VuZXJhdGl2ZUZpZWxkUHJvcGVydHkifV19fQ==")), "generativeField") unless @generative_field.nil?
end

Instance Attribute Details

#extractionAWSCDK::IResolvable, ... (readonly)

Settings for populating data fields that describe the video.



2382
2383
2384
# File 'bedrock/cfn_data_automation_project.rb', line 2382

def extraction
  @extraction
end

#generative_fieldAWSCDK::IResolvable, ... (readonly)

Whether to generate descriptions of the video.



2387
2388
2389
# File 'bedrock/cfn_data_automation_project.rb', line 2387

def generative_field
  @generative_field
end

Class Method Details

.jsii_propertiesObject



2389
2390
2391
2392
2393
2394
# File 'bedrock/cfn_data_automation_project.rb', line 2389

def self.jsii_properties
  {
    :extraction => "extraction",
    :generative_field => "generativeField",
  }
end

Instance Method Details

#to_jsiiObject



2396
2397
2398
2399
2400
2401
2402
2403
# File 'bedrock/cfn_data_automation_project.rb', line 2396

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