Class: AWSCDK::Bedrock::CfnDataAutomationProject::ModalityProcessingConfigurationProperty

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

Overview

This element is used to determine if the modality it is associated with is enabled or disabled.

All modalities are enabled by default.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(state: nil) ⇒ ModalityProcessingConfigurationProperty

Returns a new instance of ModalityProcessingConfigurationProperty.

Parameters:

  • state (String, nil) (defaults to: nil)

    Stores the state of the modality for your project, set to either enabled or disabled.



1702
1703
1704
1705
# File 'bedrock/cfn_data_automation_project.rb', line 1702

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

Instance Attribute Details

#stateString? (readonly)

Stores the state of the modality for your project, set to either enabled or disabled.



1711
1712
1713
# File 'bedrock/cfn_data_automation_project.rb', line 1711

def state
  @state
end

Class Method Details

.jsii_propertiesObject



1713
1714
1715
1716
1717
# File 'bedrock/cfn_data_automation_project.rb', line 1713

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

Instance Method Details

#to_jsiiObject



1719
1720
1721
1722
1723
1724
1725
# File 'bedrock/cfn_data_automation_project.rb', line 1719

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