Class: AWSCDK::Bedrock::CfnDataAutomationProject::VideoStandardExtractionProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Bedrock::CfnDataAutomationProject::VideoStandardExtractionProperty
- Defined in:
- bedrock/cfn_data_automation_project.rb
Overview
Settings for generating data from video.
Instance Attribute Summary collapse
-
#bounding_box ⇒ AWSCDK::IResolvable, AWSCDK::Bedrock::CfnDataAutomationProject::VideoBoundingBoxProperty
readonly
Settings for generating bounding boxes.
-
#category ⇒ AWSCDK::IResolvable, AWSCDK::Bedrock::CfnDataAutomationProject::VideoExtractionCategoryProperty
readonly
Settings for generating categorical data.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(bounding_box:, category:) ⇒ VideoStandardExtractionProperty
constructor
A new instance of VideoStandardExtractionProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(bounding_box:, category:) ⇒ VideoStandardExtractionProperty
Returns a new instance of VideoStandardExtractionProperty.
2285 2286 2287 2288 2289 2290 |
# File 'bedrock/cfn_data_automation_project.rb', line 2285 def initialize(bounding_box:, category:) @bounding_box = bounding_box.is_a?(Hash) ? ::AWSCDK::Bedrock::CfnDataAutomationProject::VideoBoundingBoxProperty.new(**bounding_box.transform_keys(&:to_sym)) : bounding_box Jsii::Type.check_type(@bounding_box, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19iZWRyb2NrLkNmbkRhdGFBdXRvbWF0aW9uUHJvamVjdC5WaWRlb0JvdW5kaW5nQm94UHJvcGVydHkifV19fQ==")), "boundingBox") @category = category.is_a?(Hash) ? ::AWSCDK::Bedrock::CfnDataAutomationProject::VideoExtractionCategoryProperty.new(**category.transform_keys(&:to_sym)) : category Jsii::Type.check_type(@category, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19iZWRyb2NrLkNmbkRhdGFBdXRvbWF0aW9uUHJvamVjdC5WaWRlb0V4dHJhY3Rpb25DYXRlZ29yeVByb3BlcnR5In1dfX0=")), "category") end |
Instance Attribute Details
#bounding_box ⇒ AWSCDK::IResolvable, AWSCDK::Bedrock::CfnDataAutomationProject::VideoBoundingBoxProperty (readonly)
Settings for generating bounding boxes.
2296 2297 2298 |
# File 'bedrock/cfn_data_automation_project.rb', line 2296 def bounding_box @bounding_box end |
#category ⇒ AWSCDK::IResolvable, AWSCDK::Bedrock::CfnDataAutomationProject::VideoExtractionCategoryProperty (readonly)
Settings for generating categorical data.
2301 2302 2303 |
# File 'bedrock/cfn_data_automation_project.rb', line 2301 def category @category end |
Class Method Details
.jsii_properties ⇒ Object
2303 2304 2305 2306 2307 2308 |
# File 'bedrock/cfn_data_automation_project.rb', line 2303 def self.jsii_properties { :bounding_box => "boundingBox", :category => "category", } end |
Instance Method Details
#to_jsii ⇒ Object
2310 2311 2312 2313 2314 2315 2316 2317 |
# File 'bedrock/cfn_data_automation_project.rb', line 2310 def to_jsii result = {} result.merge!({ "boundingBox" => @bounding_box, "category" => @category, }) result.compact end |