AWS Elastic Beanstalk
开发人员指南
AWS 文档中描述的 AWS 服务或功能可能因区域而异。要查看适用于中国区域的差异,请参阅 Amazon AWS 入门

事件

注意

该版本的 EB CLI 及其文档已替换成版本 3 (在本部分中,EB CLI 3 表示 EB CLI 的版本 3 及更高版本)。有关新版本的信息,请参阅 Elastic Beanstalk 命令行界面 (EB CLI)

描述

返回环境的最近事件。

语法

eb events

选项

名称 描述 必需

[number] NUMBER

要返回的事件数目。有效值范围为 1 至 1000。

类型:整数

默认值:10

输出

如果成功,则该命令返回指定数目的最近事件。

示例

下面的示例返回 15 个最近事件。

PROMPT> eb events 15 2014-05-19 08:44:51 INFO terminateEnvironment completed successfully. 2014-05-19 08:44:50 INFO Deleting SNS topic for environment MyApp-test-env. 2014-05-19 08:44:38 INFO Deleted security group named: awseb-e-fEXAMPLEre-stack-AWSEBSecurityGroup-1DEXAMPLEKI 2014-05-19 08:44:32 INFO Deleted RDS database named: aa1k8EXAMPLEdxl 2014-05-19 08:38:33 INFO Deleted EIP: xx.xx.xxx.xx 2014-05-19 08:37:04 INFO Waiting for EC2 instances to terminate. This may take a few minutes. 2014-05-19 08:36:45 INFO terminateEnvironment is starting. 2014-05-19 08:27:54 INFO Adding instance 'i-fEXAMPLE7' to your environment. 2014-05-19 08:27:50 INFO Successfully launched environment: MyApp-test-env 2014-05-19 08:27:50 INFO Application available at MyApp-test-envmEXAMPLEst.elasticbeanstalk.com. 2014-05-19 08:24:04 INFO Waiting for EC2 instances to launch. This may take a few minutes. 2014-05-19 08:23:21 INFO Created RDS database named: aa1k8EXAMPLEdxl 2014-05-19 08:17:07 INFO Creating RDS database named: aa1k8EXAMPLEdxl. This may take a few minutes. 2014-05-19 08:16:58 INFO Created security group named: awseb-e-fEXAMPLEre-stack-AWSEBSecurityGroup-1D6HEXAMPLEKI 2014-05-19 08:16:54 INFO Created EIP: 50.18.181.66

本页内容: