PhoneNumberState class
Input properties used for looking up and filtering PhoneNumber resources.
Constructors
-
PhoneNumberState({Input<
String?> ? arn, Input<String?> ? countryCode, Input<String?> ? description, Input<String?> ? phoneNumber, Input<String?> ? prefix, Input<String?> ? region, Input<List< ? statuses, Input<PhoneNumberStatus> ?>Map< ? tags, Input<String, String> ?>Map< ? tagsAll, Input<String, String> ?>String?> ? targetArn, Input<String?> ? type}) -
Creates a new PhoneNumberState.
arnThe ARN of the phone number.countryCodeThe ISO country code. For a list of Valid values, refer to PhoneNumberCountryCode.descriptionThe description of the phone number.phoneNumberThe phone number. Phone numbers are formatted[+] [country code] [subscriber number including area code].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.statusesThe status of the phone number. Valid Values:CLAIMED|IN_PROGRESS|FAILED.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.tagsAllA map of tags assigned to the resource, including those inherited from the providerdefaultTagsconfiguration block.targetArnARN for Amazon Connect instances that phone numbers are claimed to.typeThe type of phone number. Valid Values:TOLL_FREE|DID.const -
PhoneNumberState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
arn
→ Input<
String?> ? -
The ARN of the phone number.
final
-
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
-
phoneNumber
→ Input<
String?> ? -
The phone number. Phone numbers are formatted
[+] [country code] [subscriber number including area code].final -
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
-
statuses
→ Input<
List< ?PhoneNumberStatus> ?> -
The status of the phone number. Valid Values:
CLAIMED|IN_PROGRESS|FAILED.final -
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 -
A map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.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