亚马逊API创建一个网站[关闭]

I need to create website using Amazon API where I can pass static content(basically index.html content) and they should return some kind of temporary(internal?) URL to access newly created website.

What are the right services that need to be used to achive such goal?

Amazon S3 is probably what you're looking for. It will host static content and if you expose the bucket as publicly visible, then you will get what you're looking for. Here is the developer guide for AWS PHP SDK with S3:

http://docs.aws.amazon.com/aws-sdk-php/guide/latest/service-s3.html

The bucket can be configured for website access via the putBucketWebsite() function.

http://docs.aws.amazon.com/aws-sdk-php/latest/class-Aws.S3.S3Client.html#_putBucketWebsite