class Amazonite::CloudWatch::MetricStreamEntry

Overview

This structure contains the configuration information about one metric stream.

Included Modules

Defined in:

cloudwatch/metric_stream_entry.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(arn : String | Nil = nil, creation_date : Time | Nil = nil, last_update_date : Time | Nil = nil, name : String | Nil = nil, firehose_arn : String | Nil = nil, state : String | Nil = nil, output_format : MetricStreamOutputFormat | Nil = nil) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def arn : String | Nil #

The ARN of the metric stream.


[View source]
def arn=(arn : String | Nil) #

The ARN of the metric stream.


[View source]
def creation_date : Time | Nil #

The date that the metric stream was originally created.


[View source]
def creation_date=(creation_date : Time | Nil) #

The date that the metric stream was originally created.


[View source]
def firehose_arn : String | Nil #

The ARN of the Kinesis Firehose devlivery stream that is used for this metric stream.


[View source]
def firehose_arn=(firehose_arn : String | Nil) #

The ARN of the Kinesis Firehose devlivery stream that is used for this metric stream.


[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def last_update_date : Time | Nil #

The date that the configuration of this metric stream was most recently updated.


[View source]
def last_update_date=(last_update_date : Time | Nil) #

The date that the configuration of this metric stream was most recently updated.


[View source]
def name : String | Nil #

The name of the metric stream.


[View source]
def name=(name : String | Nil) #

The name of the metric stream.


[View source]
def output_format : MetricStreamOutputFormat | Nil #

The output format of this metric stream. Valid values are json, opentelemetry1.0, and opentelemetry0.7.


[View source]
def output_format=(output_format : MetricStreamOutputFormat | Nil) #

The output format of this metric stream. Valid values are json, opentelemetry1.0, and opentelemetry0.7.


[View source]
def state : String | Nil #

The current state of this stream. Valid values are running and stopped.


[View source]
def state=(state : String | Nil) #

The current state of this stream. Valid values are running and stopped.


[View source]
def validate! : Nil #

[View source]