class Amazonite::CloudWatchLogs::DeliveryDestination

Overview

This structure contains information about one delivery destination in your account. A delivery destination is an Amazon Web Services resource that represents an Amazon Web Services service that logs can be sent to. CloudWatch Logs, Amazon S3, Firehose, and X-Ray are supported as delivery destinations.

To configure logs delivery between a supported Amazon Web Services service and a destination, you must do the following:

You can configure a single delivery source to send logs to multiple destinations by creating multiple deliveries. You can also create multiple deliveries to configure multiple delivery sources to send logs to the same delivery destination.

Included Modules

Defined in:

cloudwatch_logs/delivery_destination.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(name : String | Nil = nil, arn : String | Nil = nil, delivery_destination_type : DeliveryDestinationType | Nil = nil, output_format : OutputFormat | Nil = nil, delivery_destination_configuration : DeliveryDestinationConfiguration | Nil = nil, tags : Hash(String, String) | Nil = nil) #

[View source]
def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

[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 Amazon Resource Name (ARN) that uniquely identifies this delivery destination.


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

The Amazon Resource Name (ARN) that uniquely identifies this delivery destination.


[View source]
def delivery_destination_configuration : DeliveryDestinationConfiguration | Nil #

A structure that contains the ARN of the Amazon Web Services resource that will receive the logs.


[View source]
def delivery_destination_configuration=(delivery_destination_configuration : DeliveryDestinationConfiguration | Nil) #

A structure that contains the ARN of the Amazon Web Services resource that will receive the logs.


[View source]
def delivery_destination_type : DeliveryDestinationType | Nil #

Displays whether this delivery destination is CloudWatch Logs, Amazon S3, Firehose, or X-Ray.


[View source]
def delivery_destination_type=(delivery_destination_type : DeliveryDestinationType | Nil) #

Displays whether this delivery destination is CloudWatch Logs, Amazon S3, Firehose, or X-Ray.


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

See Object#hash(hasher)


def name : String | Nil #

The name of this delivery destination.


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

The name of this delivery destination.


[View source]
def output_format : OutputFormat | Nil #

The format of the logs that are sent to this delivery destination.


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

The format of the logs that are sent to this delivery destination.


[View source]
def tags : Hash(String, String) | Nil #

The tags that have been assigned to this delivery destination.


[View source]
def tags=(tags : Hash(String, String) | Nil) #

The tags that have been assigned to this delivery destination.


[View source]
def validate! : Nil #

[View source]