Interface CfnLifecyclePolicy.EventSourceProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnLifecyclePolicy.EventSourceProperty.Jsii$Proxy
- Enclosing class:
CfnLifecyclePolicy
@Stability(Stable)
public static interface CfnLifecyclePolicy.EventSourceProperty
extends software.amazon.jsii.JsiiSerializable
[Event-based policies only] Specifies an event that activates an event-based policy.
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.dlm.*;
EventSourceProperty eventSourceProperty = EventSourceProperty.builder()
.type("type")
// the properties below are optional
.parameters(EventParametersProperty.builder()
.eventType("eventType")
.snapshotOwner(List.of("snapshotOwner"))
// the properties below are optional
.descriptionRegex("descriptionRegex")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnLifecyclePolicy.EventSourcePropertystatic final classAn implementation forCfnLifecyclePolicy.EventSourceProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getType
The source of the event.Currently only managed Amazon EventBridge (formerly known as Amazon CloudWatch) events are supported.
- See Also:
-
getParameters
Information about the event.Returns union: either
IResolvableorCfnLifecyclePolicy.EventParametersProperty- See Also:
-
builder
-