@pulumi/aws-native
Version:
The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)
116 lines (115 loc) • 7.05 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
* Resource Type definition for AWS::SMSVOICE::Pool
*/
export declare class Pool extends pulumi.CustomResource {
/**
* Get an existing Pool resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Pool;
/**
* Returns true if the given object is an instance of Pool. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is Pool;
/**
* The Amazon Resource Name of the `Pool` .
*/
readonly arn: pulumi.Output<string>;
/**
* When set to true the pool can't be deleted. By default this is set to false.
*/
readonly deletionProtectionEnabled: pulumi.Output<boolean | undefined>;
/**
* 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
*/
readonly mandatoryKeywords: pulumi.Output<outputs.smsvoice.MandatoryKeywordsProperties>;
/**
* The name of the OptOutList to associate with the pool. You can use the OptOutListName or OptOutListArn.
*/
readonly optOutListName: pulumi.Output<string | undefined>;
/**
* 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.
*/
readonly optionalKeywords: pulumi.Output<outputs.smsvoice.PoolOptionalKeyword[] | undefined>;
/**
* The origination identity to use such as a PhoneNumberId, PhoneNumberArn, SenderId or SenderIdArn and it's IsoCountryCode.
*/
readonly originationIdentities: pulumi.Output<string[]>;
/**
* The unique identifier for the pool.
*/
readonly poolId: pulumi.Output<string>;
/**
* 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.
*/
readonly selfManagedOptOutsEnabled: pulumi.Output<boolean | undefined>;
/**
* Indicates whether shared routes are enabled for the pool.
*/
readonly sharedRoutesEnabled: pulumi.Output<boolean | undefined>;
/**
* An array of key-value pairs to apply to this resource.
*/
readonly tags: pulumi.Output<outputs.Tag[] | undefined>;
/**
* 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.
*/
readonly twoWay: pulumi.Output<outputs.smsvoice.TwoWayProperties | undefined>;
/**
* Create a Pool resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args: PoolArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a Pool resource.
*/
export interface PoolArgs {
/**
* When set to true the pool can't be deleted. By default this is set to false.
*/
deletionProtectionEnabled?: pulumi.Input<boolean>;
/**
* 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
*/
mandatoryKeywords: pulumi.Input<inputs.smsvoice.MandatoryKeywordsPropertiesArgs>;
/**
* The name of the OptOutList to associate with the pool. You can use the OptOutListName or OptOutListArn.
*/
optOutListName?: pulumi.Input<string>;
/**
* 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.
*/
optionalKeywords?: pulumi.Input<pulumi.Input<inputs.smsvoice.PoolOptionalKeywordArgs>[]>;
/**
* The origination identity to use such as a PhoneNumberId, PhoneNumberArn, SenderId or SenderIdArn and it's IsoCountryCode.
*/
originationIdentities: pulumi.Input<pulumi.Input<string>[]>;
/**
* 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.
*/
selfManagedOptOutsEnabled?: pulumi.Input<boolean>;
/**
* Indicates whether shared routes are enabled for the pool.
*/
sharedRoutesEnabled?: pulumi.Input<boolean>;
/**
* An array of key-value pairs to apply to this resource.
*/
tags?: pulumi.Input<pulumi.Input<inputs.TagArgs>[]>;
/**
* 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.
*/
twoWay?: pulumi.Input<inputs.smsvoice.TwoWayPropertiesArgs>;
}