# InputFileLocationProperty

Specifies the location for the file that's being processed.

- 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 inputFileLocationProperty: transfer.CfnWorkflow.InputFileLocationProperty = {
  efsFileLocation: {
    fileSystemId: 'fileSystemId',
    path: 'path',
  },
  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

input_file_location_property = transfer.CfnWorkflow.InputFileLocationProperty(
    efs_file_location=transfer.CfnWorkflow.EfsInputFileLocationProperty(
        file_system_id="fileSystemId",
        path="path"
    ),
    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.*;

InputFileLocationProperty inputFileLocationProperty = InputFileLocationProperty.builder()
        .efsFileLocation(EfsInputFileLocationProperty.builder()
                .fileSystemId("fileSystemId")
                .path("path")
                .build())
        .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 inputFileLocationProperty = new InputFileLocationProperty {
    EfsFileLocation = new EfsInputFileLocationProperty {
        FileSystemId = "fileSystemId",
        Path = "path"
    },
    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"

inputFileLocationProperty := &InputFileLocationProperty{
	EfsFileLocation: &EfsInputFileLocationProperty{
		FileSystemId: jsii.String("fileSystemId"),
		Path: jsii.String("path"),
	},
	S3FileLocation: &S3InputFileLocationProperty{
		Bucket: jsii.String("bucket"),
		Key: jsii.String("key"),
	},
}
```

## Properties

- `efsFileLocation`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnWorkflow.EfsInputFileLocationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_transfer.CfnWorkflow.EfsInputFileLocationProperty.html) — Specifies the details for the Amazon Elastic File System (Amazon EFS) file that's being decrypted.

- `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 Amazon S3 file that's being copied or decrypted.
