Interface CfnEventSource.AwsServiceEventsConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnEventSource.AwsServiceEventsConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnEventSource
@Stability(Stable)
public static interface CfnEventSource.AwsServiceEventsConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Forward a single AWS service's events from the account's default event bus.
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.*;
AwsServiceEventsConfigurationProperty awsServiceEventsConfigurationProperty = AwsServiceEventsConfigurationProperty.builder()
.awsService("awsService")
// the properties below are optional
.onFailureConfiguration(OnFailureConfigurationProperty.builder()
.arn("arn")
.build())
.pattern("pattern")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnEventSource.AwsServiceEventsConfigurationPropertystatic final classAn implementation forCfnEventSource.AwsServiceEventsConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()A single AWS service source identifier, for example aws.s3.default ObjectThe destination for events that could not be forwarded by the managed forwarding target or, for partner event sources, the managed partner event bus.default StringA filter pattern, as a JSON string, that defines which events from the specified AWS service are forwarded to the event bus.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAwsService
A single AWS service source identifier, for example aws.s3. Wildcards and lists are not allowed.- See Also:
-
getOnFailureConfiguration
The destination for events that could not be forwarded by the managed forwarding target or, for partner event sources, the managed partner event bus.Arn is optional. An empty object removes a configured destination on update.
Returns union: either
IResolvableorCfnEventSource.OnFailureConfigurationProperty- See Also:
-
getPattern
A filter pattern, as a JSON string, that defines which events from the specified AWS service are forwarded to the event bus.Do not include source, account, or region as top-level fields. If you do not specify a pattern, all events from the service are forwarded.
- See Also:
-
builder
-