Class: AWSCDK::Bedrock::CfnDataAutomationProject::StandardOutputConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Bedrock::CfnDataAutomationProject::StandardOutputConfigurationProperty
- Defined in:
- bedrock/cfn_data_automation_project.rb
Overview
The project's standard output configuration.
Instance Attribute Summary collapse
-
#audio ⇒ AWSCDK::IResolvable, ...
readonly
Settings for processing audio.
-
#document ⇒ AWSCDK::IResolvable, ...
readonly
Settings for processing documents.
-
#image ⇒ AWSCDK::IResolvable, ...
readonly
Settings for processing images.
-
#video ⇒ AWSCDK::IResolvable, ...
readonly
Settings for processing video.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(audio: nil, document: nil, image: nil, video: nil) ⇒ StandardOutputConfigurationProperty
constructor
A new instance of StandardOutputConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(audio: nil, document: nil, image: nil, video: nil) ⇒ StandardOutputConfigurationProperty
Returns a new instance of StandardOutputConfigurationProperty.
2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 |
# File 'bedrock/cfn_data_automation_project.rb', line 2054 def initialize(audio: nil, document: nil, image: nil, video: nil) @audio = audio.is_a?(Hash) ? ::AWSCDK::Bedrock::CfnDataAutomationProject::AudioStandardOutputConfigurationProperty.new(**audio.transform_keys(&:to_sym)) : audio Jsii::Type.check_type(@audio, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19iZWRyb2NrLkNmbkRhdGFBdXRvbWF0aW9uUHJvamVjdC5BdWRpb1N0YW5kYXJkT3V0cHV0Q29uZmlndXJhdGlvblByb3BlcnR5In1dfX0=")), "audio") unless @audio.nil? @document = document.is_a?(Hash) ? ::AWSCDK::Bedrock::CfnDataAutomationProject::DocumentStandardOutputConfigurationProperty.new(**document.transform_keys(&:to_sym)) : document Jsii::Type.check_type(@document, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19iZWRyb2NrLkNmbkRhdGFBdXRvbWF0aW9uUHJvamVjdC5Eb2N1bWVudFN0YW5kYXJkT3V0cHV0Q29uZmlndXJhdGlvblByb3BlcnR5In1dfX0=")), "document") unless @document.nil? @image = image.is_a?(Hash) ? ::AWSCDK::Bedrock::CfnDataAutomationProject::ImageStandardOutputConfigurationProperty.new(**image.transform_keys(&:to_sym)) : image Jsii::Type.check_type(@image, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19iZWRyb2NrLkNmbkRhdGFBdXRvbWF0aW9uUHJvamVjdC5JbWFnZVN0YW5kYXJkT3V0cHV0Q29uZmlndXJhdGlvblByb3BlcnR5In1dfX0=")), "image") unless @image.nil? @video = video.is_a?(Hash) ? ::AWSCDK::Bedrock::CfnDataAutomationProject::VideoStandardOutputConfigurationProperty.new(**video.transform_keys(&:to_sym)) : video Jsii::Type.check_type(@video, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19iZWRyb2NrLkNmbkRhdGFBdXRvbWF0aW9uUHJvamVjdC5WaWRlb1N0YW5kYXJkT3V0cHV0Q29uZmlndXJhdGlvblByb3BlcnR5In1dfX0=")), "video") unless @video.nil? end |
Instance Attribute Details
#audio ⇒ AWSCDK::IResolvable, ... (readonly)
Settings for processing audio.
2069 2070 2071 |
# File 'bedrock/cfn_data_automation_project.rb', line 2069 def audio @audio end |
#document ⇒ AWSCDK::IResolvable, ... (readonly)
Settings for processing documents.
2074 2075 2076 |
# File 'bedrock/cfn_data_automation_project.rb', line 2074 def document @document end |
#image ⇒ AWSCDK::IResolvable, ... (readonly)
Settings for processing images.
2079 2080 2081 |
# File 'bedrock/cfn_data_automation_project.rb', line 2079 def image @image end |
#video ⇒ AWSCDK::IResolvable, ... (readonly)
Settings for processing video.
2084 2085 2086 |
# File 'bedrock/cfn_data_automation_project.rb', line 2084 def video @video end |
Class Method Details
.jsii_properties ⇒ Object
2086 2087 2088 2089 2090 2091 2092 2093 |
# File 'bedrock/cfn_data_automation_project.rb', line 2086 def self.jsii_properties { :audio => "audio", :document => "document", :image => "image", :video => "video", } end |
Instance Method Details
#to_jsii ⇒ Object
2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 |
# File 'bedrock/cfn_data_automation_project.rb', line 2095 def to_jsii result = {} result.merge!({ "audio" => @audio, "document" => @document, "image" => @image, "video" => @video, }) result.compact end |