# AWS::EventsV2 Construct Library

---

![cfn-resources: Stable](https://img.shields.io/badge/cfn--resources-stable-success.svg?style=for-the-badge)

> All classes with the `Cfn` prefix in this module ([CFN Resources]) are always stable and safe to use.
>
> [CFN Resources]: https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib

---

This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.

```ts
import * as events from 'aws-cdk-lib/aws-eventsv2';
```

There are no official hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet. Here are some suggestions on how to proceed:

- Search [Construct Hub for EventsV2 construct libraries](https://constructs.dev/search?q=eventsv2)
- Use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, in the same way you would use [the CloudFormation AWS::EventsV2 resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_EventsV2.html) directly.

There are no hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet.
However, you can still use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, and use this service exactly as you would using CloudFormation directly.

For more information on the resources and properties available for this service, see the [CloudFormation documentation for AWS::EventsV2](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_EventsV2.html).

(Read the [CDK Contributing Guide](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and submit an RFC if you are interested in contributing to this construct library.)

## Types

| Name | Kind | Summary |
| --- | --- | --- |
| [`CfnEventBus`](/v2/docs/aws-cdk-lib.aws_eventsv2.CfnEventBus) | Construct (L1) | Resource type definition for AWS::EventsV2::EventBus, an Amazon EventBridge custom event bus that receives events and delivers them to matching subscribers. |
| [`CfnEventSource`](/v2/docs/aws-cdk-lib.aws_eventsv2.CfnEventSource) | Construct (L1) | Resource schema for AWS::EventsV2::EventSource. |
| [`CfnResourcePolicy`](/v2/docs/aws-cdk-lib.aws_eventsv2.CfnResourcePolicy) | Construct (L1) | Resource type definition for AWS::EventsV2::ResourcePolicy, the resource policy of an Amazon EventBridge event bus. |
| [`CfnSubscriber`](/v2/docs/aws-cdk-lib.aws_eventsv2.CfnSubscriber) | Construct (L1) | Resource type definition for AWS::EventsV2::Subscriber, an Amazon EventBridge subscription that delivers events from an event bus to a target. |
| [`CfnEventBus.EncryptionConfigurationProperty`](/v2/docs/aws-cdk-lib.aws_eventsv2.CfnEventBus.EncryptionConfigurationProperty) | Struct | Encryption configuration for an event bus. |
| [`CfnEventBus.StorageConfigurationProperty`](/v2/docs/aws-cdk-lib.aws_eventsv2.CfnEventBus.StorageConfigurationProperty) | Struct | Storage (retention) configuration for the event bus. |
| [`CfnEventBusProps`](/v2/docs/aws-cdk-lib.aws_eventsv2.CfnEventBusProps) | Struct | Properties for defining a `CfnEventBus`. |
| [`CfnEventSource.AwsServiceEventsConfigurationProperty`](/v2/docs/aws-cdk-lib.aws_eventsv2.CfnEventSource.AwsServiceEventsConfigurationProperty) | Struct | Forward a single AWS service's events from the account's default event bus. |
| [`CfnEventSource.EventSourceConfigurationProperty`](/v2/docs/aws-cdk-lib.aws_eventsv2.CfnEventSource.EventSourceConfigurationProperty) | Struct | Event source configuration. |
| [`CfnEventSource.OnFailureConfigurationProperty`](/v2/docs/aws-cdk-lib.aws_eventsv2.CfnEventSource.OnFailureConfigurationProperty) | Struct | The destination for events that could not be forwarded by the managed forwarding target or, for partner event sources, the managed partner event bus. |
| [`CfnEventSource.PartnerEventsConfigurationProperty`](/v2/docs/aws-cdk-lib.aws_eventsv2.CfnEventSource.PartnerEventsConfigurationProperty) | Struct | Forward a partner event source's events through a managed partner event bus. |
| [`CfnEventSourceProps`](/v2/docs/aws-cdk-lib.aws_eventsv2.CfnEventSourceProps) | Struct | Properties for defining a `CfnEventSource`. |
| [`CfnResourcePolicyProps`](/v2/docs/aws-cdk-lib.aws_eventsv2.CfnResourcePolicyProps) | Struct | Properties for defining a `CfnResourcePolicy`. |
| [`CfnSubscriber.BatchConfigurationProperty`](/v2/docs/aws-cdk-lib.aws_eventsv2.CfnSubscriber.BatchConfigurationProperty) | Struct | Configuration for batching events into a single delivery. |
| [`CfnSubscriber.FilterConfigurationProperty`](/v2/docs/aws-cdk-lib.aws_eventsv2.CfnSubscriber.FilterConfigurationProperty) | Struct | Configuration for filtering which events are delivered to the target. |
| [`CfnSubscriber.FilterProperty`](/v2/docs/aws-cdk-lib.aws_eventsv2.CfnSubscriber.FilterProperty) | Struct | A single filter entry: an event pattern and the scope of the event it is evaluated against. |
| [`CfnSubscriber.JsonataConfigurationProperty`](/v2/docs/aws-cdk-lib.aws_eventsv2.CfnSubscriber.JsonataConfigurationProperty) | Struct | JSONata transform settings. |
| [`CfnSubscriber.LogConfigurationProperty`](/v2/docs/aws-cdk-lib.aws_eventsv2.CfnSubscriber.LogConfigurationProperty) | Struct | Delivery logging configuration. |
| [`CfnSubscriber.OnFailureConfigurationProperty`](/v2/docs/aws-cdk-lib.aws_eventsv2.CfnSubscriber.OnFailureConfigurationProperty) | Struct | The destination for events that could not be delivered. |
| [`CfnSubscriber.PointInTimeConfigurationProperty`](/v2/docs/aws-cdk-lib.aws_eventsv2.CfnSubscriber.PointInTimeConfigurationProperty) | Struct | The point in time to start delivering events from, used when StartingPosition is POINT_IN_TIME. |
| [`CfnSubscriber.RetryPolicyProperty`](/v2/docs/aws-cdk-lib.aws_eventsv2.CfnSubscriber.RetryPolicyProperty) | Struct | The retry policy for failed deliveries. |
| [`CfnSubscriber.TransformerProperty`](/v2/docs/aws-cdk-lib.aws_eventsv2.CfnSubscriber.TransformerProperty) | Struct | Configuration for transforming events before delivery: the raw payload, the payload with its metadata envelope, or the output of a JSONata expression. |
| [`CfnSubscriberProps`](/v2/docs/aws-cdk-lib.aws_eventsv2.CfnSubscriberProps) | Struct | Properties for defining a `CfnSubscriber`. |
