Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Documentation
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.
Instances
Eq EventBus Source # | |
Read EventBus Source # | |
Show EventBus Source # | |
Generic EventBus Source # | |
NFData EventBus Source # | |
Defined in Amazonka.CloudWatchEvents.Types.EventBus | |
Hashable EventBus Source # | |
Defined in Amazonka.CloudWatchEvents.Types.EventBus | |
FromJSON EventBus Source # | |
type Rep EventBus Source # | |
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.