AWS::EventsV2 Construct Library
All classes with the
Cfnprefix 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:
- Search Construct Hub for EventsV2 construct libraries
- Use the automatically generated L1 constructs, in the same way you would use the CloudFormation AWS::EventsV2 resources directly.
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
| Name | Kind | Summary |
|---|---|---|
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 | Construct (L1) | Resource schema for AWS::EventsV2::EventSource. |
CfnResourcePolicy | Construct (L1) | Resource type definition for AWS::EventsV2::ResourcePolicy, the resource policy of an Amazon EventBridge event bus. |
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 | Struct | Encryption configuration for an event bus. |
CfnEventBus.StorageConfigurationProperty | Struct | Storage (retention) configuration for the event bus. |
CfnEventBusProps | Struct | Properties for defining a CfnEventBus. |
CfnEventSource.AwsServiceEventsConfigurationProperty | Struct | Forward a single AWS service's events from the account's default event bus. |
CfnEventSource.EventSourceConfigurationProperty | Struct | Event source configuration. |
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 | Struct | Forward a partner event source's events through a managed partner event bus. |
CfnEventSourceProps | Struct | Properties for defining a CfnEventSource. |
CfnResourcePolicyProps | Struct | Properties for defining a CfnResourcePolicy. |
CfnSubscriber.BatchConfigurationProperty | Struct | Configuration for batching events into a single delivery. |
CfnSubscriber.DeduplicationConfigurationProperty | Struct | Deduplication settings applied to the forwarded events on the downstream bus. |
CfnSubscriber.EventBusV2ParametersProperty | Struct | Parameters 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.EventBusV2SystemMetadataProperty | Struct | Customer-controllable system metadata attached to each forwarded event. |
CfnSubscriber.FilterConfigurationProperty | Struct | Configuration for filtering which events are delivered to the target. |
CfnSubscriber.FilterProperty | Struct | A single filter entry: an event pattern and the scope of the event it is evaluated against. |
CfnSubscriber.HttpParametersProperty | Struct | Parameters for invoking an HTTP endpoint target, such as an Amazon API Gateway endpoint or an EventBridge API destination. |
CfnSubscriber.InvokeConfigurationProperty | Struct | Configuration for how the subscriber invokes its target. |
CfnSubscriber.JsonataConfigurationProperty | Struct | JSONata transform settings. |
CfnSubscriber.KinesisParametersProperty | Struct | Parameters for writing events to an Amazon Kinesis Data Streams target. |
CfnSubscriber.LambdaParametersProperty | Struct | Parameters for invoking an AWS Lambda function target. |
CfnSubscriber.LogConfigurationProperty | Struct | Delivery logging configuration. |
CfnSubscriber.MessageAttributeValueProperty | Struct | A message attribute value and its data type, for Amazon SQS and Amazon SNS targets. |
CfnSubscriber.OnFailureConfigurationProperty | Struct | The destination for events that could not be delivered. |
CfnSubscriber.PointInTimeConfigurationProperty | Struct | The point in time to start delivering events from, used when StartingPosition is POINT_IN_TIME. |
CfnSubscriber.RetryPolicyProperty | Struct | The retry policy for failed deliveries. |
CfnSubscriber.SnsParametersProperty | Struct | Parameters for publishing events to an Amazon SNS topic target. |
CfnSubscriber.SqsParametersProperty | Struct | Parameters for sending events to an Amazon SQS queue target. |
CfnSubscriber.StepFunctionsParametersProperty | Struct | Parameters for starting an AWS Step Functions state machine execution target. |
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. |
CfnSubscriber.UniversalTargetParametersProperty | Struct | Parameters 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}. |
CfnSubscriberProps | Struct | Properties for defining a CfnSubscriber. |