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