| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.CloudWatchEvents.Types.EventBus
Description
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.
Constructors
| EventBus' | |
Instances
| FromJSON EventBus Source # | |
| Generic EventBus Source # | |
| Read EventBus Source # | |
| Show EventBus Source # | |
| NFData EventBus Source # | |
Defined in Amazonka.CloudWatchEvents.Types.EventBus | |
| Eq EventBus Source # | |
| Hashable EventBus Source # | |
Defined in Amazonka.CloudWatchEvents.Types.EventBus | |
| type Rep EventBus Source # | |
Defined in Amazonka.CloudWatchEvents.Types.EventBus type Rep EventBus = D1 ('MetaData "EventBus" "Amazonka.CloudWatchEvents.Types.EventBus" "amazonka-cloudwatch-events-2.0-GJzRBos1CnlE3BT39axMc5" '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.