class Stop
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.SES.Actions.Stop |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awssesactions#Stop |
Java | software.amazon.awscdk.services.ses.actions.Stop |
Python | aws_cdk.aws_ses_actions.Stop |
TypeScript (source) | aws-cdk-lib » aws_ses_actions » Stop |
Implements
IReceipt
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
Stop
Props
Methods
Name | Description |
---|---|
bind(_rule) | Returns the receipt rule action specification. |
bind(_rule)
public bind(_rule: IReceiptRule): ReceiptRuleActionConfig
Parameters
- _rule
IReceipt
Rule
Returns
Returns the receipt rule action specification.