Skip to main content

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​

  1. Create an AWS Transfer Family connection in the Integration Account Console. Verify it and confirm its status is READY.
  2. Add AWS Transfer Family in Workflow Studio and select the connection under General > Connection.
  3. Set region to the AWS region that contains the servers. Use list_servers to discover server IDs or describe_server to inspect a specific ID.
  4. Check the lookup status before using an item's state. Handle lookup errors separately from server states such as OFFLINE.

Inputs​

InputTypeRequiredDefaultPurpose
operationstringNolist_serverslist_servers or describe_server.
regionstringYes—Commercial or GovCloud AWS region.
serverIdstringFor describe—Exact AWS server ID in the form s- followed by 17 lowercase hexadecimal characters.
limitintegerNo25Maximum servers per list page, from 1 to 1,000.
nextTokenstringNo—List continuation token from a previous page, up to 6,144 characters.

Outputs​

OutputMeaning
status / operationLookup outcome and the selected operation, when recognized.
items / countServer summaries in provider order and the number returned. A describe result contains one item.
hasMore / nextTokenWhether another list page is available and its continuation token.
requestIdAWS request reference when available.
errorRedacted 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_servers calls AWS ListServers and returns one page. An empty page is a valid result.
  • describe_server calls AWS DescribeServer and returns the operational summary for the exact server ID.

Errors and Failure Modes​

  • VALIDATION_ERROR indicates an invalid operation or input. Supply a continuation token only to list_servers and a server ID only to describe_server.
  • INTEGRATION_ACCOUNT_ERROR indicates that the selected connection is unusable. Check verification, status, and protected credential fields.
  • SERVER_NOT_FOUND means 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 use error.retryable to 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 hasMore is true, pass nextToken unchanged 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.