interface EventSourceProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.DLM.CfnLifecyclePolicy.EventSourceProperty |
![]() | software.amazon.awscdk.services.dlm.CfnLifecyclePolicy.EventSourceProperty |
![]() | aws_cdk.aws_dlm.CfnLifecyclePolicy.EventSourceProperty |
![]() | @aws-cdk/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 * as dlm from '@aws-cdk/aws-dlm';
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 CloudWatch Events rules are supported.
parameters?
Type:
IResolvable
|
Event
(optional)
Information about the event.