Sms Preferences Args
data class SmsPreferencesArgs(val defaultSenderId: Output<String>? = null, val defaultSmsType: Output<String>? = null, val deliveryStatusIamRoleArn: Output<String>? = null, val deliveryStatusSuccessSamplingRate: Output<String>? = null, val monthlySpendLimit: Output<Int>? = null, val usageReportS3Bucket: Output<String>? = null) : ConvertibleToJava<SmsPreferencesArgs>
Provides a way to set SNS SMS preferences.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const updateSmsPrefs = new aws.sns.SmsPreferences("update_sms_prefs", {});
Content copied to clipboard
import pulumi
import pulumi_aws as aws
update_sms_prefs = aws.sns.SmsPreferences("update_sms_prefs")
Content copied to clipboard
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var updateSmsPrefs = new Aws.Sns.SmsPreferences("update_sms_prefs");
});
Content copied to clipboard
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/sns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := sns.NewSmsPreferences(ctx, "update_sms_prefs", nil)
if err != nil {
return err
}
return nil
})
}
Content copied to clipboard
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.sns.SmsPreferences;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var updateSmsPrefs = new SmsPreferences("updateSmsPrefs");
}
}
Content copied to clipboard
resources:
updateSmsPrefs:
type: aws:sns:SmsPreferences
name: update_sms_prefs
Content copied to clipboard
Import
You cannot import the SMS preferences.
Properties
Link copied to clipboard
A string, such as your business brand, that is displayed as the sender on the receiving device.
Link copied to clipboard
The type of SMS message that you will send by default. Possible values are: Promotional, Transactional
Link copied to clipboard
The ARN of the IAM role that allows Amazon SNS to write logs about SMS deliveries in CloudWatch Logs.
Link copied to clipboard
The percentage of successful SMS deliveries for which Amazon SNS will write logs in CloudWatch Logs. The value must be between 0 and 100.
Link copied to clipboard
The maximum amount in USD that you are willing to spend each month to send SMS messages.
Link copied to clipboard
The name of the Amazon S3 bucket to receive daily SMS usage reports from Amazon SNS.