Class CfnMetricStreamProps.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.cloudwatch.CfnMetricStreamProps.Jsii$Proxy
All Implemented Interfaces:
CfnMetricStreamProps, software.amazon.jsii.JsiiSerializable
Enclosing interface:
CfnMetricStreamProps

@Stability(Stable) @Internal public static final class CfnMetricStreamProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnMetricStreamProps
An implementation for CfnMetricStreamProps
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode

    Nested classes/interfaces inherited from interface software.amazon.awscdk.services.cloudwatch.CfnMetricStreamProps

    CfnMetricStreamProps.Builder, CfnMetricStreamProps.Jsii$Proxy
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the CfnMetricStreamProps.Builder.
    protected
    Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
    Constructor that initializes the object based on values retrieved from the JsiiObject.
  • Method Summary

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

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(CfnMetricStreamProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CfnMetricStreamProps.Builder.
  • Method Details

    • getFirehoseArn

      public final String getFirehoseArn()
      Description copied from interface: CfnMetricStreamProps
      The ARN of the Amazon Kinesis Firehose delivery stream to use for this metric stream.

      This Amazon Kinesis Firehose delivery stream must already exist and must be in the same account as the metric stream.

      Specified by:
      getFirehoseArn in interface CfnMetricStreamProps
    • getOutputFormat

      public final String getOutputFormat()
      Description copied from interface: CfnMetricStreamProps
      The output format for the stream.

      Valid values are json and opentelemetry0.7 For more information about metric stream output formats, see Metric streams output formats .

      This parameter is required.

      Specified by:
      getOutputFormat in interface CfnMetricStreamProps
    • getRoleArn

      public final String getRoleArn()
      Description copied from interface: CfnMetricStreamProps
      The ARN of an IAM role that this metric stream will use to access Amazon Kinesis Firehose resources.

      This IAM role must already exist and must be in the same account as the metric stream. This IAM role must include the firehose:PutRecord and firehose:PutRecordBatch permissions.

      Specified by:
      getRoleArn in interface CfnMetricStreamProps
    • getExcludeFilters

      public final Object getExcludeFilters()
      Description copied from interface: CfnMetricStreamProps
      If you specify this parameter, the stream sends metrics from all metric namespaces except for the namespaces that you specify here.

      You cannot specify both IncludeFilters and ExcludeFilters in the same metric stream.

      When you modify the IncludeFilters or ExcludeFilters of an existing metric stream in any way, the metric stream is effectively restarted, so after such a change you will get only the datapoints that have a timestamp after the time of the update.

      Specified by:
      getExcludeFilters in interface CfnMetricStreamProps
    • getIncludeFilters

      public final Object getIncludeFilters()
      Description copied from interface: CfnMetricStreamProps
      If you specify this parameter, the stream sends only the metrics from the metric namespaces that you specify here.

      You cannot specify both IncludeFilters and ExcludeFilters in the same metric stream.

      When you modify the IncludeFilters or ExcludeFilters of an existing metric stream in any way, the metric stream is effectively restarted, so after such a change you will get only the datapoints that have a timestamp after the time of the update.

      Specified by:
      getIncludeFilters in interface CfnMetricStreamProps
    • getIncludeLinkedAccountsMetrics

      public final Object getIncludeLinkedAccountsMetrics()
      Description copied from interface: CfnMetricStreamProps
      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 .

      For more information about linking accounts, see CloudWatch cross-account observability

      Specified by:
      getIncludeLinkedAccountsMetrics in interface CfnMetricStreamProps
    • getName

      public final String getName()
      Description copied from interface: CfnMetricStreamProps
      If you are creating a new metric stream, this is the name for the new stream.

      The name must be different than the names of other metric streams in this account and Region.

      If you are updating a metric stream, specify the name of that stream here.

      Specified by:
      getName in interface CfnMetricStreamProps
    • getStatisticsConfigurations

      public final Object getStatisticsConfigurations()
      Description copied from interface: CfnMetricStreamProps
      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.

      For each entry in this array, you specify one or more metrics and the list of additional statistics to stream for those metrics. The additional statistics that you can stream depend on the stream's OutputFormat . If the OutputFormat is json , you can stream any additional statistic that is supported by CloudWatch , listed in CloudWatch statistics definitions . If the OutputFormat is opentelemetry0 .7, you can stream percentile statistics (p??) .

      Specified by:
      getStatisticsConfigurations in interface CfnMetricStreamProps
    • getTags

      public final List<CfnTag> getTags()
      Description copied from interface: CfnMetricStreamProps
      An array of key-value pairs to apply to the metric stream.

      For more information, see Tag .

      Specified by:
      getTags in interface CfnMetricStreamProps
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object