# S3FileLocationProperty

Specifies the S3 details for the file being used, such as bucket, ETag, and so forth.

- 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 s3FileLocationProperty: transfer.CfnWorkflow.S3FileLocationProperty = {
  s3FileLocation: {
    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_file_location_property = transfer.CfnWorkflow.S3FileLocationProperty(
    s3_file_location=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.*;

S3FileLocationProperty s3FileLocationProperty = S3FileLocationProperty.builder()
        .s3FileLocation(S3InputFileLocationProperty.builder()
                .bucket("bucket")
                .key("key")
                .build())
        .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 s3FileLocationProperty = new S3FileLocationProperty {
    S3FileLocation = 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"

s3FileLocationProperty := &S3FileLocationProperty{
	S3FileLocation: &S3InputFileLocationProperty{
		Bucket: jsii.String("bucket"),
		Key: jsii.String("key"),
	},
}
```

## Properties

- `s3FileLocation`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnWorkflow.S3InputFileLocationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_transfer.CfnWorkflow.S3InputFileLocationProperty.html) — 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.
