class Amazonite::CloudWatchLogs::Destination

Overview

Represents a cross-account destination that receives subscription log events.

Included Modules

Defined in:

cloudwatch_logs/destination.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(destination_name : String | Nil = nil, target_arn : String | Nil = nil, role_arn : String | Nil = nil, access_policy : String | Nil = nil, arn : String | Nil = nil, creation_time : Int64 | 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 access_policy : String | Nil #

An IAM policy document that governs which Amazon Web Services accounts can create subscription filters against this destination.


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

An IAM policy document that governs which Amazon Web Services accounts can create subscription filters against this destination.


[View source]
def arn : String | Nil #

The ARN of this destination.


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

The ARN of this destination.


[View source]
def creation_time : Int64 | Nil #

The creation time of the destination, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.


[View source]
def creation_time=(creation_time : Int64 | Nil) #

The creation time of the destination, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.


[View source]
def destination_name : String | Nil #

The name of the destination.


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

The name of the destination.


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

See Object#hash(hasher)


def role_arn : String | Nil #

A role for impersonation, used when delivering log events to the target.


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

A role for impersonation, used when delivering log events to the target.


[View source]
def target_arn : String | Nil #

The Amazon Resource Name (ARN) of the physical target where the log events are delivered (for example, a Kinesis stream).


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

The Amazon Resource Name (ARN) of the physical target where the log events are delivered (for example, a Kinesis stream).


[View source]
def validate! : Nil #

[View source]