Skip to content
v2.278.0

StopActionConfig Struct ​

StopAction configuration.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ses as ses } from 'aws-cdk-lib';
const stopActionConfig: ses.StopActionConfig = {
  scope: 'scope',

  // the properties below are optional
  topicArn: 'topicArn',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_ses as ses

stop_action_config = ses.StopActionConfig(
    scope="scope",

    # the properties below are optional
    topic_arn="topicArn"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ses.*;

StopActionConfig stopActionConfig = StopActionConfig.builder()
        .scope("scope")

        // the properties below are optional
        .topicArn("topicArn")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.SES;

var stopActionConfig = new StopActionConfig {
    Scope = "scope",

    // the properties below are optional
    TopicArn = "topicArn"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

stopActionConfig := &StopActionConfig{
	Scope: jsii.String("scope"),

	// the properties below are optional
	TopicArn: jsii.String("topicArn"),
}

Properties ​

scopestringscopestrscopeStringScopestringScope*string required #
The scope of the StopAction.

The only acceptable value is RuleSet.

topicArnoptionalstringtopic_arnoptionalstrtopicArnoptionalStringTopicArnoptionalstringTopicArnoptional*string #
The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the stop action is taken.

Default: No notification is sent to SNS.