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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnLifecyclePolicy.EventSourceProperty
static final class
An 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 CloudWatch Events rules are supported.
- See Also:
-
getParameters
Information about the event.- See Also:
-
builder
-