class Amazonite::EventBridge::PartnerEventSourceAccount

Overview

The Amazon Web Services account that a partner event source has been offered to.

Included Modules

Defined in:

eventbridge/partner_event_source_account.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(account : String | Nil = nil, creation_time : Time | Nil = nil, expiration_time : Time | 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 account : String | Nil #

The Amazon Web Services account ID that the partner event source was offered to.


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

The Amazon Web Services account ID that the partner event source was offered to.


[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 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]