interface EventSourceConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.EventsV2.CfnEventSource.EventSourceConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awseventsv2#CfnEventSource_EventSourceConfigurationProperty |
Java | software.amazon.awscdk.services.eventsv2.CfnEventSource.EventSourceConfigurationProperty |
Python | aws_cdk.aws_eventsv2.CfnEventSource.EventSourceConfigurationProperty |
TypeScript | aws-cdk-lib » aws_eventsv2 » CfnEventSource » EventSourceConfigurationProperty |
Event source configuration.
Exactly one of the two variants must be set.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_eventsv2 as eventsv2 } from 'aws-cdk-lib';
const eventSourceConfigurationProperty: eventsv2.CfnEventSource.EventSourceConfigurationProperty = {
awsServiceEventsConfiguration: {
awsService: 'awsService',
// the properties below are optional
onFailureConfiguration: {
arn: 'arn',
},
pattern: 'pattern',
},
partnerEventsConfiguration: {
partnerEventSourceArn: 'partnerEventSourceArn',
// the properties below are optional
onFailureConfiguration: {
arn: 'arn',
},
partnerBusKmsKeyIdentifier: 'partnerBusKmsKeyIdentifier',
pattern: 'pattern',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| aws | IResolvable | Aws | Forward a single AWS service's events from the account's default event bus. |
| partner | IResolvable | Partner | Forward a partner event source's events through a managed partner event bus. |
awsServiceEventsConfiguration?
Type:
IResolvable | Aws
(optional)
Forward a single AWS service's events from the account's default event bus.
partnerEventsConfiguration?
Type:
IResolvable | Partner
(optional)
Forward a partner event source's events through a managed partner event bus.

.NET
Go
Java
Python
TypeScript