Skip to content
v2.274.0

CfnEventActionProps Struct ​

Properties for defining a CfnEventAction.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_dataexchange as dataexchange } from 'aws-cdk-lib';
const cfnEventActionProps: dataexchange.CfnEventActionProps = {
  action: {
    exportRevisionToS3: {
      revisionDestination: {
        bucket: 'bucket',

        // the properties below are optional
        keyPattern: 'keyPattern',
      },

      // the properties below are optional
      encryption: {
        type: 'type',

        // the properties below are optional
        kmsKeyArn: 'kmsKeyArn',
      },
    },
  },
  event: {
    revisionPublished: {
      dataSetId: 'dataSetId',
    },
  },

  // the properties below are optional
  tags: [{
    key: 'key',
    value: 'value',
  }],
};

Properties ​

actionIResolvable | CfnEventAction.ActionPropertyactiontyping.Union[IResolvable, ActionProperty]actionIResolvableActionIResolvableActioninterface{}required#
What occurs after a certain event.
eventIResolvable | CfnEventAction.EventPropertyeventtyping.Union[IResolvable, EventProperty]eventIResolvableEventIResolvableEventinterface{}required#
What occurs to start an action.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag#
The tags for the event action.