AWS Native

Pulumi Official
Package maintained by Pulumi
v0.18.0 published on Friday, May 27, 2022 by Pulumi

getPhoneNumber

Resource Type definition for AWS::Connect::PhoneNumber

Using getPhoneNumber

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 getPhoneNumber(args: GetPhoneNumberArgs, opts?: InvokeOptions): Promise<GetPhoneNumberResult>
function getPhoneNumberOutput(args: GetPhoneNumberOutputArgs, opts?: InvokeOptions): Output<GetPhoneNumberResult>
def get_phone_number(phone_number_arn: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetPhoneNumberResult
def get_phone_number_output(phone_number_arn: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetPhoneNumberResult]
func LookupPhoneNumber(ctx *Context, args *LookupPhoneNumberArgs, opts ...InvokeOption) (*LookupPhoneNumberResult, error)
func LookupPhoneNumberOutput(ctx *Context, args *LookupPhoneNumberOutputArgs, opts ...InvokeOption) LookupPhoneNumberResultOutput

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

public static class GetPhoneNumber 
{
    public static Task<GetPhoneNumberResult> InvokeAsync(GetPhoneNumberArgs args, InvokeOptions? opts = null)
    public static Output<GetPhoneNumberResult> Invoke(GetPhoneNumberInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetPhoneNumberResult> getPhoneNumber(GetPhoneNumberArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: aws-native:connect:getPhoneNumber
  Arguments:
    # Arguments dictionary

The following arguments are supported:

PhoneNumberArn string

The phone number ARN

PhoneNumberArn string

The phone number ARN

phoneNumberArn String

The phone number ARN

phoneNumberArn string

The phone number ARN

phone_number_arn str

The phone number ARN

phoneNumberArn String

The phone number ARN

getPhoneNumber Result

The following output properties are available:

Address string

The phone number e164 address.

PhoneNumberArn string

The phone number ARN

Tags List<Pulumi.AwsNative.Connect.Outputs.PhoneNumberTag>

One or more tags.

TargetArn string

The ARN of the Amazon Connect instance the phone number is claimed to.

Address string

The phone number e164 address.

PhoneNumberArn string

The phone number ARN

Tags []PhoneNumberTag

One or more tags.

TargetArn string

The ARN of the Amazon Connect instance the phone number is claimed to.

address String

The phone number e164 address.

phoneNumberArn String

The phone number ARN

tags List<PhoneNumberTag>

One or more tags.

targetArn String

The ARN of the Amazon Connect instance the phone number is claimed to.

address string

The phone number e164 address.

phoneNumberArn string

The phone number ARN

tags PhoneNumberTag[]

One or more tags.

targetArn string

The ARN of the Amazon Connect instance the phone number is claimed to.

address str

The phone number e164 address.

phone_number_arn str

The phone number ARN

tags Sequence[PhoneNumberTag]

One or more tags.

target_arn str

The ARN of the Amazon Connect instance the phone number is claimed to.

address String

The phone number e164 address.

phoneNumberArn String

The phone number ARN

tags List<Property Map>

One or more tags.

targetArn String

The ARN of the Amazon Connect instance the phone number is claimed to.

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