Class: AWSCDK::Bedrock::CfnDataAutomationProject::DocumentBoundingBoxProperty

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

Overview

Bounding box settings for documents.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(state:) ⇒ DocumentBoundingBoxProperty

Returns a new instance of DocumentBoundingBoxProperty.

Parameters:

  • state (String)

    Whether bounding boxes are enabled for documents.



1091
1092
1093
1094
# File 'bedrock/cfn_data_automation_project.rb', line 1091

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

Instance Attribute Details

#stateString (readonly)

Whether bounding boxes are enabled for documents.



1100
1101
1102
# File 'bedrock/cfn_data_automation_project.rb', line 1100

def state
  @state
end

Class Method Details

.jsii_propertiesObject



1102
1103
1104
1105
1106
# File 'bedrock/cfn_data_automation_project.rb', line 1102

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

Instance Method Details

#to_jsiiObject



1108
1109
1110
1111
1112
1113
1114
# File 'bedrock/cfn_data_automation_project.rb', line 1108

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