Skip to content
v2.277.0

S3InputFileLocationProperty Struct ​

Specifies the details for the Amazon S3 location for an input file to a workflow.

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 s3InputFileLocationProperty: transfer.CfnWorkflow.S3InputFileLocationProperty = {
  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_input_file_location_property = 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.*;

S3InputFileLocationProperty s3InputFileLocationProperty = S3InputFileLocationProperty.builder()
        .bucket("bucket")
        .key("key")
        .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 s3InputFileLocationProperty = 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"

s3InputFileLocationProperty := &S3InputFileLocationProperty{
	Bucket: jsii.String("bucket"),
	Key: jsii.String("key"),
}

Properties ​

bucketoptionalstringbucketoptionalstrbucketoptionalStringBucketoptionalstringBucketoptional*string#
Specifies the S3 bucket for the customer input file.
keyoptionalstringkeyoptionalstrkeyoptionalStringKeyoptionalstringKeyoptional*string#
The name assigned to the file when it was created in Amazon S3.

You use the object key to retrieve the object.