interface EventSourceProperty
| Language | Type name | 
|---|---|
|  .NET | Amazon.CDK.AWS.DLM.CfnLifecyclePolicy.EventSourceProperty | 
|  Go | github.com/aws/aws-cdk-go/awscdk/v2/awsdlm#CfnLifecyclePolicy_EventSourceProperty | 
|  Java | software.amazon.awscdk.services.dlm.CfnLifecyclePolicy.EventSourceProperty | 
|  Python | aws_cdk.aws_dlm.CfnLifecyclePolicy.EventSourceProperty | 
|  TypeScript | aws-cdk-lib»aws_dlm»CfnLifecyclePolicy»EventSourceProperty | 
[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 { aws_dlm as dlm } from 'aws-cdk-lib';
const eventSourceProperty: dlm.CfnLifecyclePolicy.EventSourceProperty = {
  type: 'type',
  // the properties below are optional
  parameters: {
    eventType: 'eventType',
    snapshotOwner: ['snapshotOwner'],
    // the properties below are optional
    descriptionRegex: 'descriptionRegex',
  },
};
Properties
| Name | Type | Description | 
|---|---|---|
| type | string | The source of the event. | 
| parameters? | IResolvable | Event | Information about the event. | 
type
Type:
string
The source of the event.
Currently only managed Amazon EventBridge (formerly known as Amazon CloudWatch) events are supported.
parameters?
Type:
IResolvable | Event
(optional)
Information about the event.
