1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. smsvoice
  5. getPool

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.34.0 published on Friday, Sep 12, 2025 by Pulumi

aws-native.smsvoice.getPool

Explore with Pulumi AI

aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.34.0 published on Friday, Sep 12, 2025 by Pulumi

    Resource Type definition for AWS::SMSVOICE::Pool

    Using getPool

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getPool(args: GetPoolArgs, opts?: InvokeOptions): Promise<GetPoolResult>
    function getPoolOutput(args: GetPoolOutputArgs, opts?: InvokeOptions): Output<GetPoolResult>
    def get_pool(pool_id: Optional[str] = None,
                 opts: Optional[InvokeOptions] = None) -> GetPoolResult
    def get_pool_output(pool_id: Optional[pulumi.Input[str]] = None,
                 opts: Optional[InvokeOptions] = None) -> Output[GetPoolResult]
    func LookupPool(ctx *Context, args *LookupPoolArgs, opts ...InvokeOption) (*LookupPoolResult, error)
    func LookupPoolOutput(ctx *Context, args *LookupPoolOutputArgs, opts ...InvokeOption) LookupPoolResultOutput

    > Note: This function is named LookupPool in the Go SDK.

    public static class GetPool 
    {
        public static Task<GetPoolResult> InvokeAsync(GetPoolArgs args, InvokeOptions? opts = null)
        public static Output<GetPoolResult> Invoke(GetPoolInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetPoolResult> getPool(GetPoolArgs args, InvokeOptions options)
    public static Output<GetPoolResult> getPool(GetPoolArgs args, InvokeOptions options)
    
    fn::invoke:
      function: aws-native:smsvoice:getPool
      arguments:
        # arguments dictionary

    The following arguments are supported:

    PoolId string
    PoolId string
    poolId String
    poolId string
    poolId String

    getPool Result

    The following output properties are available:

    Arn string
    DeletionProtectionEnabled bool
    When set to true the pool can't be deleted. By default this is set to false.
    MandatoryKeywords Pulumi.AwsNative.Smsvoice.Outputs.MandatoryKeywordsProperties
    A keyword is a word that you can search for on a particular phone number or pool. It is also a specific word or phrase that an end user can send to your number to elicit a response, such as an informational message or a special offer. When your number receives a message that begins with a keyword, AWS End User Messaging SMS and Voice responds with a customizable message. Keywords "HELP" and "STOP" are mandatory keywords
    OptOutListName string
    The name of the OptOutList to associate with the pool. You can use the OptOutListName or OptOutListArn.
    OptionalKeywords List<Pulumi.AwsNative.Smsvoice.Outputs.PoolOptionalKeyword>
    A keyword is a word that you can search for on a particular phone number or pool. It is also a specific word or phrase that an end user can send to your number to elicit a response, such as an informational message or a special offer. When your number receives a message that begins with a keyword, AWS End User Messaging SMS and Voice responds with a customizable message.
    OriginationIdentities List<string>
    The origination identity to use such as a PhoneNumberId, PhoneNumberArn, SenderId or SenderIdArn and it's IsoCountryCode.
    PoolId string
    SelfManagedOptOutsEnabled bool
    By default this is set to false. When an end recipient sends a message that begins with HELP or STOP to one of your dedicated numbers, AWS End User Messaging SMS and Voice automatically replies with a customizable message and adds the end recipient to the OptOutList. When set to true you're responsible for responding to HELP and STOP requests. You're also responsible for tracking and honoring opt-out requests.
    SharedRoutesEnabled bool
    Indicates whether shared routes are enabled for the pool.
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    An array of key-value pairs to apply to this resource.
    TwoWay Pulumi.AwsNative.Smsvoice.Outputs.TwoWayProperties
    When you set up two-way SMS, you can receive incoming messages from your customers. When one of your customers sends a message to your phone number, the message body is sent to an Amazon SNS topic or Amazon Connect for processing.
    Arn string
    DeletionProtectionEnabled bool
    When set to true the pool can't be deleted. By default this is set to false.
    MandatoryKeywords MandatoryKeywordsProperties
    A keyword is a word that you can search for on a particular phone number or pool. It is also a specific word or phrase that an end user can send to your number to elicit a response, such as an informational message or a special offer. When your number receives a message that begins with a keyword, AWS End User Messaging SMS and Voice responds with a customizable message. Keywords "HELP" and "STOP" are mandatory keywords
    OptOutListName string
    The name of the OptOutList to associate with the pool. You can use the OptOutListName or OptOutListArn.
    OptionalKeywords []PoolOptionalKeyword
    A keyword is a word that you can search for on a particular phone number or pool. It is also a specific word or phrase that an end user can send to your number to elicit a response, such as an informational message or a special offer. When your number receives a message that begins with a keyword, AWS End User Messaging SMS and Voice responds with a customizable message.
    OriginationIdentities []string
    The origination identity to use such as a PhoneNumberId, PhoneNumberArn, SenderId or SenderIdArn and it's IsoCountryCode.
    PoolId string
    SelfManagedOptOutsEnabled bool
    By default this is set to false. When an end recipient sends a message that begins with HELP or STOP to one of your dedicated numbers, AWS End User Messaging SMS and Voice automatically replies with a customizable message and adds the end recipient to the OptOutList. When set to true you're responsible for responding to HELP and STOP requests. You're also responsible for tracking and honoring opt-out requests.
    SharedRoutesEnabled bool
    Indicates whether shared routes are enabled for the pool.
    Tags Tag
    An array of key-value pairs to apply to this resource.
    TwoWay TwoWayProperties
    When you set up two-way SMS, you can receive incoming messages from your customers. When one of your customers sends a message to your phone number, the message body is sent to an Amazon SNS topic or Amazon Connect for processing.
    arn String
    deletionProtectionEnabled Boolean
    When set to true the pool can't be deleted. By default this is set to false.
    mandatoryKeywords MandatoryKeywordsProperties
    A keyword is a word that you can search for on a particular phone number or pool. It is also a specific word or phrase that an end user can send to your number to elicit a response, such as an informational message or a special offer. When your number receives a message that begins with a keyword, AWS End User Messaging SMS and Voice responds with a customizable message. Keywords "HELP" and "STOP" are mandatory keywords
    optOutListName String
    The name of the OptOutList to associate with the pool. You can use the OptOutListName or OptOutListArn.
    optionalKeywords List<PoolOptionalKeyword>
    A keyword is a word that you can search for on a particular phone number or pool. It is also a specific word or phrase that an end user can send to your number to elicit a response, such as an informational message or a special offer. When your number receives a message that begins with a keyword, AWS End User Messaging SMS and Voice responds with a customizable message.
    originationIdentities List<String>
    The origination identity to use such as a PhoneNumberId, PhoneNumberArn, SenderId or SenderIdArn and it's IsoCountryCode.
    poolId String
    selfManagedOptOutsEnabled Boolean
    By default this is set to false. When an end recipient sends a message that begins with HELP or STOP to one of your dedicated numbers, AWS End User Messaging SMS and Voice automatically replies with a customizable message and adds the end recipient to the OptOutList. When set to true you're responsible for responding to HELP and STOP requests. You're also responsible for tracking and honoring opt-out requests.
    sharedRoutesEnabled Boolean
    Indicates whether shared routes are enabled for the pool.
    tags List<Tag>
    An array of key-value pairs to apply to this resource.
    twoWay TwoWayProperties
    When you set up two-way SMS, you can receive incoming messages from your customers. When one of your customers sends a message to your phone number, the message body is sent to an Amazon SNS topic or Amazon Connect for processing.
    arn string
    deletionProtectionEnabled boolean
    When set to true the pool can't be deleted. By default this is set to false.
    mandatoryKeywords MandatoryKeywordsProperties
    A keyword is a word that you can search for on a particular phone number or pool. It is also a specific word or phrase that an end user can send to your number to elicit a response, such as an informational message or a special offer. When your number receives a message that begins with a keyword, AWS End User Messaging SMS and Voice responds with a customizable message. Keywords "HELP" and "STOP" are mandatory keywords
    optOutListName string
    The name of the OptOutList to associate with the pool. You can use the OptOutListName or OptOutListArn.
    optionalKeywords PoolOptionalKeyword[]
    A keyword is a word that you can search for on a particular phone number or pool. It is also a specific word or phrase that an end user can send to your number to elicit a response, such as an informational message or a special offer. When your number receives a message that begins with a keyword, AWS End User Messaging SMS and Voice responds with a customizable message.
    originationIdentities string[]
    The origination identity to use such as a PhoneNumberId, PhoneNumberArn, SenderId or SenderIdArn and it's IsoCountryCode.
    poolId string
    selfManagedOptOutsEnabled boolean
    By default this is set to false. When an end recipient sends a message that begins with HELP or STOP to one of your dedicated numbers, AWS End User Messaging SMS and Voice automatically replies with a customizable message and adds the end recipient to the OptOutList. When set to true you're responsible for responding to HELP and STOP requests. You're also responsible for tracking and honoring opt-out requests.
    sharedRoutesEnabled boolean
    Indicates whether shared routes are enabled for the pool.
    tags Tag[]
    An array of key-value pairs to apply to this resource.
    twoWay TwoWayProperties
    When you set up two-way SMS, you can receive incoming messages from your customers. When one of your customers sends a message to your phone number, the message body is sent to an Amazon SNS topic or Amazon Connect for processing.
    arn str
    deletion_protection_enabled bool
    When set to true the pool can't be deleted. By default this is set to false.
    mandatory_keywords MandatoryKeywordsProperties
    A keyword is a word that you can search for on a particular phone number or pool. It is also a specific word or phrase that an end user can send to your number to elicit a response, such as an informational message or a special offer. When your number receives a message that begins with a keyword, AWS End User Messaging SMS and Voice responds with a customizable message. Keywords "HELP" and "STOP" are mandatory keywords
    opt_out_list_name str
    The name of the OptOutList to associate with the pool. You can use the OptOutListName or OptOutListArn.
    optional_keywords Sequence[PoolOptionalKeyword]
    A keyword is a word that you can search for on a particular phone number or pool. It is also a specific word or phrase that an end user can send to your number to elicit a response, such as an informational message or a special offer. When your number receives a message that begins with a keyword, AWS End User Messaging SMS and Voice responds with a customizable message.
    origination_identities Sequence[str]
    The origination identity to use such as a PhoneNumberId, PhoneNumberArn, SenderId or SenderIdArn and it's IsoCountryCode.
    pool_id str
    self_managed_opt_outs_enabled bool
    By default this is set to false. When an end recipient sends a message that begins with HELP or STOP to one of your dedicated numbers, AWS End User Messaging SMS and Voice automatically replies with a customizable message and adds the end recipient to the OptOutList. When set to true you're responsible for responding to HELP and STOP requests. You're also responsible for tracking and honoring opt-out requests.
    shared_routes_enabled bool
    Indicates whether shared routes are enabled for the pool.
    tags Sequence[root_Tag]
    An array of key-value pairs to apply to this resource.
    two_way TwoWayProperties
    When you set up two-way SMS, you can receive incoming messages from your customers. When one of your customers sends a message to your phone number, the message body is sent to an Amazon SNS topic or Amazon Connect for processing.
    arn String
    deletionProtectionEnabled Boolean
    When set to true the pool can't be deleted. By default this is set to false.
    mandatoryKeywords Property Map
    A keyword is a word that you can search for on a particular phone number or pool. It is also a specific word or phrase that an end user can send to your number to elicit a response, such as an informational message or a special offer. When your number receives a message that begins with a keyword, AWS End User Messaging SMS and Voice responds with a customizable message. Keywords "HELP" and "STOP" are mandatory keywords
    optOutListName String
    The name of the OptOutList to associate with the pool. You can use the OptOutListName or OptOutListArn.
    optionalKeywords List<Property Map>
    A keyword is a word that you can search for on a particular phone number or pool. It is also a specific word or phrase that an end user can send to your number to elicit a response, such as an informational message or a special offer. When your number receives a message that begins with a keyword, AWS End User Messaging SMS and Voice responds with a customizable message.
    originationIdentities List<String>
    The origination identity to use such as a PhoneNumberId, PhoneNumberArn, SenderId or SenderIdArn and it's IsoCountryCode.
    poolId String
    selfManagedOptOutsEnabled Boolean
    By default this is set to false. When an end recipient sends a message that begins with HELP or STOP to one of your dedicated numbers, AWS End User Messaging SMS and Voice automatically replies with a customizable message and adds the end recipient to the OptOutList. When set to true you're responsible for responding to HELP and STOP requests. You're also responsible for tracking and honoring opt-out requests.
    sharedRoutesEnabled Boolean
    Indicates whether shared routes are enabled for the pool.
    tags List<Property Map>
    An array of key-value pairs to apply to this resource.
    twoWay Property Map
    When you set up two-way SMS, you can receive incoming messages from your customers. When one of your customers sends a message to your phone number, the message body is sent to an Amazon SNS topic or Amazon Connect for processing.

    Supporting Types

    MandatoryKeywordsProperties

    PoolMandatoryKeyword

    Message string
    Message string
    message String
    message string
    message String

    PoolOptionalKeyword

    PoolOptionalKeywordAction

    Tag

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    TwoWayProperties

    Enabled bool
    By default this is set to false. When set to true you can receive incoming text messages from your end recipients.
    ChannelArn string
    The Amazon Resource Name (ARN) of the two way channel.
    ChannelRole string
    An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.
    Enabled bool
    By default this is set to false. When set to true you can receive incoming text messages from your end recipients.
    ChannelArn string
    The Amazon Resource Name (ARN) of the two way channel.
    ChannelRole string
    An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.
    enabled Boolean
    By default this is set to false. When set to true you can receive incoming text messages from your end recipients.
    channelArn String
    The Amazon Resource Name (ARN) of the two way channel.
    channelRole String
    An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.
    enabled boolean
    By default this is set to false. When set to true you can receive incoming text messages from your end recipients.
    channelArn string
    The Amazon Resource Name (ARN) of the two way channel.
    channelRole string
    An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.
    enabled bool
    By default this is set to false. When set to true you can receive incoming text messages from your end recipients.
    channel_arn str
    The Amazon Resource Name (ARN) of the two way channel.
    channel_role str
    An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.
    enabled Boolean
    By default this is set to false. When set to true you can receive incoming text messages from your end recipients.
    channelArn String
    The Amazon Resource Name (ARN) of the two way channel.
    channelRole String
    An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    AWS Cloud Control v1.34.0 published on Friday, Sep 12, 2025 by Pulumi