import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Manages an End User Messaging SMS Sender ID. * * ## Example Usage * * ### Basic Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = new aws.pinpoint.Smsvoicev2SenderId("example", { * senderId: "MYCOMPANY", * isoCountryCode: "GB", * messageTypes: ["TRANSACTIONAL"], * }); * ``` * * ### With Deletion Protection * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = new aws.pinpoint.Smsvoicev2SenderId("example", { * senderId: "MYCOMPANY", * isoCountryCode: "GB", * messageTypes: ["TRANSACTIONAL"], * deletionProtectionEnabled: true, * }); * ``` * * ## Import * * ### Identity Schema * * #### Required * * * `senderId` (String) Sender ID. * * `isoCountryCode` (String) Two-character code, in ISO 3166-1 alpha-2 format, for the country or region. * * #### Optional * * * `accountId` (String) AWS Account where this resource is managed. * * `region` (String) Region where this resource is managed. * * Using `pulumi import`, import an End User Messaging SMS Sender ID using the `senderId` and `isoCountryCode`, separated by a comma. For example: * * ```sh * $ pulumi import aws:pinpoint/smsvoicev2SenderId:Smsvoicev2SenderId example "MYSENDERID,US" * ``` */ export declare class Smsvoicev2SenderId extends pulumi.CustomResource { /** * Get an existing Smsvoicev2SenderId resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: Smsvoicev2SenderIdState, opts?: pulumi.CustomResourceOptions): Smsvoicev2SenderId; /** * Returns true if the given object is an instance of Smsvoicev2SenderId. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Smsvoicev2SenderId; /** * ARN of the sender ID. */ readonly arn: pulumi.Output; /** * Whether deletion protection is enabled. When set to `true`, the sender ID cannot be deleted. Defaults to `false`. */ readonly deletionProtectionEnabled: pulumi.Output; /** * Two-character code, in ISO 3166-1 alpha-2 format, for the country or region. */ readonly isoCountryCode: pulumi.Output; /** * Type of message. Valid values are `TRANSACTIONAL` and `PROMOTIONAL`. Defaults to `["TRANSACTIONAL"]` if not specified. */ readonly messageTypes: pulumi.Output; /** * Monthly leasing price, in US dollars. */ readonly monthlyLeasingPrice: pulumi.Output; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ readonly region: pulumi.Output; /** * Whether the sender ID is registered. */ readonly registered: pulumi.Output; /** * Unique identifier for the registration. */ readonly registrationId: pulumi.Output; /** * Alphanumeric sender ID to request. Must be between 3 and 11 characters long, contain only upper case letters, numbers, and dashes, and cannot be numeric-only. AWS stores sender IDs in upper case, so upper case is required here to keep configuration, state, and resource identity consistent. * * The following arguments are optional: */ readonly senderId: pulumi.Output; /** * Map of tags assigned to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. */ readonly tagsAll: pulumi.Output<{ [key: string]: string; }>; readonly timeouts: pulumi.Output; /** * Create a Smsvoicev2SenderId resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: Smsvoicev2SenderIdArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Smsvoicev2SenderId resources. */ export interface Smsvoicev2SenderIdState { /** * ARN of the sender ID. */ arn?: pulumi.Input; /** * Whether deletion protection is enabled. When set to `true`, the sender ID cannot be deleted. Defaults to `false`. */ deletionProtectionEnabled?: pulumi.Input; /** * Two-character code, in ISO 3166-1 alpha-2 format, for the country or region. */ isoCountryCode?: pulumi.Input; /** * Type of message. Valid values are `TRANSACTIONAL` and `PROMOTIONAL`. Defaults to `["TRANSACTIONAL"]` if not specified. */ messageTypes?: pulumi.Input[] | undefined>; /** * Monthly leasing price, in US dollars. */ monthlyLeasingPrice?: pulumi.Input; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: pulumi.Input; /** * Whether the sender ID is registered. */ registered?: pulumi.Input; /** * Unique identifier for the registration. */ registrationId?: pulumi.Input; /** * Alphanumeric sender ID to request. Must be between 3 and 11 characters long, contain only upper case letters, numbers, and dashes, and cannot be numeric-only. AWS stores sender IDs in upper case, so upper case is required here to keep configuration, state, and resource identity consistent. * * The following arguments are optional: */ senderId?: pulumi.Input; /** * Map of tags assigned to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. */ tagsAll?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; timeouts?: pulumi.Input; } /** * The set of arguments for constructing a Smsvoicev2SenderId resource. */ export interface Smsvoicev2SenderIdArgs { /** * Whether deletion protection is enabled. When set to `true`, the sender ID cannot be deleted. Defaults to `false`. */ deletionProtectionEnabled?: pulumi.Input; /** * Two-character code, in ISO 3166-1 alpha-2 format, for the country or region. */ isoCountryCode: pulumi.Input; /** * Type of message. Valid values are `TRANSACTIONAL` and `PROMOTIONAL`. Defaults to `["TRANSACTIONAL"]` if not specified. */ messageTypes?: pulumi.Input[] | undefined>; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: pulumi.Input; /** * Alphanumeric sender ID to request. Must be between 3 and 11 characters long, contain only upper case letters, numbers, and dashes, and cannot be numeric-only. AWS stores sender IDs in upper case, so upper case is required here to keep configuration, state, and resource identity consistent. * * The following arguments are optional: */ senderId: pulumi.Input; /** * Map of tags assigned to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; timeouts?: pulumi.Input; } //# sourceMappingURL=smsvoicev2SenderId.d.ts.map