Skip to content
v2.276.0

InputFileLocationProperty Struct ​

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

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

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
// 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();
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"
    }
};
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 ​

efsFileLocationoptionalIResolvable | CfnWorkflow.EfsInputFileLocationPropertyefs_file_locationoptionaltyping.Union[IResolvable, EfsInputFileLocationProperty]efsFileLocationoptionalIResolvableEfsFileLocationoptionalIResolvableEfsFileLocationoptionalinterface{}#
Specifies the details for the Amazon Elastic File System (Amazon EFS) file that's being decrypted.
s3FileLocationoptionalIResolvable | CfnWorkflow.S3InputFileLocationPropertys3_file_locationoptionaltyping.Union[IResolvable, S3InputFileLocationProperty]s3FileLocationoptionalIResolvableS3FileLocationoptionalIResolvableS3FileLocationoptionalinterface{}#
Specifies the details for the Amazon S3 file that's being copied or decrypted.