AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi
aws-native.connect.getPhoneNumber
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi
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.
- Description string
- The description of the phone number.
- Phone
Number stringArn - The phone number ARN
- List<Pulumi.
Aws Native. Outputs. Tag> - One or more tags.
- Target
Arn string - The ARN of the target the phone number is claimed to.
- Address string
- The phone number e164 address.
- Description string
- The description of the phone number.
- Phone
Number stringArn - The phone number ARN
- Tag
- One or more tags.
- Target
Arn string - The ARN of the target the phone number is claimed to.
- address String
- The phone number e164 address.
- description String
- The description of the phone number.
- phone
Number StringArn - The phone number ARN
- List<Tag>
- One or more tags.
- target
Arn String - The ARN of the target the phone number is claimed to.
- address string
- The phone number e164 address.
- description string
- The description of the phone number.
- phone
Number stringArn - The phone number ARN
- Tag[]
- One or more tags.
- target
Arn string - The ARN of the target the phone number is claimed to.
- address str
- The phone number e164 address.
- description str
- The description of the phone number.
- phone_
number_ strarn - The phone number ARN
- Sequence[root_Tag]
- One or more tags.
- target_
arn str - The ARN of the target the phone number is claimed to.
- address String
- The phone number e164 address.
- description String
- The description of the phone number.
- phone
Number StringArn - The phone number ARN
- List<Property Map>
- One or more tags.
- target
Arn String - The ARN of the target the phone number is claimed to.
Supporting Types
Tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi