我正在尝试使用CLI在AWS CloudWatch中创建多个警报。我的命令中的粗体项目是可变的,如何重新格式化命令以一次启用Enter创建多个警报?
aws cloudwatch put-metric-alarm --alarm-name UnreservedConcurrentExecutions-测试-警报描述“在5分钟内1 UnreservedConcurrentExecutions 时发出警报” --metric-name 未保留的并行执行 --namespace AWS / Lambda --statistic Sum --period 300 --threshold 1 --comparison-operator GreaterThanThreshold --dimensions“ Name = FunctionName ,Value = testing ” –评估期1 --alarm-actions arn:xxxxxx