AWS Transfer Family ExecModule
Overview
AwsTransferFamilyModule reads the AWS control plane for managed file transfer servers. Use it to inventory servers in a region, check a known server before a partner transfer window, or collect selected configuration fields for operational review. Each call reads one regional page or describes one exact server.
A server state describes the AWS resource. It does not test network reachability, user authentication, or delivery of a particular file.
Usage
- Create an AWS Transfer Family connection in the Integration Account Console. Verify it and confirm its status is
READY. - Add AWS Transfer Family in Workflow Studio and select the connection under General > Connection.
- Set
regionto the AWS region that contains the servers. Uselist_serversto discover server IDs ordescribe_serverto inspect a specific ID. - Check the lookup
statusbefore using an item'sstate. Handle lookup errors separately from server states such asOFFLINE.
Inputs
| Input | Type | Required | Default | Purpose |
|---|---|---|---|---|
operation | string | No | list_servers | list_servers or describe_server. |
region | string | Yes | — | Commercial or GovCloud AWS region. |
serverId | string | For describe | — | Exact AWS server ID in the form s- followed by 17 lowercase hexadecimal characters. |
limit | integer | No | 25 | Maximum servers per list page, from 1 to 1,000. |
nextToken | string | No | — | List continuation token from a previous page, up to 6,144 characters. |
Outputs
| Output | Meaning |
|---|---|
status / operation | Lookup outcome and the selected operation, when recognized. |
items / count | Server summaries in provider order and the number returned. A describe result contains one item. |
hasMore / nextToken | Whether another list page is available and its continuation token. |
requestId | AWS request reference when available. |
error | Redacted error code, message, retryability, and HTTP status when available. |
Each item identifies the server by serverArn and serverId and includes its state. Unknown or missing states appear as UNKNOWN. AWS can also return domain, endpointType, identityProviderType, and userCount. Describe can add protocols and securityPolicyName. Missing optional fields are unknown. The response excludes raw identity provider settings, endpoint topology, and server banners.
IntegrationAccount Requirements
Use the AWS Transfer Family template with account name AWS. Store the access key ID in the protected API key field and the secret access key in the protected password field. ValkyrAI resolves the protected credentials at runtime and uses them to sign the request.
Grant only the permissions required by the workflow. transfer:ListServers requires Resource: "*". transfer:DescribeServer can be scoped to the ARN of the server the workflow checks. AWS Transfer Family IAM actions and resource types
Configuration
The module connects to the standard AWS Transfer Family HTTPS endpoint for the selected region. Choose a region where Transfer Family is available and a connection authorized for the target account. The connection uses an access key pair. Session tokens, inline credentials, and custom endpoints are outside its contract.
Operations
list_serverscalls AWS ListServers and returns one page. An empty page is a valid result.describe_servercalls AWS DescribeServer and returns the operational summary for the exact server ID.
Errors and Failure Modes
VALIDATION_ERRORindicates an invalid operation or input. Supply a continuation token only tolist_serversand a server ID only todescribe_server.INTEGRATION_ACCOUNT_ERRORindicates that the selected connection is unusable. Check verification, status, and protected credential fields.SERVER_NOT_FOUNDmeans AWS did not find the requested server. Check the ID, region, and account before retrying.- An
AWS_TRANSFER_HTTP_error includes the AWS HTTP status. Keep the request reference for investigation when provided, and useerror.retryableto decide whether to reschedule with bounded backoff. - A successful lookup can return an offline server. Route that state to the operating team according to the workflow's policy.
Example
Check a known server before a scheduled partner upload.
{
"operation": "describe_server",
"region": "us-west-2",
"serverId": "s-01234567890abcdef"
}
A successful lookup can return this summary.
{
"status": "success",
"operation": "describe_server",
"items": [
{
"serverArn": "arn:aws:transfer:us-west-2:123456789012:server/s-01234567890abcdef",
"serverId": "s-01234567890abcdef",
"state": "ONLINE",
"domain": "S3",
"protocols": ["SFTP"]
}
],
"count": 1,
"hasMore": false
}
Record the observed state and notify the operating team if it remains outside the expected state after a second check. If the business process requires delivery evidence, verify the file through the receiving system.
Notes
- When
hasMoreis true, passnextTokenunchanged to another list call with the same connection and region. Bound the number of pages and keep continuation tokens out of alerts. - Space polls for the same account and region. See AWS Transfer Family endpoints and quotas.
- These reads are safe to repeat. Results can change between pages or polls. Deduplicate alerts by server ARN and observed state.
- The module does not transfer files, inspect file contents, change users, or create, start, stop, or delete servers.