# AWS Transfer for SFTP Construct Library

This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.

TypeScript:

```ts
import * as transfer from 'aws-cdk-lib/aws-transfer';
```

Python:

```python
import aws_cdk.aws_transfer as transfer
```

Java:

```java
import software.amazon.awscdk.services.transfer.*;
```

C# / .NET:

```csharp
using Amazon.CDK.AWS.Transfer;
```

Golang:

```go
import transfer "github.com/aws/aws-cdk-go/awscdk"
```

There are no official hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet. Here are some suggestions on how to proceed:

- Search [Construct Hub for Transfer construct libraries](https://constructs.dev/search?q=transfer)
- Use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, in the same way you would use [the CloudFormation AWS::Transfer resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_Transfer.html) directly.

There are no hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet.
However, you can still use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, and use this service exactly as you would using CloudFormation directly.

For more information on the resources and properties available for this service, see the [CloudFormation documentation for AWS::Transfer](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_Transfer.html).

(Read the [CDK Contributing Guide](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and submit an RFC if you are interested in contributing to this construct library.)

## Types

### Constructs (L1)

- [`CfnAgreement`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_transfer.CfnAgreement.html) Construct (L1) Creates an agreement.
- [`CfnCertificate`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_transfer.CfnCertificate.html) Construct (L1) Imports the signing and encryption certificates that you need to create local (AS2) profiles and partner profiles.
- [`CfnConnector`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_transfer.CfnConnector.html) Construct (L1) Creates the connector, which captures the parameters for a connection for the AS2 or SFTP protocol.
- [`CfnHostKey`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_transfer.CfnHostKey.html) Construct (L1) Resource type definition for AWS::Transfer::HostKey.
- [`CfnProfile`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_transfer.CfnProfile.html) Construct (L1) Creates the local or partner profile to use for AS2 transfers.
- [`CfnServer`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_transfer.CfnServer.html) Construct (L1) Instantiates an auto-scaling virtual server based on the selected file transfer protocol in AWS .
- [`CfnUser`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_transfer.CfnUser.html) Construct (L1) The `AWS::Transfer::User` resource creates a user and associates them with an existing server.
- [`CfnWebApp`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_transfer.CfnWebApp.html) Construct (L1) Creates a web app based on specified parameters, and returns the ID for the new web app.
- [`CfnWorkflow`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_transfer.CfnWorkflow.html) Construct (L1) Allows you to create a workflow with specified steps and step details the workflow invokes after file transfer completes.

### Structs

- [`CfnAgreement.CustomDirectoriesProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_transfer.CfnAgreement.CustomDirectoriesProperty.html) Struct Specifies a separate directory for each type of file to store for an AS2 message.
- [`CfnAgreementProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_transfer.CfnAgreementProps.html) Struct Properties for defining a `CfnAgreement`.
- [`CfnCertificateProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_transfer.CfnCertificateProps.html) Struct Properties for defining a `CfnCertificate`.
- [`CfnConnector.As2ConfigProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_transfer.CfnConnector.As2ConfigProperty.html) Struct A structure that contains the parameters for an AS2 connector object.
- [`CfnConnector.ConnectorAsyncMdnConfigProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_transfer.CfnConnector.ConnectorAsyncMdnConfigProperty.html) Struct
- [`CfnConnector.ConnectorEgressConfigProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_transfer.CfnConnector.ConnectorEgressConfigProperty.html) Struct Configuration structure that defines how traffic is routed from the connector to the SFTP server.
- [`CfnConnector.ConnectorVpcLatticeEgressConfigProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_transfer.CfnConnector.ConnectorVpcLatticeEgressConfigProperty.html) Struct VPC_LATTICE egress configuration that specifies the Resource Configuration ARN and port for connecting to SFTP servers through customer VPCs.
- [`CfnConnector.SftpConfigProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_transfer.CfnConnector.SftpConfigProperty.html) Struct A structure that contains the parameters for an SFTP connector object.
- [`CfnConnectorProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_transfer.CfnConnectorProps.html) Struct Properties for defining a `CfnConnector`.
- [`CfnHostKeyProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_transfer.CfnHostKeyProps.html) Struct Properties for defining a `CfnHostKey`.
- [`CfnProfileProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_transfer.CfnProfileProps.html) Struct Properties for defining a `CfnProfile`.
- [`CfnServer.EndpointDetailsProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_transfer.CfnServer.EndpointDetailsProperty.html) Struct The virtual private cloud (VPC) endpoint settings that are configured for your server.
- [`CfnServer.IdentityProviderDetailsProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_transfer.CfnServer.IdentityProviderDetailsProperty.html) Struct Required when `IdentityProviderType` is set to `AWS_DIRECTORY_SERVICE` , `AWS _LAMBDA` or `API_GATEWAY` .
- [`CfnServer.ProtocolDetailsProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_transfer.CfnServer.ProtocolDetailsProperty.html) Struct The protocol settings that are configured for your server.
- [`CfnServer.ProxyConfigProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_transfer.CfnServer.ProxyConfigProperty.html) Struct
- [`CfnServer.S3StorageOptionsProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_transfer.CfnServer.S3StorageOptionsProperty.html) Struct The Amazon S3 storage options that are configured for your server.
- [`CfnServer.SftpPortWithOptionsProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_transfer.CfnServer.SftpPortWithOptionsProperty.html) Struct
- [`CfnServer.WorkflowDetailProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_transfer.CfnServer.WorkflowDetailProperty.html) Struct Specifies the workflow ID for the workflow to assign and the execution role that's used for executing the workflow.
- [`CfnServer.WorkflowDetailsProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_transfer.CfnServer.WorkflowDetailsProperty.html) Struct Container for the `WorkflowDetail` data type.
- [`CfnServerProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_transfer.CfnServerProps.html) Struct Properties for defining a `CfnServer`.
- [`CfnUser.HomeDirectoryMapEntryProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_transfer.CfnUser.HomeDirectoryMapEntryProperty.html) Struct Represents an object that contains entries and targets for `HomeDirectoryMappings` .
- [`CfnUser.PosixProfileProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_transfer.CfnUser.PosixProfileProperty.html) Struct The full POSIX identity, including user ID ( `Uid` ), group ID ( `Gid` ), and any secondary groups IDs ( `SecondaryGids` ), that controls your users' access to your Amazon EFS file systems.
- [`CfnUserProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_transfer.CfnUserProps.html) Struct Properties for defining a `CfnUser`.
- [`CfnWebApp.EndpointDetailsProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_transfer.CfnWebApp.EndpointDetailsProperty.html) Struct
- [`CfnWebApp.IdentityProviderDetailsProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_transfer.CfnWebApp.IdentityProviderDetailsProperty.html) Struct A structure that describes the values to use for the SSO settings when you create or update a web app.
- [`CfnWebApp.VpcProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_transfer.CfnWebApp.VpcProperty.html) Struct You can provide a structure that contains the details for the VPC endpoint to use with your web app.
- [`CfnWebApp.WebAppCustomizationProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_transfer.CfnWebApp.WebAppCustomizationProperty.html) Struct A structure that contains the customization fields for the web app.
- [`CfnWebApp.WebAppUnitsProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_transfer.CfnWebApp.WebAppUnitsProperty.html) Struct Contains an integer value that represents the value for number of concurrent connections or the user sessions on your web app.
- [`CfnWebAppProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_transfer.CfnWebAppProps.html) Struct Properties for defining a `CfnWebApp`.
- [`CfnWorkflow.CopyStepDetailsProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_transfer.CfnWorkflow.CopyStepDetailsProperty.html) Struct Details for a step that performs a file copy.
- [`CfnWorkflow.CustomStepDetailsProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_transfer.CfnWorkflow.CustomStepDetailsProperty.html) Struct Details for a step that invokes an AWS Lambda function.
- [`CfnWorkflow.DecryptStepDetailsProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_transfer.CfnWorkflow.DecryptStepDetailsProperty.html) Struct Details for a step that decrypts an encrypted file.
- [`CfnWorkflow.DeleteStepDetailsProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_transfer.CfnWorkflow.DeleteStepDetailsProperty.html) Struct An object that contains the name and file location for a file being deleted by a workflow.
- [`CfnWorkflow.EfsInputFileLocationProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_transfer.CfnWorkflow.EfsInputFileLocationProperty.html) Struct Specifies the Amazon EFS identifier and the path for the file being used.
- [`CfnWorkflow.InputFileLocationProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_transfer.CfnWorkflow.InputFileLocationProperty.html) Struct Specifies the location for the file that's being processed.
- [`CfnWorkflow.S3FileLocationProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_transfer.CfnWorkflow.S3FileLocationProperty.html) Struct Specifies the S3 details for the file being used, such as bucket, ETag, and so forth.
- [`CfnWorkflow.S3InputFileLocationProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_transfer.CfnWorkflow.S3InputFileLocationProperty.html) Struct Specifies the details for the Amazon S3 location for an input file to a workflow.
- [`CfnWorkflow.S3TagProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_transfer.CfnWorkflow.S3TagProperty.html) Struct Specifies the key-value pair that are assigned to a file during the execution of a Tagging step.
- [`CfnWorkflow.TagStepDetailsProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_transfer.CfnWorkflow.TagStepDetailsProperty.html) Struct Details for a step that creates one or more tags.
- [`CfnWorkflow.WorkflowStepProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_transfer.CfnWorkflow.WorkflowStepProperty.html) Struct The basic building block of a workflow.
- [`CfnWorkflowProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_transfer.CfnWorkflowProps.html) Struct Properties for defining a `CfnWorkflow`.
