Interface CfnEventSource.EventSourceConfigurationProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnEventSource.EventSourceConfigurationProperty.Jsii$Proxy
Enclosing class:
CfnEventSource

@Stability(Stable) public static interface CfnEventSource.EventSourceConfigurationProperty extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.eventsv2.*;
 EventSourceConfigurationProperty eventSourceConfigurationProperty = 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();
 

See Also: