aws-cdk-lib.aws_ses_actions.Stop

class Stop

LanguageType name
.NETAmazon.CDK.AWS.SES.Actions.Stop
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awssesactions#Stop
Javasoftware.amazon.awscdk.services.ses.actions.Stop
Pythonaws_cdk.aws_ses_actions.Stop
TypeScript (source)aws-cdk-lib » aws_ses_actions » Stop

Implements IReceiptRuleAction

Terminates the evaluation of the receipt rule set and optionally publishes a notification to Amazon SNS.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ses_actions as ses_actions } from 'aws-cdk-lib';
import { aws_sns as sns } from 'aws-cdk-lib';

declare const topic: sns.Topic;
const stop = new ses_actions.Stop(/* all optional props */ {
  topic: topic,
});

Initializer

new Stop(props?: StopProps)

Parameters

  • props StopProps

Methods

NameDescription
bind(_rule)Returns the receipt rule action specification.

bind(_rule)

public bind(_rule: IReceiptRule): ReceiptRuleActionConfig

Parameters

  • _rule IReceiptRule

Returns

  • ReceiptRuleActionConfig

Returns the receipt rule action specification.