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< ? tags, required Input<String, String> ?>String> targetArn, required Input<String> type}) -
Creates a new PhoneNumberArgs.
countryCodeThe ISO country code. For a list of Valid values, refer to PhoneNumberCountryCode.descriptionThe description of the phone number.prefixThe 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.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.tagsTags to apply to the Phone Number. If configured with a providerdefaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.targetArnARN for Amazon Connect instances that phone numbers are claimed to.typeThe 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 to apply to the Phone Number. If configured with a provider
defaultTagsconfiguration 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