Class CfnLifecyclePolicy.EventSourceProperty
[Event-based policies only] Specifies an event that activates an event-based policy.
Inheritance
System.Object
CfnLifecyclePolicy.EventSourceProperty
Implements
Namespace: Amazon.CDK.AWS.DLM
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class EventSourceProperty : Object, CfnLifecyclePolicy.IEventSourceProperty
Syntax (vb)
Public Class EventSourceProperty
Inherits Object
Implements CfnLifecyclePolicy.IEventSourceProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.DLM;
var eventSourceProperty = new EventSourceProperty {
Type = "type",
// the properties below are optional
Parameters = new EventParametersProperty {
EventType = "eventType",
SnapshotOwner = new [] { "snapshotOwner" },
// the properties below are optional
DescriptionRegex = "descriptionRegex"
}
};
Synopsis
Constructors
EventSourceProperty() |
Properties
Parameters | Information about the event. |
Type | The source of the event. |
Constructors
EventSourceProperty()
public EventSourceProperty()
Properties
Parameters
Information about the event.
public object Parameters { get; set; }
Property Value
System.Object
Remarks
Type
The source of the event.
public string Type { get; set; }
Property Value
System.String
Remarks
Currently only managed CloudWatch Events rules are supported.