Class: AWSCDK::StepFunctionsTasks::TransformS3DataSource

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
step_functions_tasks/transform_s3_data_source.rb

Overview

Location of the channel data.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(s3_uri:, s3_data_type: nil) ⇒ TransformS3DataSource

Returns a new instance of TransformS3DataSource.

Parameters:



9
10
11
12
13
14
# File 'step_functions_tasks/transform_s3_data_source.rb', line 9

def initialize(s3_uri:, s3_data_type: nil)
  @s3_uri = s3_uri
  Jsii::Type.check_type(@s3_uri, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "s3Uri")
  @s3_data_type = s3_data_type
  Jsii::Type.check_type(@s3_data_type, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc3RlcGZ1bmN0aW9uc190YXNrcy5TM0RhdGFUeXBlIn0=")), "s3DataType") unless @s3_data_type.nil?
end

Instance Attribute Details

#s3_data_typeAWSCDK::StepFunctionsTasks::S3DataType? (readonly)

Note:

Default: 'S3Prefix'

S3 Data Type.



24
25
26
# File 'step_functions_tasks/transform_s3_data_source.rb', line 24

def s3_data_type
  @s3_data_type
end

#s3_uriString (readonly)

Identifies either a key name prefix or a manifest.

Returns:

  • (String)


19
20
21
# File 'step_functions_tasks/transform_s3_data_source.rb', line 19

def s3_uri
  @s3_uri
end

Class Method Details

.jsii_propertiesObject



26
27
28
29
30
31
# File 'step_functions_tasks/transform_s3_data_source.rb', line 26

def self.jsii_properties
  {
    :s3_uri => "s3Uri",
    :s3_data_type => "s3DataType",
  }
end

Instance Method Details

#to_jsiiObject



33
34
35
36
37
38
39
40
# File 'step_functions_tasks/transform_s3_data_source.rb', line 33

def to_jsii
  result = {}
  result.merge!({
    "s3Uri" => @s3_uri,
    "s3DataType" => @s3_data_type,
  })
  result.compact
end