AWS Native
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:
- Phone
Number stringArn The phone number ARN
- Phone
Number stringArn The phone number ARN
- phone
Number StringArn The phone number ARN
- phone
Number stringArn The phone number ARN
- phone_
number_ strarn The phone number ARN
- phone
Number StringArn The phone number ARN
getPhoneNumber Result
The following output properties are available:
- Address string
The phone number e164 address.
- Phone
Number stringArn The phone number ARN
- List<Pulumi.
Aws Native. Connect. Outputs. Phone Number Tag> One or more tags.
- Target
Arn string The ARN of the Amazon Connect instance the phone number is claimed to.
- Address string
The phone number e164 address.
- Phone
Number stringArn The phone number ARN
- []Phone
Number Tag One or more tags.
- Target
Arn string The ARN of the Amazon Connect instance the phone number is claimed to.
- address String
The phone number e164 address.
- phone
Number StringArn The phone number ARN
- List<Phone
Number Tag> One or more tags.
- target
Arn String The ARN of the Amazon Connect instance the phone number is claimed to.
- address string
The phone number e164 address.
- phone
Number stringArn The phone number ARN
- Phone
Number Tag[] One or more tags.
- target
Arn string The ARN of the Amazon Connect instance the phone number is claimed to.
- address str
The phone number e164 address.
- phone_
number_ strarn The phone number ARN
- Sequence[Phone
Number Tag] 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.
- phone
Number StringArn The phone number ARN
- List<Property Map>
One or more tags.
- target
Arn 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