【发布时间】:2019-02-02 17:38:38
【问题描述】:
我想将我的 AWS Cloud Formation 模板配置为使用 CloudWatch 进行日志流式传输。如何在 CloudFormation 中做到这一点?
【问题讨论】:
标签: amazon-web-services amazon-elastic-beanstalk amazon-cloudformation
我想将我的 AWS Cloud Formation 模板配置为使用 CloudWatch 进行日志流式传输。如何在 CloudFormation 中做到这一点?
【问题讨论】:
标签: amazon-web-services amazon-elastic-beanstalk amazon-cloudformation
您需要在 Cloud Formation 模板中使用 AWS::Logs::LogStream 资源。例如YAML 格式:
Type: AWS::Logs::LogStream
Properties:
LogGroupName: String
LogStreamName: String
更多信息在official docs page。
【讨论】: