This template creates an AWS DMS endpoint with the specified properties. The endpoint is of type 'target' and uses the MySQL engine. It connects to the server 'server.db.amazon.com' on port 1234 with the provided username and password. The database name is 'my-db'. It also includes a tag with key 'type' and value 'new'.

CloudFormation Template