# `Stripe.Resources.V2.Core.EventDestination`
[🔗](https://github.com/jeffhuen/tiger_stripe/blob/main/lib/stripe/resources/v2/core/event_destination.ex#L2)

Event Destination

Set up an event destination to receive events from Stripe across multiple destination types, including [webhook endpoints](https://docs.stripe.com/webhooks) and [Amazon EventBridge](https://docs.stripe.com/event-destinations/eventbridge). Event destinations support receiving [thin events](https://docs.stripe.com/api/v2/events) and [snapshot events](https://docs.stripe.com/api/events).

# `t`

```elixir
@type t() :: %Stripe.Resources.V2.Core.EventDestination{
  amazon_eventbridge: map() | nil,
  created: String.t(),
  description: String.t(),
  enabled_events: [String.t()],
  event_payload: String.t(),
  events_from: [String.t()] | nil,
  id: String.t(),
  livemode: boolean(),
  metadata: map() | nil,
  name: String.t(),
  object: String.t(),
  snapshot_api_version: String.t() | nil,
  status: String.t(),
  status_details: map() | nil,
  type: String.t(),
  updated: String.t(),
  webhook_endpoint: map() | nil
}
```

* `amazon_eventbridge` - Amazon EventBridge configuration.
* `created` - Time at which the object was created. Format: date-time.
* `description` - An optional description of what the event destination is used for.
* `enabled_events` - The list of events to enable for this endpoint.
* `event_payload` - Payload type of events being subscribed to. Possible values: `snapshot`, `thin`.
* `events_from` - Where events should be routed from.
* `id` - Unique identifier for the object.
* `livemode` - Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
* `metadata` - Metadata.
* `name` - Event destination name.
* `object` - String representing the object's type. Objects of the same type share the same value of the object field. Possible values: `v2.core.event_destination`.
* `snapshot_api_version` - If using the snapshot event payload, the API version events are rendered as.
* `status` - Status. It can be set to either enabled or disabled. Possible values: `disabled`, `enabled`.
* `status_details` - Additional information about event destination status.
* `type` - Event destination type. Possible values: `amazon_eventbridge`, `webhook_endpoint`.
* `updated` - Time at which the object was last updated. Format: date-time.
* `webhook_endpoint` - Webhook endpoint configuration.

# `object_name`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
