Class: AWSCDK::AppFlow::CfnFlow::UpsolverS3OutputFormatConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::AppFlow::CfnFlow::UpsolverS3OutputFormatConfigProperty
- Defined in:
- app_flow/cfn_flow.rb
Overview
The configuration that determines how Amazon AppFlow formats the flow output data when Upsolver is used as the destination.
Instance Attribute Summary collapse
-
#aggregation_config ⇒ AWSCDK::IResolvable, ...
readonly
The aggregation settings that you can use to customize the output format of your flow data.
-
#file_type ⇒ String?
readonly
Indicates the file type that Amazon AppFlow places in the Upsolver Amazon S3 bucket.
-
#prefix_config ⇒ AWSCDK::IResolvable, AWSCDK::AppFlow::CfnFlow::PrefixConfigProperty
readonly
Specifies elements that Amazon AppFlow includes in the file and folder names in the flow destination.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(prefix_config:, aggregation_config: nil, file_type: nil) ⇒ UpsolverS3OutputFormatConfigProperty
constructor
A new instance of UpsolverS3OutputFormatConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(prefix_config:, aggregation_config: nil, file_type: nil) ⇒ UpsolverS3OutputFormatConfigProperty
Returns a new instance of UpsolverS3OutputFormatConfigProperty.
3354 3355 3356 3357 3358 3359 3360 3361 |
# File 'app_flow/cfn_flow.rb', line 3354 def initialize(prefix_config:, aggregation_config: nil, file_type: nil) @prefix_config = prefix_config.is_a?(Hash) ? ::AWSCDK::AppFlow::CfnFlow::PrefixConfigProperty.new(**prefix_config.transform_keys(&:to_sym)) : prefix_config Jsii::Type.check_type(@prefix_config, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19hcHBmbG93LkNmbkZsb3cuUHJlZml4Q29uZmlnUHJvcGVydHkifV19fQ==")), "prefixConfig") @aggregation_config = aggregation_config.is_a?(Hash) ? ::AWSCDK::AppFlow::CfnFlow::AggregationConfigProperty.new(**aggregation_config.transform_keys(&:to_sym)) : aggregation_config Jsii::Type.check_type(@aggregation_config, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19hcHBmbG93LkNmbkZsb3cuQWdncmVnYXRpb25Db25maWdQcm9wZXJ0eSJ9XX19")), "aggregationConfig") unless @aggregation_config.nil? @file_type = file_type Jsii::Type.check_type(@file_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "fileType") unless @file_type.nil? end |
Instance Attribute Details
#aggregation_config ⇒ AWSCDK::IResolvable, ... (readonly)
The aggregation settings that you can use to customize the output format of your flow data.
3372 3373 3374 |
# File 'app_flow/cfn_flow.rb', line 3372 def aggregation_config @aggregation_config end |
#file_type ⇒ String? (readonly)
Indicates the file type that Amazon AppFlow places in the Upsolver Amazon S3 bucket.
3377 3378 3379 |
# File 'app_flow/cfn_flow.rb', line 3377 def file_type @file_type end |
#prefix_config ⇒ AWSCDK::IResolvable, AWSCDK::AppFlow::CfnFlow::PrefixConfigProperty (readonly)
Specifies elements that Amazon AppFlow includes in the file and folder names in the flow destination.
3367 3368 3369 |
# File 'app_flow/cfn_flow.rb', line 3367 def prefix_config @prefix_config end |
Class Method Details
.jsii_properties ⇒ Object
3379 3380 3381 3382 3383 3384 3385 |
# File 'app_flow/cfn_flow.rb', line 3379 def self.jsii_properties { :prefix_config => "prefixConfig", :aggregation_config => "aggregationConfig", :file_type => "fileType", } end |
Instance Method Details
#to_jsii ⇒ Object
3387 3388 3389 3390 3391 3392 3393 3394 3395 |
# File 'app_flow/cfn_flow.rb', line 3387 def to_jsii result = {} result.merge!({ "prefixConfig" => @prefix_config, "aggregationConfig" => @aggregation_config, "fileType" => @file_type, }) result.compact end |