Class: AWSCDK::StepFunctionsTasks::S3DataSource
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::StepFunctionsTasks::S3DataSource
- Defined in:
- step_functions_tasks/s3_data_source.rb
Overview
S3 location of the channel data.
Instance Attribute Summary collapse
-
#attribute_names ⇒ Array<String>?
readonly
List of one or more attribute names to use that are found in a specified augmented manifest file.
-
#s3_data_distribution_type ⇒ AWSCDK::StepFunctionsTasks::S3DataDistributionType?
readonly
S3 Data Distribution Type.
-
#s3_data_type ⇒ AWSCDK::StepFunctionsTasks::S3DataType?
readonly
S3 Data Type.
-
#s3_location ⇒ AWSCDK::StepFunctionsTasks::S3Location
readonly
S3 Uri.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(s3_location:, attribute_names: nil, s3_data_distribution_type: nil, s3_data_type: nil) ⇒ S3DataSource
constructor
A new instance of S3DataSource.
- #to_jsii ⇒ Object
Constructor Details
#initialize(s3_location:, attribute_names: nil, s3_data_distribution_type: nil, s3_data_type: nil) ⇒ S3DataSource
Returns a new instance of S3DataSource.
13 14 15 16 17 18 19 20 21 22 |
# File 'step_functions_tasks/s3_data_source.rb', line 13 def initialize(s3_location:, attribute_names: nil, s3_data_distribution_type: nil, s3_data_type: nil) @s3_location = s3_location Jsii::Type.check_type(@s3_location, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc3RlcGZ1bmN0aW9uc190YXNrcy5TM0xvY2F0aW9uIn0=")), "s3Location") @attribute_names = attribute_names Jsii::Type.check_type(@attribute_names, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "attributeNames") unless @attribute_names.nil? @s3_data_distribution_type = s3_data_distribution_type Jsii::Type.check_type(@s3_data_distribution_type, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc3RlcGZ1bmN0aW9uc190YXNrcy5TM0RhdGFEaXN0cmlidXRpb25UeXBlIn0=")), "s3DataDistributionType") unless @s3_data_distribution_type.nil? @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
#attribute_names ⇒ Array<String>? (readonly)
Note:
Default: - No attribute names
List of one or more attribute names to use that are found in a specified augmented manifest file.
32 33 34 |
# File 'step_functions_tasks/s3_data_source.rb', line 32 def attribute_names @attribute_names end |
#s3_data_distribution_type ⇒ AWSCDK::StepFunctionsTasks::S3DataDistributionType? (readonly)
Note:
Default: - None
S3 Data Distribution Type.
37 38 39 |
# File 'step_functions_tasks/s3_data_source.rb', line 37 def s3_data_distribution_type @s3_data_distribution_type end |
#s3_data_type ⇒ AWSCDK::StepFunctionsTasks::S3DataType? (readonly)
Note:
Default: S3_PREFIX
S3 Data Type.
42 43 44 |
# File 'step_functions_tasks/s3_data_source.rb', line 42 def s3_data_type @s3_data_type end |
#s3_location ⇒ AWSCDK::StepFunctionsTasks::S3Location (readonly)
S3 Uri.
27 28 29 |
# File 'step_functions_tasks/s3_data_source.rb', line 27 def s3_location @s3_location end |
Class Method Details
.jsii_properties ⇒ Object
44 45 46 47 48 49 50 51 |
# File 'step_functions_tasks/s3_data_source.rb', line 44 def self.jsii_properties { :s3_location => "s3Location", :attribute_names => "attributeNames", :s3_data_distribution_type => "s3DataDistributionType", :s3_data_type => "s3DataType", } end |
Instance Method Details
#to_jsii ⇒ Object
53 54 55 56 57 58 59 60 61 62 |
# File 'step_functions_tasks/s3_data_source.rb', line 53 def to_jsii result = {} result.merge!({ "s3Location" => @s3_location, "attributeNames" => @attribute_names, "s3DataDistributionType" => @s3_data_distribution_type, "s3DataType" => @s3_data_type, }) result.compact end |