import * as core from "@terrascript/core"; export interface SmsPreferencesArgs extends core.ResourceArgs { /** * (Optional) A string, such as your business brand, that is displayed as the sender on the receiving d * evice. */ defaultSenderId?: string | core.StringOut; /** * (Optional) The type of SMS message that you will send by default. Possible values are: Promotional, * Transactional */ defaultSmsType?: string | core.StringOut; /** * (Optional) The ARN of the IAM role that allows Amazon SNS to write logs about SMS deliveries in Clou * dWatch Logs. */ deliveryStatusIamRoleArn?: string | core.StringOut; /** * (Optional) The percentage of successful SMS deliveries for which Amazon SNS will write logs in Cloud * Watch Logs. The value must be between 0 and 100. */ deliveryStatusSuccessSamplingRate?: string | core.StringOut; /** * (Optional) The maximum amount in USD that you are willing to spend each month to send SMS messages. */ monthlySpendLimit?: number | core.NumberOut; /** * (Optional) The name of the Amazon S3 bucket to receive daily SMS usage reports from Amazon SNS. */ usageReportS3Bucket?: string | core.StringOut; } export class SmsPreferences extends core.Resource { /** * (Optional) A string, such as your business brand, that is displayed as the sender on the receiving d * evice. */ @core.attr(String) public defaultSenderId?: string | core.StringOut; /** * (Optional) The type of SMS message that you will send by default. Possible values are: Promotional, * Transactional */ @core.attr(String) public defaultSmsType?: string | core.StringOut; /** * (Optional) The ARN of the IAM role that allows Amazon SNS to write logs about SMS deliveries in Clou * dWatch Logs. */ @core.attr(String) public deliveryStatusIamRoleArn?: string | core.StringOut; /** * (Optional) The percentage of successful SMS deliveries for which Amazon SNS will write logs in Cloud * Watch Logs. The value must be between 0 and 100. */ @core.attr(String) public deliveryStatusSuccessSamplingRate?: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Optional) The maximum amount in USD that you are willing to spend each month to send SMS messages. */ @core.attr(Number, { computed: true }) public monthlySpendLimit?: number | core.NumberOut; /** * (Optional) The name of the Amazon S3 bucket to receive daily SMS usage reports from Amazon SNS. */ @core.attr(String) public usageReportS3Bucket?: string | core.StringOut; constructor(name: string, args?: SmsPreferencesArgs) { super(name, "aws_sns_sms_preferences", args); } public override getNamespace(): string { return "aws_sns"; } }