jjzjj

logstreamname

全部标签

amazon-web-services - 尝试在 awsgosdk 的帮助下在 terratest 中调用 cloudwatch loggroupname 和 logstreamname

在terratest中,我想调用awscloudwatch特定的日志组名称和日志流名称下面的代码来自github但不知道如何调用特定的日志组和日志流https://github.com/awsdocs/aws-doc-sdk-examples/blob/master/go/example_code/cloudwatch/CloudWatchGetLogEvents.go 最佳答案 尝试这样的事情c:=aws.NewCloudWatchLogsClient(t,awsRegion)t.Run("logStreamExists",fun