Interface CfnLifecyclePolicy.IEventSourceProperty
[Event-based policies only] Specifies an event that activates an event-based policy.
Namespace: Amazon.CDK.AWS.DLM
Assembly: Amazon.CDK.AWS.DLM.dll
Syntax (csharp)
public interface IEventSourceProperty
Syntax (vb)
Public Interface 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
Properties
Parameters | Information about the event. |
Type | The source of the event. |
Properties
Parameters
Information about the event.
virtual object Parameters { get; }
Property Value
System.Object
Remarks
Type
The source of the event.
string Type { get; }
Property Value
System.String
Remarks
Currently only managed CloudWatch Events rules are supported.