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:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnEventSource.EventSourceConfigurationPropertystatic final classAn implementation forCfnEventSource.EventSourceConfigurationProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAwsServiceEventsConfiguration
Forward a single AWS service's events from the account's default event bus.Returns union: either
IResolvableorCfnEventSource.AwsServiceEventsConfigurationProperty- See Also:
-
getPartnerEventsConfiguration
Forward a partner event source's events through a managed partner event bus.Returns union: either
IResolvableorCfnEventSource.PartnerEventsConfigurationProperty- See Also:
-
builder
-