class Stop
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.SES.Actions.Stop |
![]() | software.amazon.awscdk.services.ses.actions.Stop |
![]() | aws_cdk.aws_ses_actions.Stop |
![]() | @aws-cdk/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 * as ses_actions from '@aws-cdk/aws-ses-actions';
import * as sns from '@aws-cdk/aws-sns';
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.