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

.NET
Go
Java
Python
TypeScript