Interface CfnEventSourceMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnEventSourceMixinProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.140.0 (build 79fd58c)",
date="2026-09-30T11:05:09.961Z")
@Stability(Stable)
public interface CfnEventSourceMixinProps
extends software.amazon.jsii.JsiiSerializable
Properties for CfnEventSourcePropsMixin.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.eventsv2.*;
CfnEventSourceMixinProps cfnEventSourceMixinProps = CfnEventSourceMixinProps.builder()
.configuration(EventSourceConfigurationProperty.builder()
.awsServiceEventsConfiguration(AwsServiceEventsConfigurationProperty.builder()
.awsService("awsService")
.onFailureConfiguration(OnFailureConfigurationProperty.builder()
.arn("arn")
.build())
.pattern("pattern")
.build())
.partnerEventsConfiguration(PartnerEventsConfigurationProperty.builder()
.onFailureConfiguration(OnFailureConfigurationProperty.builder()
.arn("arn")
.build())
.partnerBusKmsKeyIdentifier("partnerBusKmsKeyIdentifier")
.partnerEventSourceArn("partnerEventSourceArn")
.pattern("pattern")
.build())
.build())
.description("description")
.eventBusArn("eventBusArn")
.name("name")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnEventSourceMixinPropsstatic final classAn implementation forCfnEventSourceMixinProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectEvent source configuration.default StringA description of the event source.default StringThe ARN of the custom event bus the event source forwards onto.default StringgetName()The name of the event source.getTags()The tags assigned to the event source.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getConfiguration
Event source configuration.Exactly one of the two variants must be set.
Returns union: either
IResolvableorCfnEventSourcePropsMixin.EventSourceConfigurationProperty- See Also:
-
getDescription
A description of the event source.Control characters and Unicode line separators are not allowed.
- See Also:
-
getEventBusArn
The ARN of the custom event bus the event source forwards onto.- See Also:
-
getName
The name of the event source.The first character must be alphanumeric; the remaining characters may also include '.', '-', and '_'. Names cannot begin with the reserved aws. prefix.
- See Also:
-
getTags
The tags assigned to the event source.- See Also:
-
builder
- Returns:
- a
CfnEventSourceMixinProps.BuilderofCfnEventSourceMixinProps
-