interface S3OutputFormatConfigProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.AppFlow.CfnFlow.S3OutputFormatConfigProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsappflow#CfnFlow_S3OutputFormatConfigProperty |
![]() | software.amazon.awscdk.services.appflow.CfnFlow.S3OutputFormatConfigProperty |
![]() | aws_cdk.aws_appflow.CfnFlow.S3OutputFormatConfigProperty |
![]() | aws-cdk-lib » aws_appflow » CfnFlow » S3OutputFormatConfigProperty |
The configuration that determines how Amazon AppFlow should format the flow output data when Amazon S3 is used as the destination.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_appflow as appflow } from 'aws-cdk-lib';
const s3OutputFormatConfigProperty: appflow.CfnFlow.S3OutputFormatConfigProperty = {
aggregationConfig: {
aggregationType: 'aggregationType',
targetFileSize: 123,
},
fileType: 'fileType',
prefixConfig: {
pathPrefixHierarchy: ['pathPrefixHierarchy'],
prefixFormat: 'prefixFormat',
prefixType: 'prefixType',
},
preserveSourceDataTyping: false,
};
Properties
Name | Type | Description |
---|---|---|
aggregation | IResolvable | Aggregation | The aggregation settings that you can use to customize the output format of your flow data. |
file | string | Indicates the file type that Amazon AppFlow places in the Amazon S3 bucket. |
prefix | IResolvable | Prefix | Determines the prefix that Amazon AppFlow applies to the folder name in the Amazon S3 bucket. |
preserve | boolean | IResolvable | If your file output format is Parquet, use this parameter to set whether Amazon AppFlow preserves the data types in your source data when it writes the output to Amazon S3. |
aggregationConfig?
Type:
IResolvable
|
Aggregation
(optional)
The aggregation settings that you can use to customize the output format of your flow data.
fileType?
Type:
string
(optional)
Indicates the file type that Amazon AppFlow places in the Amazon S3 bucket.
prefixConfig?
Type:
IResolvable
|
Prefix
(optional)
Determines the prefix that Amazon AppFlow applies to the folder name in the Amazon S3 bucket.
You can name folders according to the flow frequency and date.
preserveSourceDataTyping?
Type:
boolean |
IResolvable
(optional)
If your file output format is Parquet, use this parameter to set whether Amazon AppFlow preserves the data types in your source data when it writes the output to Amazon S3.
true
: Amazon AppFlow preserves the data types when it writes to Amazon S3. For example, an integer or1
in your source data is still an integer in your output.false
: Amazon AppFlow converts all of the source data into strings when it writes to Amazon S3. For example, an integer of1
in your source data becomes the string"1"
in the output.