Skip to content
v2.277.0

UpsolverS3OutputFormatConfigProperty Struct ​

The configuration that determines how Amazon AppFlow formats the flow output data when Upsolver is used as the destination.

Example ​

ts
// 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 upsolverS3OutputFormatConfigProperty: appflow.CfnFlow.UpsolverS3OutputFormatConfigProperty = {
  prefixConfig: {
    pathPrefixHierarchy: ['pathPrefixHierarchy'],
    prefixFormat: 'prefixFormat',
    prefixType: 'prefixType',
  },

  // the properties below are optional
  aggregationConfig: {
    aggregationType: 'aggregationType',
    targetFileSize: 123,
  },
  fileType: 'fileType',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_appflow as appflow

upsolver_s3_output_format_config_property = appflow.CfnFlow.UpsolverS3OutputFormatConfigProperty(
    prefix_config=appflow.CfnFlow.PrefixConfigProperty(
        path_prefix_hierarchy=["pathPrefixHierarchy"],
        prefix_format="prefixFormat",
        prefix_type="prefixType"
    ),

    # the properties below are optional
    aggregation_config=appflow.CfnFlow.AggregationConfigProperty(
        aggregation_type="aggregationType",
        target_file_size=123
    ),
    file_type="fileType"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.appflow.*;

UpsolverS3OutputFormatConfigProperty upsolverS3OutputFormatConfigProperty = UpsolverS3OutputFormatConfigProperty.builder()
        .prefixConfig(PrefixConfigProperty.builder()
                .pathPrefixHierarchy(List.of("pathPrefixHierarchy"))
                .prefixFormat("prefixFormat")
                .prefixType("prefixType")
                .build())

        // the properties below are optional
        .aggregationConfig(AggregationConfigProperty.builder()
                .aggregationType("aggregationType")
                .targetFileSize(123)
                .build())
        .fileType("fileType")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AppFlow;

var upsolverS3OutputFormatConfigProperty = new UpsolverS3OutputFormatConfigProperty {
    PrefixConfig = new PrefixConfigProperty {
        PathPrefixHierarchy = new [] { "pathPrefixHierarchy" },
        PrefixFormat = "prefixFormat",
        PrefixType = "prefixType"
    },

    // the properties below are optional
    AggregationConfig = new AggregationConfigProperty {
        AggregationType = "aggregationType",
        TargetFileSize = 123
    },
    FileType = "fileType"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

upsolverS3OutputFormatConfigProperty := &UpsolverS3OutputFormatConfigProperty{
	PrefixConfig: &PrefixConfigProperty{
		PathPrefixHierarchy: []*string{
			jsii.String("pathPrefixHierarchy"),
		},
		PrefixFormat: jsii.String("prefixFormat"),
		PrefixType: jsii.String("prefixType"),
	},

	// the properties below are optional
	AggregationConfig: &AggregationConfigProperty{
		AggregationType: jsii.String("aggregationType"),
		TargetFileSize: jsii.Number(123),
	},
	FileType: jsii.String("fileType"),
}

Properties ​

aggregationConfigoptionalIResolvable | CfnFlow.AggregationConfigPropertyaggregation_configoptionaltyping.Union[IResolvable, AggregationConfigProperty]aggregationConfigoptionalIResolvableAggregationConfigoptionalIResolvableAggregationConfigoptionalinterface{}#
The aggregation settings that you can use to customize the output format of your flow data.
fileTypeoptionalstringfile_typeoptionalstrfileTypeoptionalStringFileTypeoptionalstringFileTypeoptional*string#
Indicates the file type that Amazon AppFlow places in the Upsolver Amazon S3 bucket.
prefixConfigIResolvable | CfnFlow.PrefixConfigPropertyprefix_configtyping.Union[IResolvable, PrefixConfigProperty]prefixConfigIResolvablePrefixConfigIResolvablePrefixConfiginterface{}required#
Specifies elements that Amazon AppFlow includes in the file and folder names in the flow destination.