Interface CfnPhoneNumberProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPhoneNumberProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)",
date="2024-05-08T21:35:04.909Z")
@Stability(Stable)
public interface CfnPhoneNumberProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnPhoneNumber
.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.connect.*; CfnPhoneNumberProps cfnPhoneNumberProps = CfnPhoneNumberProps.builder() .targetArn("targetArn") // the properties below are optional .countryCode("countryCode") .description("description") .prefix("prefix") .sourcePhoneNumberArn("sourcePhoneNumberArn") .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .type("type") .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnPhoneNumberProps
static final class
An implementation forCfnPhoneNumberProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnPhoneNumberProps.Builder
builder()
default String
The ISO country code.default String
The description of the phone number.default String
The prefix of the phone number.default String
The claimed phone number ARN that was previously imported from the external service, such as Amazon Pinpoint.getTags()
The tags used to organize, track, or control access for this resource.The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution group that phone numbers are claimed to.default String
getType()
The type of phone number.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getTargetArn
The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution group that phone numbers are claimed to.- See Also:
-
getCountryCode
The ISO country code.- See Also:
-
getDescription
The description of the phone number.- See Also:
-
getPrefix
The prefix of the phone number. If provided, it must contain+
as part of the country code.Pattern :
^\\+[0-9]{1,15}
- See Also:
-
getSourcePhoneNumberArn
The claimed phone number ARN that was previously imported from the external service, such as Amazon Pinpoint.If it is from Amazon Pinpoint, it looks like the ARN of the phone number that was imported from Amazon Pinpoint.
- See Also:
-
getTags
The tags used to organize, track, or control access for this resource.For example, { "tags": {"key1":"value1", "key2":"value2"} }.
- See Also:
-
getType
The type of phone number.- See Also:
-
builder
- Returns:
- a
CfnPhoneNumberProps.Builder
ofCfnPhoneNumberProps
-