Class: AWSCDK::Bedrock::CfnFlowVersion::StorageFlowNodeConfigurationProperty

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

Overview

Contains configurations for a Storage node in a flow.

This node stores the input in an Amazon S3 location that you specify.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(service_configuration:) ⇒ StorageFlowNodeConfigurationProperty

Returns a new instance of StorageFlowNodeConfigurationProperty.

Parameters:



2401
2402
2403
2404
# File 'bedrock/cfn_flow_version.rb', line 2401

def initialize(service_configuration:)
  @service_configuration = service_configuration.is_a?(Hash) ? ::AWSCDK::Bedrock::CfnFlowVersion::StorageFlowNodeServiceConfigurationProperty.new(**service_configuration.transform_keys(&:to_sym)) : service_configuration
  Jsii::Type.check_type(@service_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19iZWRyb2NrLkNmbkZsb3dWZXJzaW9uLlN0b3JhZ2VGbG93Tm9kZVNlcnZpY2VDb25maWd1cmF0aW9uUHJvcGVydHkifV19fQ==")), "serviceConfiguration")
end

Instance Attribute Details

#service_configurationAWSCDK::IResolvable, AWSCDK::Bedrock::CfnFlowVersion::StorageFlowNodeServiceConfigurationProperty (readonly)

Contains configurations for the service to use for storing the input into the node.



2410
2411
2412
# File 'bedrock/cfn_flow_version.rb', line 2410

def service_configuration
  @service_configuration
end

Class Method Details

.jsii_propertiesObject



2412
2413
2414
2415
2416
# File 'bedrock/cfn_flow_version.rb', line 2412

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

Instance Method Details

#to_jsiiObject



2418
2419
2420
2421
2422
2423
2424
# File 'bedrock/cfn_flow_version.rb', line 2418

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