S3FileLocationProperty Struct
Specifies the S3 details for the file being used, such as bucket, ETag, and so forth.
| 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_transfer as transfer } from 'aws-cdk-lib';
const s3FileLocationProperty: transfer.CfnWorkflow.S3FileLocationProperty = {
s3FileLocation: {
bucket: 'bucket',
key: 'key',
},
};
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_transfer as transfer
s3_file_location_property = transfer.CfnWorkflow.S3FileLocationProperty(
s3_file_location=transfer.CfnWorkflow.S3InputFileLocationProperty(
bucket="bucket",
key="key"
)
)
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.transfer.*;
S3FileLocationProperty s3FileLocationProperty = S3FileLocationProperty.builder()
.s3FileLocation(S3InputFileLocationProperty.builder()
.bucket("bucket")
.key("key")
.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.Transfer;
var s3FileLocationProperty = new S3FileLocationProperty {
S3FileLocation = new S3InputFileLocationProperty {
Bucket = "bucket",
Key = "key"
}
};
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"
s3FileLocationProperty := &S3FileLocationProperty{
S3FileLocation: &S3InputFileLocationProperty{
Bucket: jsii.String("bucket"),
Key: jsii.String("key"),
},
}
Properties
s3FileLocationoptionalIResolvable | CfnWorkflow.s3_file_locationoptionaltyping.Union[IResolvable, S3InputFileLocationProperty]s3FileLocationoptionalIResolvableS3FileLocationoptionalIResolvableS3FileLocationoptionalinterface{} #Specifies the details for the file location for the file that's being used in the workflow.
Only applicable if you are using Amazon S3 storage.