Skip to content
v2.278.0

S3SourcePropertiesProperty Struct ​

The properties that are applied when Amazon S3 is being used as the flow source.

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 s3SourcePropertiesProperty: appflow.CfnFlow.S3SourcePropertiesProperty = {
  bucketName: 'bucketName',
  bucketPrefix: 'bucketPrefix',

  // the properties below are optional
  s3InputFormatConfig: {
    s3InputFileType: 's3InputFileType',
  },
};
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

s3_source_properties_property = appflow.CfnFlow.S3SourcePropertiesProperty(
    bucket_name="bucketName",
    bucket_prefix="bucketPrefix",

    # the properties below are optional
    s3_input_format_config=appflow.CfnFlow.S3InputFormatConfigProperty(
        s3_input_file_type="s3InputFileType"
    )
)
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.*;

S3SourcePropertiesProperty s3SourcePropertiesProperty = S3SourcePropertiesProperty.builder()
        .bucketName("bucketName")
        .bucketPrefix("bucketPrefix")

        // the properties below are optional
        .s3InputFormatConfig(S3InputFormatConfigProperty.builder()
                .s3InputFileType("s3InputFileType")
                .build())
        .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 s3SourcePropertiesProperty = new S3SourcePropertiesProperty {
    BucketName = "bucketName",
    BucketPrefix = "bucketPrefix",

    // the properties below are optional
    S3InputFormatConfig = new S3InputFormatConfigProperty {
        S3InputFileType = "s3InputFileType"
    }
};
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"

s3SourcePropertiesProperty := &S3SourcePropertiesProperty{
	BucketName: jsii.String("bucketName"),
	BucketPrefix: jsii.String("bucketPrefix"),

	// the properties below are optional
	S3InputFormatConfig: &S3InputFormatConfigProperty{
		S3InputFileType: jsii.String("s3InputFileType"),
	},
}

Properties ​

bucketNamestringbucket_namestrbucketNameStringBucketNamestringBucketName*string required #
The Amazon S3 bucket name where the source files are stored.
bucketPrefixstringbucket_prefixstrbucketPrefixStringBucketPrefixstringBucketPrefix*string required #
The object key for the Amazon S3 bucket in which the source files are stored.
s3InputFormatConfigoptionalIResolvable | CfnFlow.S3InputFormatConfigPropertys3_input_format_configoptionaltyping.Union[IResolvable, S3InputFormatConfigProperty]s3InputFormatConfigoptionalIResolvableS3InputFormatConfigoptionalIResolvableS3InputFormatConfigoptionalinterface{} #
When you use Amazon S3 as the source, the configuration format that you provide the flow input data.