In source code for a project released by Amazon.com Inc.,
awslabs/amazon-redshift-utils, an "Open Source"-like license is found with questionable stipulations, particularly section 3.3:
3.3 Use Limitation. The Work and any derivative works thereof only may be used or intended for use with the web services, computing platforms or applications provided by Amazon.com, Inc. or its affiliates, including Amazon Web Services, Inc.
LICENSE.txt file appears to be very similar to other Open Source licenses, however it also seems that Amazon is trying to limit usage of any and all derivative works to be used only with their own paid software products and services.
Is this legal or enforceable that a company can release "free" software which is "locked-in" to that company and only to be used when it serves to increase the profit of said company?