AWS::CloudWatch::MetricStreamResource Type definition for Metric Stream
9 configurable properties. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
ExcludeFilters | Array<MetricStreamFilter> | |
FirehoseArn | string | |
IncludeFilters | Array<MetricStreamFilter> | |
IncludeLinkedAccountsMetrics | boolean | |
Name | string | Create-only |
OutputFormat | string | |
RoleArn | string | |
StatisticsConfigurations | Array<MetricStreamStatisticsConfiguration> | |
Tags | Array<Tag> |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
Arn | string | Amazon Resource Name of the metric stream. |
CreationDate | Any | Any | The date of creation of the metric stream. |
LastUpdateDate | Any | Any | The date of the last update of the metric stream. |
State | string | Displays the state of the Metric Stream. |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::CloudWatch::MetricStream
Resources:
MyResource:
Type: AWS::CloudWatch::MetricStream
Properties:
Tags:
- Key: Environment
Value: Production
Name: !Ref "AWS::StackName"Permissions CloudFormation needs in your IAM role to manage this resource.
cloudwatch:PutMetricStreamcloudwatch:GetMetricStreamcloudwatch:TagResourceiam:PassRolecloudwatch:PutMetricStreamcloudwatch:GetMetricStreamcloudwatch:TagResourcecloudwatch:UntagResourceiam:PassRolecloudwatch:DeleteMetricStreamcloudwatch:GetMetricStreamcloudwatch:ListMetricStreamscloudwatch:GetMetricStreamcloudwatch:ListTagsForResourceEverything you need to know about CloudWatch on one page. HD quality, print-friendly.
Download Free InfographicNameThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
Name