class Amazonite::EventBridge::EventSource

Overview

A partner event source is created by an SaaS partner. If a customer creates a partner event bus that matches this event source, that Amazon Web Services account can receive events from the partner's applications or services.

Included Modules

Defined in:

eventbridge/event_source.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(arn : String | Nil = nil, created_by : String | Nil = nil, creation_time : Time | Nil = nil, expiration_time : Time | Nil = nil, name : String | Nil = nil, state : EventSourceState | 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 ARN of the event source.


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

The ARN of the event source.


[View source]
def created_by : String | Nil #

The name of the partner that created the event source.


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

The name of the partner that created the event source.


[View source]
def creation_time : Time | Nil #

The date and time the event source was created.


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

The date and time the event source was created.


[View source]
def expiration_time : Time | Nil #

The date and time that the event source will expire, if the Amazon Web Services account doesn't create a matching event bus for it.


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

The date and time that the event source will expire, if the Amazon Web Services account doesn't create a matching event bus for it.


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

See Object#hash(hasher)


def name : String | Nil #

The name of the event source.


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

The name of the event source.


[View source]
def state : EventSourceState | Nil #

The state of the event source. If it is ACTIVE, you have already created a matching event bus for this event source, and that event bus is active. If it is PENDING, either you haven't yet created a matching event bus, or that event bus is deactivated. If it is DELETED, you have created a matching event bus, but the event source has since been deleted.


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

The state of the event source. If it is ACTIVE, you have already created a matching event bus for this event source, and that event bus is active. If it is PENDING, either you haven't yet created a matching event bus, or that event bus is deactivated. If it is DELETED, you have created a matching event bus, but the event source has since been deleted.


[View source]
def validate! : Nil #

[View source]