S3SourceConfigurationProperty Struct
The S3 source configuration parameters.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_scn as scn } from 'aws-cdk-lib';
const s3SourceConfigurationProperty: scn.CfnDataIntegrationFlow.S3SourceConfigurationProperty = {
bucketName: 'bucketName',
prefix: 'prefix',
// the properties below are optional
options: {
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_scn as scn
s3_source_configuration_property = scn.CfnDataIntegrationFlow.S3SourceConfigurationProperty(
bucket_name="bucketName",
prefix="prefix",
# the properties below are optional
options=scn.CfnDataIntegrationFlow.S3OptionsProperty(
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.scn.*;
S3SourceConfigurationProperty s3SourceConfigurationProperty = S3SourceConfigurationProperty.builder()
.bucketName("bucketName")
.prefix("prefix")
// the properties below are optional
.options(S3OptionsProperty.builder()
.fileType("fileType")
.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.SCN;
var s3SourceConfigurationProperty = new S3SourceConfigurationProperty {
BucketName = "bucketName",
Prefix = "prefix",
// the properties below are optional
Options = new S3OptionsProperty {
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"
s3SourceConfigurationProperty := &S3SourceConfigurationProperty{
BucketName: jsii.String("bucketName"),
Prefix: jsii.String("prefix"),
// the properties below are optional
Options: &S3OptionsProperty{
FileType: jsii.String("fileType"),
},
}
Properties
The S3 bucket name.
optionsoptionalIResolvable | CfnDataIntegrationFlow.optionsoptionaltyping.Union[IResolvable, S3OptionsProperty]optionsoptionalIResolvableOptionsoptionalIResolvableOptionsoptionalinterface{} #The Amazon S3 options.
The S3 prefix.