Skip to content
v2.275.0

AWS::EventsV2 Construct Library ​


cfn-resources: Stable

All classes with the Cfn prefix in this module (CFN Resources) are always stable and safe to use.


This module is part of the AWS Cloud Development Kit project.

ts
import * as events from 'aws-cdk-lib/aws-eventsv2';
python
import aws_cdk.aws_eventsv2 as events
java
import software.amazon.awscdk.services.eventsv2.*;
csharp
using Amazon.CDK.AWS.EventsV2;
go
import events "github.com/aws/aws-cdk-go/awscdk"

There are no official hand-written (L2) constructs for this service yet. Here are some suggestions on how to proceed:

There are no hand-written (L2) constructs for this service yet. However, you can still use the automatically generated L1 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.

(Read the CDK Contributing Guide and submit an RFC if you are interested in contributing to this construct library.)

Types ​

NameKindSummary
CfnEventBusConstruct (L1)Resource type definition for AWS::EventsV2::EventBus, an Amazon EventBridge custom event bus that receives events and delivers them to matching subscribers.
CfnEventSourceConstruct (L1)Resource schema for AWS::EventsV2::EventSource.
CfnResourcePolicyConstruct (L1)Resource type definition for AWS::EventsV2::ResourcePolicy, the resource policy of an Amazon EventBridge event bus.
CfnSubscriberConstruct (L1)Resource type definition for AWS::EventsV2::Subscriber, an Amazon EventBridge subscription that delivers events from an event bus to a target.
CfnEventBus.EncryptionConfigurationPropertyStructEncryption configuration for an event bus.
CfnEventBus.StorageConfigurationPropertyStructStorage (retention) configuration for the event bus.
CfnEventBusPropsStructProperties for defining a CfnEventBus.
CfnEventSource.AwsServiceEventsConfigurationPropertyStructForward a single AWS service's events from the account's default event bus.
CfnEventSource.EventSourceConfigurationPropertyStructEvent source configuration.
CfnEventSource.OnFailureConfigurationPropertyStructThe destination for events that could not be forwarded by the managed forwarding target or, for partner event sources, the managed partner event bus.
CfnEventSource.PartnerEventsConfigurationPropertyStructForward a partner event source's events through a managed partner event bus.
CfnEventSourcePropsStructProperties for defining a CfnEventSource.
CfnResourcePolicyPropsStructProperties for defining a CfnResourcePolicy.
CfnSubscriber.BatchConfigurationPropertyStructConfiguration for batching events into a single delivery.
CfnSubscriber.DeduplicationConfigurationPropertyStructDeduplication settings applied to the forwarded events on the downstream bus.
CfnSubscriber.EventBusV2ParametersPropertyStructParameters for forwarding events to another EventBridge event bus, used when TargetArn is an event bus ARN of the form arn:{partition}:events:{region}:{account}:event-busv2/{name}/{id}.
CfnSubscriber.EventBusV2SystemMetadataPropertyStructCustomer-controllable system metadata attached to each forwarded event.
CfnSubscriber.FilterConfigurationPropertyStructConfiguration for filtering which events are delivered to the target.
CfnSubscriber.FilterPropertyStructA single filter entry: an event pattern and the scope of the event it is evaluated against.
CfnSubscriber.HttpParametersPropertyStructParameters for invoking an HTTP endpoint target, such as an Amazon API Gateway endpoint or an EventBridge API destination.
CfnSubscriber.InvokeConfigurationPropertyStructConfiguration for how the subscriber invokes its target.
CfnSubscriber.JsonataConfigurationPropertyStructJSONata transform settings.
CfnSubscriber.KinesisParametersPropertyStructParameters for writing events to an Amazon Kinesis Data Streams target.
CfnSubscriber.LambdaParametersPropertyStructParameters for invoking an AWS Lambda function target.
CfnSubscriber.LogConfigurationPropertyStructDelivery logging configuration.
CfnSubscriber.MessageAttributeValuePropertyStructA message attribute value and its data type, for Amazon SQS and Amazon SNS targets.
CfnSubscriber.OnFailureConfigurationPropertyStructThe destination for events that could not be delivered.
CfnSubscriber.PointInTimeConfigurationPropertyStructThe point in time to start delivering events from, used when StartingPosition is POINT_IN_TIME.
CfnSubscriber.RetryPolicyPropertyStructThe retry policy for failed deliveries.
CfnSubscriber.SnsParametersPropertyStructParameters for publishing events to an Amazon SNS topic target.
CfnSubscriber.SqsParametersPropertyStructParameters for sending events to an Amazon SQS queue target.
CfnSubscriber.StepFunctionsParametersPropertyStructParameters for starting an AWS Step Functions state machine execution target.
CfnSubscriber.TransformerPropertyStructConfiguration for transforming events before delivery: the raw payload, the payload with its metadata envelope, or the output of a JSONata expression.
CfnSubscriber.UniversalTargetParametersPropertyStructParameters for invoking an AWS service API as a universal service integration target, used when TargetArn has the form arn:{partition}:events:::aws-sdk:{service}:{apiAction}.
CfnSubscriberPropsStructProperties for defining a CfnSubscriber.