Class: AWSCDK::Bedrock::CfnDataAutomationProject::DocumentStandardGenerativeFieldProperty

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

Overview

Settings for generating descriptions of documents.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(state:) ⇒ DocumentStandardGenerativeFieldProperty

Returns a new instance of DocumentStandardGenerativeFieldProperty.

Parameters:

  • state (String)

    Whether generating descriptions is enabled for documents.



1364
1365
1366
1367
# File 'bedrock/cfn_data_automation_project.rb', line 1364

def initialize(state:)
  @state = state
  Jsii::Type.check_type(@state, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "state")
end

Instance Attribute Details

#stateString (readonly)

Whether generating descriptions is enabled for documents.



1373
1374
1375
# File 'bedrock/cfn_data_automation_project.rb', line 1373

def state
  @state
end

Class Method Details

.jsii_propertiesObject



1375
1376
1377
1378
1379
# File 'bedrock/cfn_data_automation_project.rb', line 1375

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

Instance Method Details

#to_jsiiObject



1381
1382
1383
1384
1385
1386
1387
# File 'bedrock/cfn_data_automation_project.rb', line 1381

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