Class: AWSCDK::AppFlow::CfnFlow::AggregationConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::AppFlow::CfnFlow::AggregationConfigProperty
- Defined in:
- app_flow/cfn_flow.rb
Overview
The aggregation settings that you can use to customize the output format of your flow data.
Instance Attribute Summary collapse
-
#aggregation_type ⇒ String?
readonly
Specifies whether Amazon AppFlow aggregates the flow records into a single file, or leave them unaggregated.
-
#target_file_size ⇒ Numeric?
readonly
The desired file size, in MB, for each output file that Amazon AppFlow writes to the flow destination.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(aggregation_type: nil, target_file_size: nil) ⇒ AggregationConfigProperty
constructor
A new instance of AggregationConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(aggregation_type: nil, target_file_size: nil) ⇒ AggregationConfigProperty
Returns a new instance of AggregationConfigProperty.
668 669 670 671 672 673 |
# File 'app_flow/cfn_flow.rb', line 668 def initialize(aggregation_type: nil, target_file_size: nil) @aggregation_type = aggregation_type Jsii::Type.check_type(@aggregation_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "aggregationType") unless @aggregation_type.nil? @target_file_size = target_file_size Jsii::Type.check_type(@target_file_size, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "targetFileSize") unless @target_file_size.nil? end |
Instance Attribute Details
#aggregation_type ⇒ String? (readonly)
Specifies whether Amazon AppFlow aggregates the flow records into a single file, or leave them unaggregated.
679 680 681 |
# File 'app_flow/cfn_flow.rb', line 679 def aggregation_type @aggregation_type end |
#target_file_size ⇒ Numeric? (readonly)
The desired file size, in MB, for each output file that Amazon AppFlow writes to the flow destination.
For each file, Amazon AppFlow attempts to achieve the size that you specify. The actual file sizes might differ from this target based on the number and size of the records that each file contains.
686 687 688 |
# File 'app_flow/cfn_flow.rb', line 686 def target_file_size @target_file_size end |
Class Method Details
.jsii_properties ⇒ Object
688 689 690 691 692 693 |
# File 'app_flow/cfn_flow.rb', line 688 def self.jsii_properties { :aggregation_type => "aggregationType", :target_file_size => "targetFileSize", } end |
Instance Method Details
#to_jsii ⇒ Object
695 696 697 698 699 700 701 702 |
# File 'app_flow/cfn_flow.rb', line 695 def to_jsii result = {} result.merge!({ "aggregationType" => @aggregation_type, "targetFileSize" => @target_file_size, }) result.compact end |