aws-cdk-lib.aws_dlm.CfnLifecyclePolicy.EventSourceProperty

interface EventSourceProperty

LanguageType name
.NETAmazon.CDK.AWS.DLM.CfnLifecyclePolicy.EventSourceProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsdlm#CfnLifecyclePolicy_EventSourceProperty
Javasoftware.amazon.awscdk.services.dlm.CfnLifecyclePolicy.EventSourceProperty
Pythonaws_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

NameTypeDescription
typestringThe source of the event.
parameters?IResolvable | EventParametersPropertyInformation about the event.

type

Type: string

The source of the event.

Currently only managed CloudWatch Events rules are supported.


parameters?

Type: IResolvable | EventParametersProperty (optional)

Information about the event.