Skip to content
v2.278.0

SendingOptionsProperty Struct ​

Used to enable or disable email sending for messages that use this configuration set in the current AWS Region.

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 sendingOptionsProperty: ses.CfnConfigurationSet.SendingOptionsProperty = {
  sendingEnabled: false,
};
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

sending_options_property = ses.CfnConfigurationSet.SendingOptionsProperty(
    sending_enabled=False
)
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.*;

SendingOptionsProperty sendingOptionsProperty = SendingOptionsProperty.builder()
        .sendingEnabled(false)
        .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 sendingOptionsProperty = new SendingOptionsProperty {
    SendingEnabled = false
};
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"

sendingOptionsProperty := &SendingOptionsProperty{
	SendingEnabled: jsii.Boolean(false),
}

Properties ​

sendingEnabledoptionalboolean | IResolvablesending_enabledoptionaltyping.Union[bool, IResolvable]sendingEnabledoptionalBooleanSendingEnabledoptionalboolSendingEnabledoptionalinterface{} #
If `true` , email sending is enabled for the configuration set.

If false , email sending is disabled for the configuration set.