1. Packages
  2. Packages
  3. AWS
  4. API Docs
  5. pinpoint
  6. Smsvoicev2Pool
Viewing docs for AWS v7.39.0
published on Thursday, Jul 23, 2026 by Pulumi
aws logo
Viewing docs for AWS v7.39.0
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:

    MessageType string
    Type of message. Valid values are TRANSACTIONAL and PROMOTIONAL. Cannot be changed after creation.
    OriginationIdentities 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:

    DeletionProtectionEnabled bool
    Whether deletion protection is enabled. When true, the pool cannot be deleted.
    IsoCountryCode string
    Two-character code, in ISO 3166-1 alpha-2 format, for the country or region of the pool. Cannot be changed after creation.
    OptOutListName string
    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.
    SelfManagedOptOutsEnabled bool
    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.
    SharedRoutesEnabled 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.
    Tags Dictionary<string, string>
    Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    Timeouts Smsvoicev2PoolTimeouts
    TwoWayChannelArn string
    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.
    TwoWayChannelRole string
    ARN of the IAM role that End User Messaging SMS assumes to publish inbound messages to the two-way channel.
    TwoWayEnabled bool
    Whether inbound message reception is enabled for the pool. When true, twoWayChannelArn must be set.
    MessageType string
    Type of message. Valid values are TRANSACTIONAL and PROMOTIONAL. Cannot be changed after creation.
    OriginationIdentities []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:

    DeletionProtectionEnabled bool
    Whether deletion protection is enabled. When true, the pool cannot be deleted.
    IsoCountryCode string
    Two-character code, in ISO 3166-1 alpha-2 format, for the country or region of the pool. Cannot be changed after creation.
    OptOutListName string
    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.
    SelfManagedOptOutsEnabled bool
    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.
    SharedRoutesEnabled 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.
    Tags map[string]string
    Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    Timeouts Smsvoicev2PoolTimeoutsArgs
    TwoWayChannelArn string
    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.
    TwoWayChannelRole string
    ARN of the IAM role that End User Messaging SMS assumes to publish inbound messages to the two-way channel.
    TwoWayEnabled bool
    Whether inbound message reception is enabled for the pool. When true, twoWayChannelArn must be set.
    message_type string
    Type of message. Valid values are TRANSACTIONAL and PROMOTIONAL. 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_enabled bool
    Whether deletion protection is enabled. When true, the pool cannot be deleted.
    iso_country_code string
    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_list_name string
    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_opt_outs_enabled bool
    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.
    shared_routes_enabled 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.
    tags map(string)
    Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    timeouts object
    two_way_channel_arn string
    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_channel_role string
    ARN of the IAM role that End User Messaging SMS assumes to publish inbound messages to the two-way channel.
    two_way_enabled bool
    Whether inbound message reception is enabled for the pool. When true, twoWayChannelArn must be set.
    messageType String
    Type of message. Valid values are TRANSACTIONAL and PROMOTIONAL. Cannot be changed after creation.
    originationIdentities 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:

    deletionProtectionEnabled Boolean
    Whether deletion protection is enabled. When true, the pool cannot be deleted.
    isoCountryCode String
    Two-character code, in ISO 3166-1 alpha-2 format, for the country or region of the pool. Cannot be changed after creation.
    optOutListName String
    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.
    selfManagedOptOutsEnabled Boolean
    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.
    sharedRoutesEnabled 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.
    tags Map<String,String>
    Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    timeouts Smsvoicev2PoolTimeouts
    twoWayChannelArn String
    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.
    twoWayChannelRole String
    ARN of the IAM role that End User Messaging SMS assumes to publish inbound messages to the two-way channel.
    twoWayEnabled Boolean
    Whether inbound message reception is enabled for the pool. When true, twoWayChannelArn must be set.
    messageType string
    Type of message. Valid values are TRANSACTIONAL and PROMOTIONAL. Cannot be changed after creation.
    originationIdentities 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:

    deletionProtectionEnabled boolean
    Whether deletion protection is enabled. When true, the pool cannot be deleted.
    isoCountryCode string
    Two-character code, in ISO 3166-1 alpha-2 format, for the country or region of the pool. Cannot be changed after creation.
    optOutListName string
    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.
    selfManagedOptOutsEnabled boolean
    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.
    sharedRoutesEnabled 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.
    tags {[key: string]: string}
    Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    timeouts Smsvoicev2PoolTimeouts
    twoWayChannelArn string
    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.
    twoWayChannelRole string
    ARN of the IAM role that End User Messaging SMS assumes to publish inbound messages to the two-way channel.
    twoWayEnabled boolean
    Whether inbound message reception is enabled for the pool. When true, twoWayChannelArn must be set.
    message_type str
    Type of message. Valid values are TRANSACTIONAL and PROMOTIONAL. 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_enabled bool
    Whether deletion protection is enabled. When true, the pool cannot be deleted.
    iso_country_code str
    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_list_name str
    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_opt_outs_enabled bool
    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.
    shared_routes_enabled 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.
    tags Mapping[str, str]
    Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    timeouts Smsvoicev2PoolTimeoutsArgs
    two_way_channel_arn str
    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_channel_role str
    ARN of the IAM role that End User Messaging SMS assumes to publish inbound messages to the two-way channel.
    two_way_enabled bool
    Whether inbound message reception is enabled for the pool. When true, twoWayChannelArn must be set.
    messageType String
    Type of message. Valid values are TRANSACTIONAL and PROMOTIONAL. Cannot be changed after creation.
    originationIdentities 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:

    deletionProtectionEnabled Boolean
    Whether deletion protection is enabled. When true, the pool cannot be deleted.
    isoCountryCode String
    Two-character code, in ISO 3166-1 alpha-2 format, for the country or region of the pool. Cannot be changed after creation.
    optOutListName String
    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.
    selfManagedOptOutsEnabled Boolean
    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.
    sharedRoutesEnabled 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.
    tags Map<String>
    Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    timeouts Property Map
    twoWayChannelArn String
    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.
    twoWayChannelRole String
    ARN of the IAM role that End User Messaging SMS assumes to publish inbound messages to the two-way channel.
    twoWayEnabled Boolean
    Whether inbound message reception is enabled for the pool. When true, twoWayChannelArn must be set.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Smsvoicev2Pool resource produces the following output properties:

    Arn string
    ARN of the pool.
    Id string
    The provider-assigned unique ID for this managed resource.
    TagsAll Dictionary<string, string>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    Arn string
    ARN of the pool.
    Id string
    The provider-assigned unique ID for this managed resource.
    TagsAll map[string]string
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn string
    ARN of the pool.
    id string
    The provider-assigned unique ID for this managed resource.
    tags_all map(string)
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn String
    ARN of the pool.
    id String
    The provider-assigned unique ID for this managed resource.
    tagsAll Map<String,String>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn string
    ARN of the pool.
    id string
    The provider-assigned unique ID for this managed resource.
    tagsAll {[key: string]: string}
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn str
    ARN of the pool.
    id str
    The provider-assigned unique ID for this managed resource.
    tags_all Mapping[str, str]
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn String
    ARN of the pool.
    id String
    The provider-assigned unique ID for this managed resource.
    tagsAll Map<String>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.

    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) -> Smsvoicev2Pool
    func 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.
    The following state arguments are supported:
    Arn string
    ARN of the pool.
    DeletionProtectionEnabled bool
    Whether deletion protection is enabled. When true, the pool cannot be deleted.
    IsoCountryCode string
    Two-character code, in ISO 3166-1 alpha-2 format, for the country or region of the pool. Cannot be changed after creation.
    MessageType string
    Type of message. Valid values are TRANSACTIONAL and PROMOTIONAL. Cannot be changed after creation.
    OptOutListName string
    Name of the opt-out list associated with the pool.
    OriginationIdentities 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.
    SelfManagedOptOutsEnabled bool
    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.
    SharedRoutesEnabled 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.
    Tags Dictionary<string, string>
    Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    TagsAll Dictionary<string, string>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    Timeouts Smsvoicev2PoolTimeouts
    TwoWayChannelArn string
    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.
    TwoWayChannelRole string
    ARN of the IAM role that End User Messaging SMS assumes to publish inbound messages to the two-way channel.
    TwoWayEnabled bool
    Whether inbound message reception is enabled for the pool. When true, twoWayChannelArn must be set.
    Arn string
    ARN of the pool.
    DeletionProtectionEnabled bool
    Whether deletion protection is enabled. When true, the pool cannot be deleted.
    IsoCountryCode string
    Two-character code, in ISO 3166-1 alpha-2 format, for the country or region of the pool. Cannot be changed after creation.
    MessageType string
    Type of message. Valid values are TRANSACTIONAL and PROMOTIONAL. Cannot be changed after creation.
    OptOutListName string
    Name of the opt-out list associated with the pool.
    OriginationIdentities []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.
    SelfManagedOptOutsEnabled bool
    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.
    SharedRoutesEnabled 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.
    Tags map[string]string
    Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    TagsAll map[string]string
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    Timeouts Smsvoicev2PoolTimeoutsArgs
    TwoWayChannelArn string
    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.
    TwoWayChannelRole string
    ARN of the IAM role that End User Messaging SMS assumes to publish inbound messages to the two-way channel.
    TwoWayEnabled bool
    Whether inbound message reception is enabled for the pool. When true, twoWayChannelArn must be set.
    arn string
    ARN of the pool.
    deletion_protection_enabled bool
    Whether deletion protection is enabled. When true, the pool cannot be deleted.
    iso_country_code string
    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 TRANSACTIONAL and PROMOTIONAL. Cannot be changed after creation.
    opt_out_list_name string
    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_opt_outs_enabled bool
    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.
    shared_routes_enabled 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.
    tags map(string)
    Map of tags to assign 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_all map(string)
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    timeouts object
    two_way_channel_arn string
    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_channel_role string
    ARN of the IAM role that End User Messaging SMS assumes to publish inbound messages to the two-way channel.
    two_way_enabled bool
    Whether inbound message reception is enabled for the pool. When true, twoWayChannelArn must be set.
    arn String
    ARN of the pool.
    deletionProtectionEnabled Boolean
    Whether deletion protection is enabled. When true, the pool cannot be deleted.
    isoCountryCode String
    Two-character code, in ISO 3166-1 alpha-2 format, for the country or region of the pool. Cannot be changed after creation.
    messageType String
    Type of message. Valid values are TRANSACTIONAL and PROMOTIONAL. Cannot be changed after creation.
    optOutListName String
    Name of the opt-out list associated with the pool.
    originationIdentities 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.
    selfManagedOptOutsEnabled Boolean
    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.
    sharedRoutesEnabled 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.
    tags Map<String,String>
    Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tagsAll Map<String,String>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    timeouts Smsvoicev2PoolTimeouts
    twoWayChannelArn String
    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.
    twoWayChannelRole String
    ARN of the IAM role that End User Messaging SMS assumes to publish inbound messages to the two-way channel.
    twoWayEnabled Boolean
    Whether inbound message reception is enabled for the pool. When true, twoWayChannelArn must be set.
    arn string
    ARN of the pool.
    deletionProtectionEnabled boolean
    Whether deletion protection is enabled. When true, the pool cannot be deleted.
    isoCountryCode string
    Two-character code, in ISO 3166-1 alpha-2 format, for the country or region of the pool. Cannot be changed after creation.
    messageType string
    Type of message. Valid values are TRANSACTIONAL and PROMOTIONAL. Cannot be changed after creation.
    optOutListName string
    Name of the opt-out list associated with the pool.
    originationIdentities 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.
    selfManagedOptOutsEnabled boolean
    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.
    sharedRoutesEnabled 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.
    tags {[key: string]: string}
    Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tagsAll {[key: string]: string}
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    timeouts Smsvoicev2PoolTimeouts
    twoWayChannelArn string
    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.
    twoWayChannelRole string
    ARN of the IAM role that End User Messaging SMS assumes to publish inbound messages to the two-way channel.
    twoWayEnabled boolean
    Whether inbound message reception is enabled for the pool. When true, twoWayChannelArn must be set.
    arn str
    ARN of the pool.
    deletion_protection_enabled bool
    Whether deletion protection is enabled. When true, the pool cannot be deleted.
    iso_country_code str
    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 TRANSACTIONAL and PROMOTIONAL. Cannot be changed after creation.
    opt_out_list_name str
    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_opt_outs_enabled bool
    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.
    shared_routes_enabled 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.
    tags Mapping[str, str]
    Map of tags to assign 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_all Mapping[str, str]
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    timeouts Smsvoicev2PoolTimeoutsArgs
    two_way_channel_arn str
    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_channel_role str
    ARN of the IAM role that End User Messaging SMS assumes to publish inbound messages to the two-way channel.
    two_way_enabled bool
    Whether inbound message reception is enabled for the pool. When true, twoWayChannelArn must be set.
    arn String
    ARN of the pool.
    deletionProtectionEnabled Boolean
    Whether deletion protection is enabled. When true, the pool cannot be deleted.
    isoCountryCode String
    Two-character code, in ISO 3166-1 alpha-2 format, for the country or region of the pool. Cannot be changed after creation.
    messageType String
    Type of message. Valid values are TRANSACTIONAL and PROMOTIONAL. Cannot be changed after creation.
    optOutListName String
    Name of the opt-out list associated with the pool.
    originationIdentities 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.
    selfManagedOptOutsEnabled Boolean
    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.
    sharedRoutesEnabled 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.
    tags Map<String>
    Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tagsAll Map<String>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    timeouts Property Map
    twoWayChannelArn String
    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.
    twoWayChannelRole String
    ARN of the IAM role that End User Messaging SMS assumes to publish inbound messages to the two-way channel.
    twoWayEnabled Boolean
    Whether inbound message reception is enabled for the pool. When true, twoWayChannelArn must 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: isoCountryCode is never returned by AWS, so importing a pool with isoCountryCode set 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 aws Terraform Provider.
    aws logo
    Viewing docs for AWS v7.39.0
    published on Thursday, Jul 23, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial