PhoneNumberArgs class

The set of arguments for PhoneNumber. The set of arguments for PhoneNumber.

Constructors

PhoneNumberArgs({required Input<String> countryCode, Input<String?>? description, Input<String?>? prefix, Input<String?>? region, Input<Map<String, String>?>? tags, required Input<String> targetArn, required Input<String> type})
Creates a new PhoneNumberArgs. countryCode The ISO country code. For a list of Valid values, refer to PhoneNumberCountryCode. description The description of the phone number. prefix The prefix of the phone number that is used to filter available phone numbers. If provided, it must contain + as part of the country code. Do not specify this argument when importing the resource. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. tags Tags to apply to the Phone Number. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level. targetArn ARN for Amazon Connect instances that phone numbers are claimed to. type The type of phone number. Valid Values: TOLL_FREE | DID.
const
PhoneNumberArgs.fromMap(Map<String, dynamic> map)
factory

Properties

countryCode → Input<String>
The ISO country code. For a list of Valid values, refer to PhoneNumberCountryCode.
final
description → Input<String?>?
The description of the phone number.
final
hashCode → int
The hash code for this object.
no setterinherited
prefix → Input<String?>?
The prefix of the phone number that is used to filter available phone numbers. If provided, it must contain + as part of the country code. Do not specify this argument when importing the resource.
final
region → Input<String?>?
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tags → Input<Map<String, String>?>?
Tags to apply to the Phone Number. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
final
targetArn → Input<String>
ARN for Amazon Connect instances that phone numbers are claimed to.
final
type → Input<String>
The type of phone number. Valid Values: TOLL_FREE | DID.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited