标签: amazon-cloudformation aws-elasticsearch amazon-elasticsearch
我正在使用fluentd将日志从不同的环境发送到AWS ElasticSearch。 AWS ES是使用CloudFormation堆栈创建的。如何做以下两件事:
我在CloudFormation堆栈中找不到要添加保留策略的任何内容。
答案 0 :(得分:3)
到目前为止,Cloudformation中没有此类功能。可以做的是使用Lambda和时间表来应用这些保留规则。 aws documentation包含使用lambda和策展人库的示例。