Interface CfnMetricStreamProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnMetricStreamProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.99.0 (build 8f757e4)", date="2024-06-13T18:49:15.830Z") @Stability(Stable) public interface CfnMetricStreamProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnMetricStream.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.cloudwatch.*;
 CfnMetricStreamProps cfnMetricStreamProps = CfnMetricStreamProps.builder()
         .firehoseArn("firehoseArn")
         .outputFormat("outputFormat")
         .roleArn("roleArn")
         // the properties below are optional
         .excludeFilters(List.of(MetricStreamFilterProperty.builder()
                 .namespace("namespace")
                 // the properties below are optional
                 .metricNames(List.of("metricNames"))
                 .build()))
         .includeFilters(List.of(MetricStreamFilterProperty.builder()
                 .namespace("namespace")
                 // the properties below are optional
                 .metricNames(List.of("metricNames"))
                 .build()))
         .includeLinkedAccountsMetrics(false)
         .name("name")
         .statisticsConfigurations(List.of(MetricStreamStatisticsConfigurationProperty.builder()
                 .additionalStatistics(List.of("additionalStatistics"))
                 .includeMetrics(List.of(MetricStreamStatisticsMetricProperty.builder()
                         .metricName("metricName")
                         .namespace("namespace")
                         .build()))
                 .build()))
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 

See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final class 
    A builder for CfnMetricStreamProps
    static final class 
    An implementation for CfnMetricStreamProps
  • Method Summary

    Modifier and Type
    Method
    Description
     
    default Object
    If you specify this parameter, the stream sends metrics from all metric namespaces except for the namespaces that you specify here.
    The ARN of the Amazon Kinesis Firehose delivery stream to use for this metric stream.
    default Object
    If you specify this parameter, the stream sends only the metrics from the metric namespaces that you specify here.
    default Object
    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.
    default String
    If you are creating a new metric stream, this is the name for the new stream.
    The output format for the stream.
    The ARN of an IAM role that this metric stream will use to access Amazon Kinesis Firehose resources.
    default Object
    By default, a metric stream always sends the MAX, MIN, SUM, and SAMPLECOUNT statistics for each metric that is streamed.
    default List<CfnTag>
    An array of key-value pairs to apply to the metric stream.

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson