Resource Type definition for Metric Stream
firehose_arn
(String) The ARN of the Kinesis Firehose where to stream the data.output_format
(String) The output format of the data streamed to the Kinesis Firehose.role_arn
(String) The ARN of the role that provides access to the Kinesis Firehose.exclude_filters
(Attributes List) Define which metrics will be not streamed. Metrics matched by multiple instances of MetricStreamFilter are joined with an OR operation by default. If both IncludeFilters and ExcludeFilters are omitted, all metrics in the account will be streamed. IncludeFilters and ExcludeFilters are mutually exclusive. Default to null. (see below for nested schema)include_filters
(Attributes List) Define which metrics will be streamed. Metrics matched by multiple instances of MetricStreamFilter are joined with an OR operation by default. If both IncludeFilters and ExcludeFilters are omitted, all metrics in the account will be streamed. IncludeFilters and ExcludeFilters are mutually exclusive. Default to null. (see below for nested schema)include_linked_accounts_metrics
(Boolean) If you are creating a metric stream in a monitoring account, specify true to include metrics from source accounts that are linked to this monitoring account, in the metric stream. The default is false.name
(String) Name of the metric stream.statistics_configurations
(Attributes List) By default, a metric stream always sends the MAX, MIN, SUM, and SAMPLECOUNT statistics for each metric that is streamed. You can use this parameter to have the metric stream also send additional statistics in the stream. This array can have up to 100 members. (see below for nested schema)tags
(Attributes List) A set of tags to assign to the delivery stream. (see below for nested schema)arn
(String) Amazon Resource Name of the metric stream.creation_date
(String) The date of creation of the metric stream.id
(String) Uniquely identifies the resource.last_update_date
(String) The date of the last update of the metric stream.state
(String) Displays the state of the Metric Stream.exclude_filters
Required:
namespace
(String) Only metrics with Namespace matching this value will be streamed.Optional:
metric_names
(List of String) Only metrics with MetricNames matching these values will be streamed. Must be set together with Namespace.include_filters
Required:
namespace
(String) Only metrics with Namespace matching this value will be streamed.Optional:
metric_names
(List of String) Only metrics with MetricNames matching these values will be streamed. Must be set together with Namespace.statistics_configurations
Required:
additional_statistics
(List of String) The additional statistics to stream for the metrics listed in IncludeMetrics.include_metrics
(Attributes List) An array that defines the metrics that are to have additional statistics streamed. (see below for nested schema)statistics_configurations.include_metrics
Required:
metric_name
(String) The name of the metric.namespace
(String) The namespace of the metric.tags
Required:
key
(String) A unique identifier for the tag.value
(String) String which you can use to describe or define the tag.Import is supported using the following syntax:
$ terraform import awscc_cloudwatch_metric_stream.example <resource ID>