libZSservicesZSamazonka-cloudwatch-eventsZSamazonka-cloudwatch-events
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CloudWatchEvents.Types.EventBus

Description

 
Synopsis

Documentation

data EventBus Source #

An event bus receives events from a source and routes them to rules associated with that event bus. Your account's default event bus receives events from Amazon Web Services services. A custom event bus can receive events from your custom applications and services. A partner event bus receives events from an event source created by an SaaS partner. These events come from the partners services or applications.

See: newEventBus smart constructor.

Constructors

EventBus' 

Fields

  • arn :: Maybe Text

    The ARN of the event bus.

  • name :: Maybe Text

    The name of the event bus.

  • policy :: Maybe Text

    The permissions policy of the event bus, describing which other Amazon Web Services accounts can write events to this event bus.

Instances

Instances details
Eq EventBus Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.EventBus

Read EventBus Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.EventBus

Show EventBus Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.EventBus

Generic EventBus Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.EventBus

Associated Types

type Rep EventBus :: Type -> Type #

Methods

from :: EventBus -> Rep EventBus x #

to :: Rep EventBus x -> EventBus #

NFData EventBus Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.EventBus

Methods

rnf :: EventBus -> () #

Hashable EventBus Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.EventBus

Methods

hashWithSalt :: Int -> EventBus -> Int #

hash :: EventBus -> Int #

FromJSON EventBus Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.EventBus

type Rep EventBus Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.EventBus

type Rep EventBus = D1 ('MetaData "EventBus" "Amazonka.CloudWatchEvents.Types.EventBus" "libZSservicesZSamazonka-cloudwatch-eventsZSamazonka-cloudwatch-events" 'False) (C1 ('MetaCons "EventBus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "policy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newEventBus :: EventBus Source #

Create a value of EventBus with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:arn:EventBus', eventBus_arn - The ARN of the event bus.

$sel:name:EventBus', eventBus_name - The name of the event bus.

$sel:policy:EventBus', eventBus_policy - The permissions policy of the event bus, describing which other Amazon Web Services accounts can write events to this event bus.

eventBus_arn :: Lens' EventBus (Maybe Text) Source #

The ARN of the event bus.

eventBus_name :: Lens' EventBus (Maybe Text) Source #

The name of the event bus.

eventBus_policy :: Lens' EventBus (Maybe Text) Source #

The permissions policy of the event bus, describing which other Amazon Web Services accounts can write events to this event bus.