AWS Corretto示例应用程序S3Key

0

【以下的问题经过翻译处理】 有人知道corretto.zip样例应用程序的S3Key是什么吗?对于S3Key属性,我尝试了corretto-newsample-app.zipcorretto.zip,但在Cloud Formation中收到400错误。

无法从S3位置下载(Bucket:elasticbeanstalk-samples-eu-west-1 Key:corretto-newsample-app.zip)。原因:Forbidden:S3Bucket = elasticbeanstalk-samples-eu-west-1,S3Key = corretto-newsample-app.zip(服务:AWSElasticBeanstalk;状态代码:400;错误代码 :InvalidParameterCombination; 

如果我从AWS示例中使用PHP样例应用程序(https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/quickref-elasticbeanstalk.htmlphp-newsample-app.zip,则可以正常工作,并且可以成功启动具有Cloud Formation模板的EB环境,但我想使用Java样例应用程序。

profile picture
EXPERTE
gefragt vor 5 Monaten23 Aufrufe
1 Antwort
0

【以下的回答经过翻译处理】 请使用S3Key中的java-sample-app.zip文件进行Java App测试。

profile picture
EXPERTE
beantwortet vor 5 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen