interface EventSourceProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.DLM.Mixins.CfnLifecyclePolicyPropsMixin.EventSourceProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsdlm/mixins#CfnLifecyclePolicyPropsMixin_EventSourceProperty |
Java | software.amazon.awscdk.mixins.preview.services.dlm.mixins.CfnLifecyclePolicyPropsMixin.EventSourceProperty |
Python | aws_cdk.mixins_preview.aws_dlm.mixins.CfnLifecyclePolicyPropsMixin.EventSourceProperty |
TypeScript | @aws-cdk/mixins-preview » aws_dlm » mixins » 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 { mixins as dlm_mixins } from '@aws-cdk/mixins-preview/aws-dlm';
const eventSourceProperty: dlm_mixins.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