published on Thursday, Jul 23, 2026 by Pulumi
published on Thursday, Jul 23, 2026 by Pulumi
Manages an AWS End User Messaging SMS Pool.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.pinpoint.Smsvoicev2PhoneNumber("example", {
isoCountryCode: "US",
messageType: "TRANSACTIONAL",
numberType: "SIMULATOR",
numberCapabilities: ["SMS"],
});
const exampleSmsvoicev2Pool = new aws.pinpoint.Smsvoicev2Pool("example", {
isoCountryCode: "US",
messageType: "TRANSACTIONAL",
originationIdentities: [example.arn],
tags: {
Name: "example",
},
});
import pulumi
import pulumi_aws as aws
example = aws.pinpoint.Smsvoicev2PhoneNumber("example",
iso_country_code="US",
message_type="TRANSACTIONAL",
number_type="SIMULATOR",
number_capabilities=["SMS"])
example_smsvoicev2_pool = aws.pinpoint.Smsvoicev2Pool("example",
iso_country_code="US",
message_type="TRANSACTIONAL",
origination_identities=[example.arn],
tags={
"Name": "example",
})
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/pinpoint"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := pinpoint.NewSmsvoicev2PhoneNumber(ctx, "example", &pinpoint.Smsvoicev2PhoneNumberArgs{
IsoCountryCode: pulumi.String("US"),
MessageType: pulumi.String("TRANSACTIONAL"),
NumberType: pulumi.String("SIMULATOR"),
NumberCapabilities: pulumi.StringArray{
pulumi.String("SMS"),
},
})
if err != nil {
return err
}
_, err = pinpoint.NewSmsvoicev2Pool(ctx, "example", &pinpoint.Smsvoicev2PoolArgs{
IsoCountryCode: pulumi.String("US"),
MessageType: pulumi.String("TRANSACTIONAL"),
OriginationIdentities: pulumi.StringArray{
example.Arn,
},
Tags: pulumi.StringMap{
"Name": pulumi.String("example"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.Pinpoint.Smsvoicev2PhoneNumber("example", new()
{
IsoCountryCode = "US",
MessageType = "TRANSACTIONAL",
NumberType = "SIMULATOR",
NumberCapabilities = new[]
{
"SMS",
},
});
var exampleSmsvoicev2Pool = new Aws.Pinpoint.Smsvoicev2Pool("example", new()
{
IsoCountryCode = "US",
MessageType = "TRANSACTIONAL",
OriginationIdentities = new[]
{
example.Arn,
},
Tags =
{
{ "Name", "example" },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.pinpoint.Smsvoicev2PhoneNumber;
import com.pulumi.aws.pinpoint.Smsvoicev2PhoneNumberArgs;
import com.pulumi.aws.pinpoint.Smsvoicev2Pool;
import com.pulumi.aws.pinpoint.Smsvoicev2PoolArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 example = new Smsvoicev2PhoneNumber("example", Smsvoicev2PhoneNumberArgs.builder()
.isoCountryCode("US")
.messageType("TRANSACTIONAL")
.numberType("SIMULATOR")
.numberCapabilities("SMS")
.build());
var exampleSmsvoicev2Pool = new Smsvoicev2Pool("exampleSmsvoicev2Pool", Smsvoicev2PoolArgs.builder()
.isoCountryCode("US")
.messageType("TRANSACTIONAL")
.originationIdentities(example.arn())
.tags(Map.of("Name", "example"))
.build());
}
}
resources:
example:
type: aws:pinpoint:Smsvoicev2PhoneNumber
properties:
isoCountryCode: US
messageType: TRANSACTIONAL
numberType: SIMULATOR
numberCapabilities:
- SMS
exampleSmsvoicev2Pool:
type: aws:pinpoint:Smsvoicev2Pool
name: example
properties:
isoCountryCode: US
messageType: TRANSACTIONAL
originationIdentities:
- ${example.arn}
tags:
Name: example
pulumi {
required_providers {
aws = {
source = "pulumi/aws"
}
}
}
resource "aws_pinpoint_smsvoicev2phonenumber" "example" {
iso_country_code = "US"
message_type = "TRANSACTIONAL"
number_type = "SIMULATOR"
number_capabilities = ["SMS"]
}
resource "aws_pinpoint_smsvoicev2pool" "example" {
iso_country_code = "US"
message_type = "TRANSACTIONAL"
origination_identities = [aws_pinpoint_smsvoicev2phonenumber.example.arn]
tags = {
"Name" = "example"
}
}
Two-Way Channel
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.sns.Topic("example", {name: "example-two-way-channel"});
const exampleRole = new aws.iam.Role("example", {
name: "example-pool-two-way",
assumeRolePolicy: JSON.stringify({
Version: "2012-10-17",
Statement: [{
Effect: "Allow",
Principal: {
Service: "sms-voice.amazonaws.com",
},
Action: "sts:AssumeRole",
}],
}),
});
const exampleSmsvoicev2PhoneNumber = new aws.pinpoint.Smsvoicev2PhoneNumber("example", {
isoCountryCode: "US",
messageType: "TRANSACTIONAL",
numberType: "SIMULATOR",
numberCapabilities: ["SMS"],
});
const exampleSmsvoicev2Pool = new aws.pinpoint.Smsvoicev2Pool("example", {
isoCountryCode: "US",
messageType: "TRANSACTIONAL",
originationIdentities: [exampleSmsvoicev2PhoneNumber.arn],
twoWayEnabled: true,
twoWayChannelArn: example.arn,
twoWayChannelRole: exampleRole.arn,
tags: {
Name: "example",
},
});
import pulumi
import json
import pulumi_aws as aws
example = aws.sns.Topic("example", name="example-two-way-channel")
example_role = aws.iam.Role("example",
name="example-pool-two-way",
assume_role_policy=json.dumps({
"Version": "2012-10-17",
"Statement": [{
"Effect": "Allow",
"Principal": {
"Service": "sms-voice.amazonaws.com",
},
"Action": "sts:AssumeRole",
}],
}))
example_smsvoicev2_phone_number = aws.pinpoint.Smsvoicev2PhoneNumber("example",
iso_country_code="US",
message_type="TRANSACTIONAL",
number_type="SIMULATOR",
number_capabilities=["SMS"])
example_smsvoicev2_pool = aws.pinpoint.Smsvoicev2Pool("example",
iso_country_code="US",
message_type="TRANSACTIONAL",
origination_identities=[example_smsvoicev2_phone_number.arn],
two_way_enabled=True,
two_way_channel_arn=example.arn,
two_way_channel_role=example_role.arn,
tags={
"Name": "example",
})
package main
import (
"encoding/json"
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/iam"
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/pinpoint"
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/sns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := sns.NewTopic(ctx, "example", &sns.TopicArgs{
Name: pulumi.String("example-two-way-channel"),
})
if err != nil {
return err
}
tmpJSON0, err := json.Marshal(map[string]interface{}{
"Version": "2012-10-17",
"Statement": []map[string]interface{}{
map[string]interface{}{
"Effect": "Allow",
"Principal": map[string]interface{}{
"Service": "sms-voice.amazonaws.com",
},
"Action": "sts:AssumeRole",
},
},
})
if err != nil {
return err
}
json0 := string(tmpJSON0)
exampleRole, err := iam.NewRole(ctx, "example", &iam.RoleArgs{
Name: pulumi.String("example-pool-two-way"),
AssumeRolePolicy: pulumi.String(json0),
})
if err != nil {
return err
}
exampleSmsvoicev2PhoneNumber, err := pinpoint.NewSmsvoicev2PhoneNumber(ctx, "example", &pinpoint.Smsvoicev2PhoneNumberArgs{
IsoCountryCode: pulumi.String("US"),
MessageType: pulumi.String("TRANSACTIONAL"),
NumberType: pulumi.String("SIMULATOR"),
NumberCapabilities: pulumi.StringArray{
pulumi.String("SMS"),
},
})
if err != nil {
return err
}
_, err = pinpoint.NewSmsvoicev2Pool(ctx, "example", &pinpoint.Smsvoicev2PoolArgs{
IsoCountryCode: pulumi.String("US"),
MessageType: pulumi.String("TRANSACTIONAL"),
OriginationIdentities: pulumi.StringArray{
exampleSmsvoicev2PhoneNumber.Arn,
},
TwoWayEnabled: pulumi.Bool(true),
TwoWayChannelArn: example.Arn,
TwoWayChannelRole: exampleRole.Arn,
Tags: pulumi.StringMap{
"Name": pulumi.String("example"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using System.Text.Json;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.Sns.Topic("example", new()
{
Name = "example-two-way-channel",
});
var exampleRole = new Aws.Iam.Role("example", new()
{
Name = "example-pool-two-way",
AssumeRolePolicy = JsonSerializer.Serialize(new Dictionary<string, object?>
{
["Version"] = "2012-10-17",
["Statement"] = new[]
{
new Dictionary<string, object?>
{
["Effect"] = "Allow",
["Principal"] = new Dictionary<string, object?>
{
["Service"] = "sms-voice.amazonaws.com",
},
["Action"] = "sts:AssumeRole",
},
},
}),
});
var exampleSmsvoicev2PhoneNumber = new Aws.Pinpoint.Smsvoicev2PhoneNumber("example", new()
{
IsoCountryCode = "US",
MessageType = "TRANSACTIONAL",
NumberType = "SIMULATOR",
NumberCapabilities = new[]
{
"SMS",
},
});
var exampleSmsvoicev2Pool = new Aws.Pinpoint.Smsvoicev2Pool("example", new()
{
IsoCountryCode = "US",
MessageType = "TRANSACTIONAL",
OriginationIdentities = new[]
{
exampleSmsvoicev2PhoneNumber.Arn,
},
TwoWayEnabled = true,
TwoWayChannelArn = example.Arn,
TwoWayChannelRole = exampleRole.Arn,
Tags =
{
{ "Name", "example" },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.sns.Topic;
import com.pulumi.aws.sns.TopicArgs;
import com.pulumi.aws.iam.Role;
import com.pulumi.aws.iam.RoleArgs;
import com.pulumi.aws.pinpoint.Smsvoicev2PhoneNumber;
import com.pulumi.aws.pinpoint.Smsvoicev2PhoneNumberArgs;
import com.pulumi.aws.pinpoint.Smsvoicev2Pool;
import com.pulumi.aws.pinpoint.Smsvoicev2PoolArgs;
import static com.pulumi.codegen.internal.Serialization.*;
import java.util.ArrayList;
import java.util.Arrays;
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 example = new Topic("example", TopicArgs.builder()
.name("example-two-way-channel")
.build());
var exampleRole = new Role("exampleRole", RoleArgs.builder()
.name("example-pool-two-way")
.assumeRolePolicy(serializeJson(
jsonObject(
jsonProperty("Version", "2012-10-17"),
jsonProperty("Statement", jsonArray(jsonObject(
jsonProperty("Effect", "Allow"),
jsonProperty("Principal", jsonObject(
jsonProperty("Service", "sms-voice.amazonaws.com")
)),
jsonProperty("Action", "sts:AssumeRole")
)))
)))
.build());
var exampleSmsvoicev2PhoneNumber = new Smsvoicev2PhoneNumber("exampleSmsvoicev2PhoneNumber", Smsvoicev2PhoneNumberArgs.builder()
.isoCountryCode("US")
.messageType("TRANSACTIONAL")
.numberType("SIMULATOR")
.numberCapabilities("SMS")
.build());
var exampleSmsvoicev2Pool = new Smsvoicev2Pool("exampleSmsvoicev2Pool", Smsvoicev2PoolArgs.builder()
.isoCountryCode("US")
.messageType("TRANSACTIONAL")
.originationIdentities(exampleSmsvoicev2PhoneNumber.arn())
.twoWayEnabled(true)
.twoWayChannelArn(example.arn())
.twoWayChannelRole(exampleRole.arn())
.tags(Map.of("Name", "example"))
.build());
}
}
resources:
example:
type: aws:sns:Topic
properties:
name: example-two-way-channel
exampleRole:
type: aws:iam:Role
name: example
properties:
name: example-pool-two-way
assumeRolePolicy:
fn::toJSON:
Version: 2012-10-17
Statement:
- Effect: Allow
Principal:
Service: sms-voice.amazonaws.com
Action: sts:AssumeRole
exampleSmsvoicev2PhoneNumber:
type: aws:pinpoint:Smsvoicev2PhoneNumber
name: example
properties:
isoCountryCode: US
messageType: TRANSACTIONAL
numberType: SIMULATOR
numberCapabilities:
- SMS
exampleSmsvoicev2Pool:
type: aws:pinpoint:Smsvoicev2Pool
name: example
properties:
isoCountryCode: US
messageType: TRANSACTIONAL
originationIdentities:
- ${exampleSmsvoicev2PhoneNumber.arn}
twoWayEnabled: true
twoWayChannelArn: ${example.arn}
twoWayChannelRole: ${exampleRole.arn}
tags:
Name: example
pulumi {
required_providers {
aws = {
source = "pulumi/aws"
}
}
}
resource "aws_sns_topic" "example" {
name = "example-two-way-channel"
}
resource "aws_iam_role" "example" {
name = "example-pool-two-way"
assume_role_policy = jsonencode({
"Version" = "2012-10-17"
"Statement" = [{
"Effect" = "Allow"
"Principal" = {
"Service" = "sms-voice.amazonaws.com"
}
"Action" = "sts:AssumeRole"
}]
})
}
resource "aws_pinpoint_smsvoicev2phonenumber" "example" {
iso_country_code = "US"
message_type = "TRANSACTIONAL"
number_type = "SIMULATOR"
number_capabilities = ["SMS"]
}
resource "aws_pinpoint_smsvoicev2pool" "example" {
iso_country_code = "US"
message_type = "TRANSACTIONAL"
origination_identities = [aws_pinpoint_smsvoicev2phonenumber.example.arn]
two_way_enabled = true
two_way_channel_arn = aws_sns_topic.example.arn
two_way_channel_role = aws_iam_role.example.arn
tags = {
"Name" = "example"
}
}
Create Smsvoicev2Pool Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Smsvoicev2Pool(name: string, args: Smsvoicev2PoolArgs, opts?: CustomResourceOptions);@overload
def Smsvoicev2Pool(resource_name: str,
args: Smsvoicev2PoolArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Smsvoicev2Pool(resource_name: str,
opts: Optional[ResourceOptions] = None,
message_type: Optional[str] = None,
origination_identities: Optional[Sequence[str]] = None,
self_managed_opt_outs_enabled: Optional[bool] = None,
opt_out_list_name: Optional[str] = None,
iso_country_code: Optional[str] = None,
region: Optional[str] = None,
deletion_protection_enabled: Optional[bool] = None,
shared_routes_enabled: Optional[bool] = None,
tags: Optional[Mapping[str, str]] = None,
timeouts: Optional[Smsvoicev2PoolTimeoutsArgs] = None,
two_way_channel_arn: Optional[str] = None,
two_way_channel_role: Optional[str] = None,
two_way_enabled: Optional[bool] = None)func NewSmsvoicev2Pool(ctx *Context, name string, args Smsvoicev2PoolArgs, opts ...ResourceOption) (*Smsvoicev2Pool, error)public Smsvoicev2Pool(string name, Smsvoicev2PoolArgs args, CustomResourceOptions? opts = null)
public Smsvoicev2Pool(String name, Smsvoicev2PoolArgs args)
public Smsvoicev2Pool(String name, Smsvoicev2PoolArgs args, CustomResourceOptions options)
type: aws:pinpoint:Smsvoicev2Pool
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws_pinpoint_smsvoicev2_pool" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args Smsvoicev2PoolArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args Smsvoicev2PoolArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args Smsvoicev2PoolArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args Smsvoicev2PoolArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args Smsvoicev2PoolArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var smsvoicev2PoolResource = new Aws.Pinpoint.Smsvoicev2Pool("smsvoicev2PoolResource", new()
{
MessageType = "string",
OriginationIdentities = new[]
{
"string",
},
SelfManagedOptOutsEnabled = false,
OptOutListName = "string",
IsoCountryCode = "string",
Region = "string",
DeletionProtectionEnabled = false,
SharedRoutesEnabled = false,
Tags =
{
{ "string", "string" },
},
Timeouts = new Aws.Pinpoint.Inputs.Smsvoicev2PoolTimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
TwoWayChannelArn = "string",
TwoWayChannelRole = "string",
TwoWayEnabled = false,
});
example, err := pinpoint.NewSmsvoicev2Pool(ctx, "smsvoicev2PoolResource", &pinpoint.Smsvoicev2PoolArgs{
MessageType: pulumi.String("string"),
OriginationIdentities: pulumi.StringArray{
pulumi.String("string"),
},
SelfManagedOptOutsEnabled: pulumi.Bool(false),
OptOutListName: pulumi.String("string"),
IsoCountryCode: pulumi.String("string"),
Region: pulumi.String("string"),
DeletionProtectionEnabled: pulumi.Bool(false),
SharedRoutesEnabled: pulumi.Bool(false),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Timeouts: &pinpoint.Smsvoicev2PoolTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
TwoWayChannelArn: pulumi.String("string"),
TwoWayChannelRole: pulumi.String("string"),
TwoWayEnabled: pulumi.Bool(false),
})
resource "aws_pinpoint_smsvoicev2_pool" "smsvoicev2PoolResource" {
lifecycle {
create_before_destroy = true
}
message_type = "string"
origination_identities = ["string"]
self_managed_opt_outs_enabled = false
opt_out_list_name = "string"
iso_country_code = "string"
region = "string"
deletion_protection_enabled = false
shared_routes_enabled = false
tags = {
"string" = "string"
}
timeouts = {
create = "string"
delete = "string"
update = "string"
}
two_way_channel_arn = "string"
two_way_channel_role = "string"
two_way_enabled = false
}
var smsvoicev2PoolResource = new Smsvoicev2Pool("smsvoicev2PoolResource", Smsvoicev2PoolArgs.builder()
.messageType("string")
.originationIdentities("string")
.selfManagedOptOutsEnabled(false)
.optOutListName("string")
.isoCountryCode("string")
.region("string")
.deletionProtectionEnabled(false)
.sharedRoutesEnabled(false)
.tags(Map.of("string", "string"))
.timeouts(Smsvoicev2PoolTimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.twoWayChannelArn("string")
.twoWayChannelRole("string")
.twoWayEnabled(false)
.build());
smsvoicev2_pool_resource = aws.pinpoint.Smsvoicev2Pool("smsvoicev2PoolResource",
message_type="string",
origination_identities=["string"],
self_managed_opt_outs_enabled=False,
opt_out_list_name="string",
iso_country_code="string",
region="string",
deletion_protection_enabled=False,
shared_routes_enabled=False,
tags={
"string": "string",
},
timeouts={
"create": "string",
"delete": "string",
"update": "string",
},
two_way_channel_arn="string",
two_way_channel_role="string",
two_way_enabled=False)
const smsvoicev2PoolResource = new aws.pinpoint.Smsvoicev2Pool("smsvoicev2PoolResource", {
messageType: "string",
originationIdentities: ["string"],
selfManagedOptOutsEnabled: false,
optOutListName: "string",
isoCountryCode: "string",
region: "string",
deletionProtectionEnabled: false,
sharedRoutesEnabled: false,
tags: {
string: "string",
},
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
twoWayChannelArn: "string",
twoWayChannelRole: "string",
twoWayEnabled: false,
});
type: aws:pinpoint:Smsvoicev2Pool
properties:
deletionProtectionEnabled: false
isoCountryCode: string
messageType: string
optOutListName: string
originationIdentities:
- string
region: string
selfManagedOptOutsEnabled: false
sharedRoutesEnabled: false
tags:
string: string
timeouts:
create: string
delete: string
update: string
twoWayChannelArn: string
twoWayChannelRole: string
twoWayEnabled: false
Smsvoicev2Pool Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Smsvoicev2Pool resource accepts the following input properties:
- Message
Type string - Type of message. Valid values are
TRANSACTIONALandPROMOTIONAL. Cannot be changed after creation. - Origination
Identities List<string> Set of origination identity ARNs (phone number ARNs or sender ID ARNs) associated with the pool. At least one identity is required at creation.
The following arguments are optional:
- Deletion
Protection boolEnabled - Whether deletion protection is enabled. When
true, the pool cannot be deleted. - Iso
Country stringCode - Two-character code, in ISO 3166-1 alpha-2 format, for the country or region of the pool. Cannot be changed after creation.
- Opt
Out stringList Name - Name of the opt-out list associated with the pool.
- Region string
- Region where this resource will be managed. Defaults to the region set in the provider configuration.
- Self
Managed boolOpt Outs Enabled - Whether the pool relies on self-managed opt-out handling. When
false, AWS auto-replies to HELP/STOP requests and manages the opt-out list. - bool
- Whether shared routes are enabled for the pool. When
true, messages may use shared phone numbers or sender IDs in countries that allow it. - Dictionary<string, string>
- Map of tags to assign to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Timeouts
Smsvoicev2Pool
Timeouts - Two
Way stringChannel Arn - Destination for incoming messages. Specify an ARN to receive incoming messages, or
connect.[region].amazonaws.com(with[region]replaced by the AWS Region of the Amazon Connect instance) to set Amazon Connect as the inbound destination. - Two
Way stringChannel Role - ARN of the IAM role that End User Messaging SMS assumes to publish inbound messages to the two-way channel.
- Two
Way boolEnabled - Whether inbound message reception is enabled for the pool. When
true,twoWayChannelArnmust be set.
- Message
Type string - Type of message. Valid values are
TRANSACTIONALandPROMOTIONAL. Cannot be changed after creation. - Origination
Identities []string Set of origination identity ARNs (phone number ARNs or sender ID ARNs) associated with the pool. At least one identity is required at creation.
The following arguments are optional:
- Deletion
Protection boolEnabled - Whether deletion protection is enabled. When
true, the pool cannot be deleted. - Iso
Country stringCode - Two-character code, in ISO 3166-1 alpha-2 format, for the country or region of the pool. Cannot be changed after creation.
- Opt
Out stringList Name - Name of the opt-out list associated with the pool.
- Region string
- Region where this resource will be managed. Defaults to the region set in the provider configuration.
- Self
Managed boolOpt Outs Enabled - Whether the pool relies on self-managed opt-out handling. When
false, AWS auto-replies to HELP/STOP requests and manages the opt-out list. - bool
- Whether shared routes are enabled for the pool. When
true, messages may use shared phone numbers or sender IDs in countries that allow it. - map[string]string
- Map of tags to assign to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Timeouts
Smsvoicev2Pool
Timeouts Args - Two
Way stringChannel Arn - Destination for incoming messages. Specify an ARN to receive incoming messages, or
connect.[region].amazonaws.com(with[region]replaced by the AWS Region of the Amazon Connect instance) to set Amazon Connect as the inbound destination. - Two
Way stringChannel Role - ARN of the IAM role that End User Messaging SMS assumes to publish inbound messages to the two-way channel.
- Two
Way boolEnabled - Whether inbound message reception is enabled for the pool. When
true,twoWayChannelArnmust be set.
- message_
type string - Type of message. Valid values are
TRANSACTIONALandPROMOTIONAL. Cannot be changed after creation. - origination_
identities list(string) Set of origination identity ARNs (phone number ARNs or sender ID ARNs) associated with the pool. At least one identity is required at creation.
The following arguments are optional:
- deletion_
protection_ boolenabled - Whether deletion protection is enabled. When
true, the pool cannot be deleted. - iso_
country_ stringcode - Two-character code, in ISO 3166-1 alpha-2 format, for the country or region of the pool. Cannot be changed after creation.
- opt_
out_ stringlist_ name - Name of the opt-out list associated with the pool.
- region string
- Region where this resource will be managed. Defaults to the region set in the provider configuration.
- self_
managed_ boolopt_ outs_ enabled - Whether the pool relies on self-managed opt-out handling. When
false, AWS auto-replies to HELP/STOP requests and manages the opt-out list. - bool
- Whether shared routes are enabled for the pool. When
true, messages may use shared phone numbers or sender IDs in countries that allow it. - map(string)
- Map of tags to assign to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - timeouts object
- two_
way_ stringchannel_ arn - Destination for incoming messages. Specify an ARN to receive incoming messages, or
connect.[region].amazonaws.com(with[region]replaced by the AWS Region of the Amazon Connect instance) to set Amazon Connect as the inbound destination. - two_
way_ stringchannel_ role - ARN of the IAM role that End User Messaging SMS assumes to publish inbound messages to the two-way channel.
- two_
way_ boolenabled - Whether inbound message reception is enabled for the pool. When
true,twoWayChannelArnmust be set.
- message
Type String - Type of message. Valid values are
TRANSACTIONALandPROMOTIONAL. Cannot be changed after creation. - origination
Identities List<String> Set of origination identity ARNs (phone number ARNs or sender ID ARNs) associated with the pool. At least one identity is required at creation.
The following arguments are optional:
- deletion
Protection BooleanEnabled - Whether deletion protection is enabled. When
true, the pool cannot be deleted. - iso
Country StringCode - Two-character code, in ISO 3166-1 alpha-2 format, for the country or region of the pool. Cannot be changed after creation.
- opt
Out StringList Name - Name of the opt-out list associated with the pool.
- region String
- Region where this resource will be managed. Defaults to the region set in the provider configuration.
- self
Managed BooleanOpt Outs Enabled - Whether the pool relies on self-managed opt-out handling. When
false, AWS auto-replies to HELP/STOP requests and manages the opt-out list. - Boolean
- Whether shared routes are enabled for the pool. When
true, messages may use shared phone numbers or sender IDs in countries that allow it. - Map<String,String>
- Map of tags to assign to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - timeouts
Smsvoicev2Pool
Timeouts - two
Way StringChannel Arn - Destination for incoming messages. Specify an ARN to receive incoming messages, or
connect.[region].amazonaws.com(with[region]replaced by the AWS Region of the Amazon Connect instance) to set Amazon Connect as the inbound destination. - two
Way StringChannel Role - ARN of the IAM role that End User Messaging SMS assumes to publish inbound messages to the two-way channel.
- two
Way BooleanEnabled - Whether inbound message reception is enabled for the pool. When
true,twoWayChannelArnmust be set.
- message
Type string - Type of message. Valid values are
TRANSACTIONALandPROMOTIONAL. Cannot be changed after creation. - origination
Identities string[] Set of origination identity ARNs (phone number ARNs or sender ID ARNs) associated with the pool. At least one identity is required at creation.
The following arguments are optional:
- deletion
Protection booleanEnabled - Whether deletion protection is enabled. When
true, the pool cannot be deleted. - iso
Country stringCode - Two-character code, in ISO 3166-1 alpha-2 format, for the country or region of the pool. Cannot be changed after creation.
- opt
Out stringList Name - Name of the opt-out list associated with the pool.
- region string
- Region where this resource will be managed. Defaults to the region set in the provider configuration.
- self
Managed booleanOpt Outs Enabled - Whether the pool relies on self-managed opt-out handling. When
false, AWS auto-replies to HELP/STOP requests and manages the opt-out list. - boolean
- Whether shared routes are enabled for the pool. When
true, messages may use shared phone numbers or sender IDs in countries that allow it. - {[key: string]: string}
- Map of tags to assign to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - timeouts
Smsvoicev2Pool
Timeouts - two
Way stringChannel Arn - Destination for incoming messages. Specify an ARN to receive incoming messages, or
connect.[region].amazonaws.com(with[region]replaced by the AWS Region of the Amazon Connect instance) to set Amazon Connect as the inbound destination. - two
Way stringChannel Role - ARN of the IAM role that End User Messaging SMS assumes to publish inbound messages to the two-way channel.
- two
Way booleanEnabled - Whether inbound message reception is enabled for the pool. When
true,twoWayChannelArnmust be set.
- message_
type str - Type of message. Valid values are
TRANSACTIONALandPROMOTIONAL. Cannot be changed after creation. - origination_
identities Sequence[str] Set of origination identity ARNs (phone number ARNs or sender ID ARNs) associated with the pool. At least one identity is required at creation.
The following arguments are optional:
- deletion_
protection_ boolenabled - Whether deletion protection is enabled. When
true, the pool cannot be deleted. - iso_
country_ strcode - Two-character code, in ISO 3166-1 alpha-2 format, for the country or region of the pool. Cannot be changed after creation.
- opt_
out_ strlist_ name - Name of the opt-out list associated with the pool.
- region str
- Region where this resource will be managed. Defaults to the region set in the provider configuration.
- self_
managed_ boolopt_ outs_ enabled - Whether the pool relies on self-managed opt-out handling. When
false, AWS auto-replies to HELP/STOP requests and manages the opt-out list. - bool
- Whether shared routes are enabled for the pool. When
true, messages may use shared phone numbers or sender IDs in countries that allow it. - Mapping[str, str]
- Map of tags to assign to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - timeouts
Smsvoicev2Pool
Timeouts Args - two_
way_ strchannel_ arn - Destination for incoming messages. Specify an ARN to receive incoming messages, or
connect.[region].amazonaws.com(with[region]replaced by the AWS Region of the Amazon Connect instance) to set Amazon Connect as the inbound destination. - two_
way_ strchannel_ role - ARN of the IAM role that End User Messaging SMS assumes to publish inbound messages to the two-way channel.
- two_
way_ boolenabled - Whether inbound message reception is enabled for the pool. When
true,twoWayChannelArnmust be set.
- message
Type String - Type of message. Valid values are
TRANSACTIONALandPROMOTIONAL. Cannot be changed after creation. - origination
Identities List<String> Set of origination identity ARNs (phone number ARNs or sender ID ARNs) associated with the pool. At least one identity is required at creation.
The following arguments are optional:
- deletion
Protection BooleanEnabled - Whether deletion protection is enabled. When
true, the pool cannot be deleted. - iso
Country StringCode - Two-character code, in ISO 3166-1 alpha-2 format, for the country or region of the pool. Cannot be changed after creation.
- opt
Out StringList Name - Name of the opt-out list associated with the pool.
- region String
- Region where this resource will be managed. Defaults to the region set in the provider configuration.
- self
Managed BooleanOpt Outs Enabled - Whether the pool relies on self-managed opt-out handling. When
false, AWS auto-replies to HELP/STOP requests and manages the opt-out list. - Boolean
- Whether shared routes are enabled for the pool. When
true, messages may use shared phone numbers or sender IDs in countries that allow it. - Map<String>
- Map of tags to assign to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - timeouts Property Map
- two
Way StringChannel Arn - Destination for incoming messages. Specify an ARN to receive incoming messages, or
connect.[region].amazonaws.com(with[region]replaced by the AWS Region of the Amazon Connect instance) to set Amazon Connect as the inbound destination. - two
Way StringChannel Role - ARN of the IAM role that End User Messaging SMS assumes to publish inbound messages to the two-way channel.
- two
Way BooleanEnabled - Whether inbound message reception is enabled for the pool. When
true,twoWayChannelArnmust be set.
Outputs
All input properties are implicitly available as output properties. Additionally, the Smsvoicev2Pool resource produces the following output properties:
Look up Existing Smsvoicev2Pool Resource
Get an existing Smsvoicev2Pool resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: Smsvoicev2PoolState, opts?: CustomResourceOptions): Smsvoicev2Pool@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
arn: Optional[str] = None,
deletion_protection_enabled: Optional[bool] = None,
iso_country_code: Optional[str] = None,
message_type: Optional[str] = None,
opt_out_list_name: Optional[str] = None,
origination_identities: Optional[Sequence[str]] = None,
region: Optional[str] = None,
self_managed_opt_outs_enabled: Optional[bool] = None,
shared_routes_enabled: Optional[bool] = None,
tags: Optional[Mapping[str, str]] = None,
tags_all: Optional[Mapping[str, str]] = None,
timeouts: Optional[Smsvoicev2PoolTimeoutsArgs] = None,
two_way_channel_arn: Optional[str] = None,
two_way_channel_role: Optional[str] = None,
two_way_enabled: Optional[bool] = None) -> Smsvoicev2Poolfunc GetSmsvoicev2Pool(ctx *Context, name string, id IDInput, state *Smsvoicev2PoolState, opts ...ResourceOption) (*Smsvoicev2Pool, error)public static Smsvoicev2Pool Get(string name, Input<string> id, Smsvoicev2PoolState? state, CustomResourceOptions? opts = null)public static Smsvoicev2Pool get(String name, Output<String> id, Smsvoicev2PoolState state, CustomResourceOptions options)resources: _: type: aws:pinpoint:Smsvoicev2Pool get: id: ${id}import {
to = aws_pinpoint_smsvoicev2_pool.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Arn string
- ARN of the pool.
- Deletion
Protection boolEnabled - Whether deletion protection is enabled. When
true, the pool cannot be deleted. - Iso
Country stringCode - Two-character code, in ISO 3166-1 alpha-2 format, for the country or region of the pool. Cannot be changed after creation.
- Message
Type string - Type of message. Valid values are
TRANSACTIONALandPROMOTIONAL. Cannot be changed after creation. - Opt
Out stringList Name - Name of the opt-out list associated with the pool.
- Origination
Identities List<string> Set of origination identity ARNs (phone number ARNs or sender ID ARNs) associated with the pool. At least one identity is required at creation.
The following arguments are optional:
- Region string
- Region where this resource will be managed. Defaults to the region set in the provider configuration.
- Self
Managed boolOpt Outs Enabled - Whether the pool relies on self-managed opt-out handling. When
false, AWS auto-replies to HELP/STOP requests and manages the opt-out list. - bool
- Whether shared routes are enabled for the pool. When
true, messages may use shared phone numbers or sender IDs in countries that allow it. - Dictionary<string, string>
- Map of tags to assign to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Dictionary<string, string>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - Timeouts
Smsvoicev2Pool
Timeouts - Two
Way stringChannel Arn - Destination for incoming messages. Specify an ARN to receive incoming messages, or
connect.[region].amazonaws.com(with[region]replaced by the AWS Region of the Amazon Connect instance) to set Amazon Connect as the inbound destination. - Two
Way stringChannel Role - ARN of the IAM role that End User Messaging SMS assumes to publish inbound messages to the two-way channel.
- Two
Way boolEnabled - Whether inbound message reception is enabled for the pool. When
true,twoWayChannelArnmust be set.
- Arn string
- ARN of the pool.
- Deletion
Protection boolEnabled - Whether deletion protection is enabled. When
true, the pool cannot be deleted. - Iso
Country stringCode - Two-character code, in ISO 3166-1 alpha-2 format, for the country or region of the pool. Cannot be changed after creation.
- Message
Type string - Type of message. Valid values are
TRANSACTIONALandPROMOTIONAL. Cannot be changed after creation. - Opt
Out stringList Name - Name of the opt-out list associated with the pool.
- Origination
Identities []string Set of origination identity ARNs (phone number ARNs or sender ID ARNs) associated with the pool. At least one identity is required at creation.
The following arguments are optional:
- Region string
- Region where this resource will be managed. Defaults to the region set in the provider configuration.
- Self
Managed boolOpt Outs Enabled - Whether the pool relies on self-managed opt-out handling. When
false, AWS auto-replies to HELP/STOP requests and manages the opt-out list. - bool
- Whether shared routes are enabled for the pool. When
true, messages may use shared phone numbers or sender IDs in countries that allow it. - map[string]string
- Map of tags to assign to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - map[string]string
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - Timeouts
Smsvoicev2Pool
Timeouts Args - Two
Way stringChannel Arn - Destination for incoming messages. Specify an ARN to receive incoming messages, or
connect.[region].amazonaws.com(with[region]replaced by the AWS Region of the Amazon Connect instance) to set Amazon Connect as the inbound destination. - Two
Way stringChannel Role - ARN of the IAM role that End User Messaging SMS assumes to publish inbound messages to the two-way channel.
- Two
Way boolEnabled - Whether inbound message reception is enabled for the pool. When
true,twoWayChannelArnmust be set.
- arn string
- ARN of the pool.
- deletion_
protection_ boolenabled - Whether deletion protection is enabled. When
true, the pool cannot be deleted. - iso_
country_ stringcode - Two-character code, in ISO 3166-1 alpha-2 format, for the country or region of the pool. Cannot be changed after creation.
- message_
type string - Type of message. Valid values are
TRANSACTIONALandPROMOTIONAL. Cannot be changed after creation. - opt_
out_ stringlist_ name - Name of the opt-out list associated with the pool.
- origination_
identities list(string) Set of origination identity ARNs (phone number ARNs or sender ID ARNs) associated with the pool. At least one identity is required at creation.
The following arguments are optional:
- region string
- Region where this resource will be managed. Defaults to the region set in the provider configuration.
- self_
managed_ boolopt_ outs_ enabled - Whether the pool relies on self-managed opt-out handling. When
false, AWS auto-replies to HELP/STOP requests and manages the opt-out list. - bool
- Whether shared routes are enabled for the pool. When
true, messages may use shared phone numbers or sender IDs in countries that allow it. - map(string)
- Map of tags to assign to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - map(string)
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - timeouts object
- two_
way_ stringchannel_ arn - Destination for incoming messages. Specify an ARN to receive incoming messages, or
connect.[region].amazonaws.com(with[region]replaced by the AWS Region of the Amazon Connect instance) to set Amazon Connect as the inbound destination. - two_
way_ stringchannel_ role - ARN of the IAM role that End User Messaging SMS assumes to publish inbound messages to the two-way channel.
- two_
way_ boolenabled - Whether inbound message reception is enabled for the pool. When
true,twoWayChannelArnmust be set.
- arn String
- ARN of the pool.
- deletion
Protection BooleanEnabled - Whether deletion protection is enabled. When
true, the pool cannot be deleted. - iso
Country StringCode - Two-character code, in ISO 3166-1 alpha-2 format, for the country or region of the pool. Cannot be changed after creation.
- message
Type String - Type of message. Valid values are
TRANSACTIONALandPROMOTIONAL. Cannot be changed after creation. - opt
Out StringList Name - Name of the opt-out list associated with the pool.
- origination
Identities List<String> Set of origination identity ARNs (phone number ARNs or sender ID ARNs) associated with the pool. At least one identity is required at creation.
The following arguments are optional:
- region String
- Region where this resource will be managed. Defaults to the region set in the provider configuration.
- self
Managed BooleanOpt Outs Enabled - Whether the pool relies on self-managed opt-out handling. When
false, AWS auto-replies to HELP/STOP requests and manages the opt-out list. - Boolean
- Whether shared routes are enabled for the pool. When
true, messages may use shared phone numbers or sender IDs in countries that allow it. - Map<String,String>
- Map of tags to assign to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String,String>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - timeouts
Smsvoicev2Pool
Timeouts - two
Way StringChannel Arn - Destination for incoming messages. Specify an ARN to receive incoming messages, or
connect.[region].amazonaws.com(with[region]replaced by the AWS Region of the Amazon Connect instance) to set Amazon Connect as the inbound destination. - two
Way StringChannel Role - ARN of the IAM role that End User Messaging SMS assumes to publish inbound messages to the two-way channel.
- two
Way BooleanEnabled - Whether inbound message reception is enabled for the pool. When
true,twoWayChannelArnmust be set.
- arn string
- ARN of the pool.
- deletion
Protection booleanEnabled - Whether deletion protection is enabled. When
true, the pool cannot be deleted. - iso
Country stringCode - Two-character code, in ISO 3166-1 alpha-2 format, for the country or region of the pool. Cannot be changed after creation.
- message
Type string - Type of message. Valid values are
TRANSACTIONALandPROMOTIONAL. Cannot be changed after creation. - opt
Out stringList Name - Name of the opt-out list associated with the pool.
- origination
Identities string[] Set of origination identity ARNs (phone number ARNs or sender ID ARNs) associated with the pool. At least one identity is required at creation.
The following arguments are optional:
- region string
- Region where this resource will be managed. Defaults to the region set in the provider configuration.
- self
Managed booleanOpt Outs Enabled - Whether the pool relies on self-managed opt-out handling. When
false, AWS auto-replies to HELP/STOP requests and manages the opt-out list. - boolean
- Whether shared routes are enabled for the pool. When
true, messages may use shared phone numbers or sender IDs in countries that allow it. - {[key: string]: string}
- Map of tags to assign to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - {[key: string]: string}
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - timeouts
Smsvoicev2Pool
Timeouts - two
Way stringChannel Arn - Destination for incoming messages. Specify an ARN to receive incoming messages, or
connect.[region].amazonaws.com(with[region]replaced by the AWS Region of the Amazon Connect instance) to set Amazon Connect as the inbound destination. - two
Way stringChannel Role - ARN of the IAM role that End User Messaging SMS assumes to publish inbound messages to the two-way channel.
- two
Way booleanEnabled - Whether inbound message reception is enabled for the pool. When
true,twoWayChannelArnmust be set.
- arn str
- ARN of the pool.
- deletion_
protection_ boolenabled - Whether deletion protection is enabled. When
true, the pool cannot be deleted. - iso_
country_ strcode - Two-character code, in ISO 3166-1 alpha-2 format, for the country or region of the pool. Cannot be changed after creation.
- message_
type str - Type of message. Valid values are
TRANSACTIONALandPROMOTIONAL. Cannot be changed after creation. - opt_
out_ strlist_ name - Name of the opt-out list associated with the pool.
- origination_
identities Sequence[str] Set of origination identity ARNs (phone number ARNs or sender ID ARNs) associated with the pool. At least one identity is required at creation.
The following arguments are optional:
- region str
- Region where this resource will be managed. Defaults to the region set in the provider configuration.
- self_
managed_ boolopt_ outs_ enabled - Whether the pool relies on self-managed opt-out handling. When
false, AWS auto-replies to HELP/STOP requests and manages the opt-out list. - bool
- Whether shared routes are enabled for the pool. When
true, messages may use shared phone numbers or sender IDs in countries that allow it. - Mapping[str, str]
- Map of tags to assign to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Mapping[str, str]
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - timeouts
Smsvoicev2Pool
Timeouts Args - two_
way_ strchannel_ arn - Destination for incoming messages. Specify an ARN to receive incoming messages, or
connect.[region].amazonaws.com(with[region]replaced by the AWS Region of the Amazon Connect instance) to set Amazon Connect as the inbound destination. - two_
way_ strchannel_ role - ARN of the IAM role that End User Messaging SMS assumes to publish inbound messages to the two-way channel.
- two_
way_ boolenabled - Whether inbound message reception is enabled for the pool. When
true,twoWayChannelArnmust be set.
- arn String
- ARN of the pool.
- deletion
Protection BooleanEnabled - Whether deletion protection is enabled. When
true, the pool cannot be deleted. - iso
Country StringCode - Two-character code, in ISO 3166-1 alpha-2 format, for the country or region of the pool. Cannot be changed after creation.
- message
Type String - Type of message. Valid values are
TRANSACTIONALandPROMOTIONAL. Cannot be changed after creation. - opt
Out StringList Name - Name of the opt-out list associated with the pool.
- origination
Identities List<String> Set of origination identity ARNs (phone number ARNs or sender ID ARNs) associated with the pool. At least one identity is required at creation.
The following arguments are optional:
- region String
- Region where this resource will be managed. Defaults to the region set in the provider configuration.
- self
Managed BooleanOpt Outs Enabled - Whether the pool relies on self-managed opt-out handling. When
false, AWS auto-replies to HELP/STOP requests and manages the opt-out list. - Boolean
- Whether shared routes are enabled for the pool. When
true, messages may use shared phone numbers or sender IDs in countries that allow it. - Map<String>
- Map of tags to assign to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - timeouts Property Map
- two
Way StringChannel Arn - Destination for incoming messages. Specify an ARN to receive incoming messages, or
connect.[region].amazonaws.com(with[region]replaced by the AWS Region of the Amazon Connect instance) to set Amazon Connect as the inbound destination. - two
Way StringChannel Role - ARN of the IAM role that End User Messaging SMS assumes to publish inbound messages to the two-way channel.
- two
Way BooleanEnabled - Whether inbound message reception is enabled for the pool. When
true,twoWayChannelArnmust be set.
Supporting Types
Smsvoicev2PoolTimeouts, Smsvoicev2PoolTimeoutsArgs
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- Update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- Update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
Import
Note:
isoCountryCodeis never returned by AWS, so importing a pool withisoCountryCodeset plans a replacement until removed from config.
Identity Schema
Required
id- (String) ID of the Pool.
Optional
accountId(String) AWS Account where this resource is managed.region(String) Region where this resource is managed.
Using pulumi import, import an AWS End User Messaging SMS Pool using the id. For example:
$ pulumi import aws:pinpoint/smsvoicev2Pool:Smsvoicev2Pool example pool-abcdef0123456789abcdef0123456789
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
awsTerraform Provider.
published on Thursday, Jul 23, 2026 by Pulumi