AWS Native

v0.43.0 published on Thursday, Dec 1, 2022 by Pulumi

PhoneNumber

Resource Type definition for AWS::Connect::PhoneNumber

Create PhoneNumber Resource

new PhoneNumber(name: string, args: PhoneNumberArgs, opts?: CustomResourceOptions);
@overload
def PhoneNumber(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                country_code: Optional[str] = None,
                description: Optional[str] = None,
                prefix: Optional[str] = None,
                tags: Optional[Sequence[PhoneNumberTagArgs]] = None,
                target_arn: Optional[str] = None,
                type: Optional[str] = None)
@overload
def PhoneNumber(resource_name: str,
                args: PhoneNumberArgs,
                opts: Optional[ResourceOptions] = None)
func NewPhoneNumber(ctx *Context, name string, args PhoneNumberArgs, opts ...ResourceOption) (*PhoneNumber, error)
public PhoneNumber(string name, PhoneNumberArgs args, CustomResourceOptions? opts = null)
public PhoneNumber(String name, PhoneNumberArgs args)
public PhoneNumber(String name, PhoneNumberArgs args, CustomResourceOptions options)
type: aws-native:connect:PhoneNumber
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args PhoneNumberArgs
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 PhoneNumberArgs
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 PhoneNumberArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args PhoneNumberArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args PhoneNumberArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

PhoneNumber Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The PhoneNumber resource accepts the following input properties:

CountryCode string

The phone number country code.

TargetArn string

The ARN of the target the phone number is claimed to.

Type string

The phone number type, either TOLL_FREE or DID.

Description string

The description of the phone number.

Prefix string

The phone number prefix.

Tags List<Pulumi.AwsNative.Connect.Inputs.PhoneNumberTagArgs>

One or more tags.

CountryCode string

The phone number country code.

TargetArn string

The ARN of the target the phone number is claimed to.

Type string

The phone number type, either TOLL_FREE or DID.

Description string

The description of the phone number.

Prefix string

The phone number prefix.

Tags []PhoneNumberTagArgs

One or more tags.

countryCode String

The phone number country code.

targetArn String

The ARN of the target the phone number is claimed to.

type String

The phone number type, either TOLL_FREE or DID.

description String

The description of the phone number.

prefix String

The phone number prefix.

tags List<PhoneNumberTagArgs>

One or more tags.

countryCode string

The phone number country code.

targetArn string

The ARN of the target the phone number is claimed to.

type string

The phone number type, either TOLL_FREE or DID.

description string

The description of the phone number.

prefix string

The phone number prefix.

tags PhoneNumberTagArgs[]

One or more tags.

country_code str

The phone number country code.

target_arn str

The ARN of the target the phone number is claimed to.

type str

The phone number type, either TOLL_FREE or DID.

description str

The description of the phone number.

prefix str

The phone number prefix.

tags Sequence[PhoneNumberTagArgs]

One or more tags.

countryCode String

The phone number country code.

targetArn String

The ARN of the target the phone number is claimed to.

type String

The phone number type, either TOLL_FREE or DID.

description String

The description of the phone number.

prefix String

The phone number prefix.

tags List<Property Map>

One or more tags.

Outputs

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

Address string

The phone number e164 address.

Id string

The provider-assigned unique ID for this managed resource.

PhoneNumberArn string

The phone number ARN

Address string

The phone number e164 address.

Id string

The provider-assigned unique ID for this managed resource.

PhoneNumberArn string

The phone number ARN

address String

The phone number e164 address.

id String

The provider-assigned unique ID for this managed resource.

phoneNumberArn String

The phone number ARN

address string

The phone number e164 address.

id string

The provider-assigned unique ID for this managed resource.

phoneNumberArn string

The phone number ARN

address str

The phone number e164 address.

id str

The provider-assigned unique ID for this managed resource.

phone_number_arn str

The phone number ARN

address String

The phone number e164 address.

id String

The provider-assigned unique ID for this managed resource.

phoneNumberArn String

The phone number ARN

Supporting Types

PhoneNumberTag

Key string

The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

Value string

The value for the tag. You can specify a value that is 1 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

Key string

The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

Value string

The value for the tag. You can specify a value that is 1 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

key String

The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

value String

The value for the tag. You can specify a value that is 1 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

key string

The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

value string

The value for the tag. You can specify a value that is 1 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

key str

The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

value str

The value for the tag. You can specify a value that is 1 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

key String

The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

value String

The value for the tag. You can specify a value that is 1 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

Package Details

Repository
https://github.com/pulumi/pulumi-aws-native
License
Apache-2.0