Interface CfnEventSourceProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnEventSourceProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.140.0 (build 79fd58c)", date="2026-09-30T11:04:52.403Z") @Stability(Stable) public interface CfnEventSourceProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnEventSource.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.eventsv2.*;
 CfnEventSourceProps cfnEventSourceProps = CfnEventSourceProps.builder()
         .configuration(EventSourceConfigurationProperty.builder()
                 .awsServiceEventsConfiguration(AwsServiceEventsConfigurationProperty.builder()
                         .awsService("awsService")
                         // the properties below are optional
                         .onFailureConfiguration(OnFailureConfigurationProperty.builder()
                                 .arn("arn")
                                 .build())
                         .pattern("pattern")
                         .build())
                 .partnerEventsConfiguration(PartnerEventsConfigurationProperty.builder()
                         .partnerEventSourceArn("partnerEventSourceArn")
                         // the properties below are optional
                         .onFailureConfiguration(OnFailureConfigurationProperty.builder()
                                 .arn("arn")
                                 .build())
                         .partnerBusKmsKeyIdentifier("partnerBusKmsKeyIdentifier")
                         .pattern("pattern")
                         .build())
                 .build())
         .eventBusArn("eventBusArn")
         .name("name")
         // the properties below are optional
         .description("description")
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 

See Also: