For Custom Hostname to show up on the Transfer console server dashboard, you'll have to add the the Key/Value pairs
aws:transfer:route53HostedZoneId within the Tags field of the server property.
I'll share an example CloudFormation template snippet below:
... Parameters: HostedZoneID: Type: String Description: "Enter your R53 HostedZone-ID" CustomHostname: Type: String Description: "Enter your Custom Hostname" Resources: ... SFTPServer: Type: 'AWS::Transfer::Server' Properties: Tags: - Key: "aws:transfer:customHostname" Value: !Ref CustomHostname - Key: "aws:transfer:route53HostedZoneId" Value: !Join [ '/', [ "/hostedzone", !Ref HostedZoneID] ] ...
The above should help you achieve your use-case. Let me know if you have questions.
Missing property in CloudFormation AWS::ApiGateway::Stage?Accepted Answerasked 7 months ago
cloudformation SFTP transfer service with custom hostnameAccepted Answerasked 2 months ago
Cloudformation stuck on UPDATE_COMPLETE_CLEANUP_IN_PROGRESS for a couple of hours.asked 23 days ago
Create Route via Cloudformation Templateasked 5 months ago
How to provision CloudFront distribution with ACM certificate in CloudFormation?asked 5 months ago
Create a notification once CloudFormation StackSet is finishedasked 7 months ago
Example 1 create an Aws code commit pipeline with Aws cloudformationasked 5 months ago
Code Style guide for AWS Cloudformation and CDKAccepted Answerasked 8 months ago
CloudFormation reference the userId that is running the Templateasked 3 months ago
What is the CloudFormation equivalent of the "Restricted" user?asked 3 years ago