# S3InputFileLocationProperty

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

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
};
```

Golang:

```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

- `bucket`: string — Specifies the S3 bucket for the customer input file.

- `key`: string — The name assigned to the file when it was created in Amazon S3.

  You use the object key to retrieve the object.
