Interface CfnPhoneNumberMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPhoneNumberMixinProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:19:57.597Z")
@Stability(Stable)
public interface CfnPhoneNumberMixinProps
extends software.amazon.jsii.JsiiSerializable
Properties for CfnPhoneNumberPropsMixin.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.connect.*;
CfnPhoneNumberMixinProps cfnPhoneNumberMixinProps = CfnPhoneNumberMixinProps.builder()
.countryCode("countryCode")
.description("description")
.prefix("prefix")
.sourcePhoneNumberArn("sourcePhoneNumberArn")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.targetArn("targetArn")
.type("type")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnPhoneNumberMixinPropsstatic final classAn implementation forCfnPhoneNumberMixinProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe ISO country code.default StringThe description of the phone number.default StringThe prefix of the phone number.default StringThe claimed phone number ARN that was previously imported from the external service, such as AWS End User Messaging.getTags()The tags used to organize, track, or control access for this resource.default StringThe Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution group that phone numbers are claimed to.default StringgetType()The type of phone number.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
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 AWS End User Messaging.If it is from AWS End User Messaging, it looks like the ARN of the phone number that was imported from AWS End User Messaging.
- See Also:
-
getTags
The tags used to organize, track, or control access for this resource.For example, { "tags": {"key1":"value1", "key2":"value2"} }.
- See Also:
-
getTargetArn
The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution group that phone numbers are claimed to.- See Also:
-
getType
The type of phone number.- See Also:
-
builder
- Returns:
- a
CfnPhoneNumberMixinProps.BuilderofCfnPhoneNumberMixinProps
-