CmdID / aws / aws cloudwatch
aws cloudwatch put-metric-stream
Creates or updates a metric stream. AWS CLI reference
9 options Its page in the AWS CLI reference
Options
--exclude-filtersIf you specify this parameter, the stream sends metrics from all metric namespaces except for the namespaces that you specify here.--firehose-arnThe ARN of the Amazon Kinesis Data Firehose delivery stream to use for this metric stream.--include-filtersIf you specify this parameter, the stream sends only the metrics from the metric namespaces that you specify here.--include-linked-accounts-metricsIf you are creating a metric stream in a monitoring account, specify true to include metrics from source accounts in the metric stream.--nameIf you are creating a new metric stream, this is the name for the new stream.--output-formatThe output format for the stream.--role-arnThe ARN of an IAM role that this metric stream will use to access Amazon Kinesis Data Firehose resources.--statistics-configurationsBy default, a metric stream always sends the MAX, MIN, SUM, and SAMPLECOUNT statistics for each metric that is streamed.--tagsA list of key-value pairs to associate with the metric stream.