Interface CfnEventSource.PartnerEventsConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnEventSource.PartnerEventsConfigurationProperty.Jsii$Proxy
- Enclosing class:
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.*;
PartnerEventsConfigurationProperty partnerEventsConfigurationProperty = PartnerEventsConfigurationProperty.builder()
.partnerEventSourceArn("partnerEventSourceArn")
// the properties below are optional
.onFailureConfiguration(OnFailureConfigurationProperty.builder()
.arn("arn")
.build())
.partnerBusKmsKeyIdentifier("partnerBusKmsKeyIdentifier")
.pattern("pattern")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnEventSource.PartnerEventsConfigurationPropertystatic final classAn implementation forCfnEventSource.PartnerEventsConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()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 StringThe identifier of the AWS KMS customer managed key for EventBridge to use, if you choose to use a customer managed key to encrypt events on the managed partner event bus.The ARN of the partner event source to forward.default StringA filter pattern, as a JSON string, that defines which events from the specified partner event source are forwarded to the event bus.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getPartnerEventSourceArn
The ARN of the partner event source to forward.The partner owns the event source, so the ARN's account segment is empty. Changing this property replaces the event source. Because Name and EventBusArn together identify an event source, and the replacement is created before the old resource is deleted, change Name in the same update.
- 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:
-
getPartnerBusKmsKeyIdentifier
The identifier of the AWS KMS customer managed key for EventBridge to use, if you choose to use a customer managed key to encrypt events on the managed partner event bus.The identifier can be the key Amazon Resource Name (ARN), KeyId, key alias, or key alias ARN. If you do not specify a customer managed key identifier, EventBridge uses an AWS owned key to encrypt events on the event bus.
- See Also:
-
getPattern
A filter pattern, as a JSON string, that defines which events from the specified partner event source are forwarded to the event bus.If you do not specify a pattern, all events from the partner event source are forwarded.
- See Also:
-
builder
-