Skip to content

Resource: awsSnsSmsPreferences

Provides a way to set SNS SMS preferences.

Example Usage

/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.snsSmsPreferences.SnsSmsPreferences(this, "update_sms_prefs", {});

Argument Reference

The following arguments are supported:

  • monthlySpendLimit - (Optional) The maximum amount in USD that you are willing to spend each month to send SMS messages.
  • deliveryStatusIamRoleArn - (Optional) The ARN of the IAM role that allows Amazon SNS to write logs about SMS deliveries in CloudWatch Logs.
  • deliveryStatusSuccessSamplingRate - (Optional) The percentage of successful SMS deliveries for which Amazon SNS will write logs in CloudWatch Logs. The value must be between 0 and 100.
  • defaultSenderId - (Optional) A string, such as your business brand, that is displayed as the sender on the receiving device.
  • defaultSmsType - (Optional) The type of SMS message that you will send by default. Possible values are: Promotional, Transactional
  • usageReportS3Bucket - (Optional) The name of the Amazon S3 bucket to receive daily SMS usage reports from Amazon SNS.

Attributes Reference

No additional attributes are exported.