Class CfnVerifiedDestinationNumber
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.smsvoice.CfnVerifiedDestinationNumber
- All Implemented Interfaces:
IInspectable,IEnvironmentAware,IVerifiedDestinationNumberRef,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.140.0 (build 79fd58c)",
date="2026-09-30T11:05:01.811Z")
@Stability(Stable)
public class CfnVerifiedDestinationNumber
extends CfnResource
implements IInspectable, IVerifiedDestinationNumberRef, ITaggableV2
A destination phone number that has been registered for verification with AWS End User Messaging SMS.
A newly created number is in PENDING status; it becomes VERIFIED only after the recipient supplies the one-time code out of band.
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.smsvoice.*;
CfnVerifiedDestinationNumber cfnVerifiedDestinationNumber = CfnVerifiedDestinationNumber.Builder.create(this, "MyCfnVerifiedDestinationNumber")
.destinationPhoneNumber("destinationPhoneNumber")
// the properties below are optional
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnVerifiedDestinationNumber.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.smsvoice.IVerifiedDestinationNumberRef
IVerifiedDestinationNumberRef.Jsii$Default, IVerifiedDestinationNumberRef.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnVerifiedDestinationNumber(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnVerifiedDestinationNumber(software.amazon.jsii.JsiiObjectRef objRef) CfnVerifiedDestinationNumber(software.constructs.Construct scope, String id, CfnVerifiedDestinationNumberProps props) Create a newAWS::SMSVOICE::VerifiedDestinationNumber. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringThe time when the verified destination phone number was created.The status of the verified destination phone number.The Amazon Resource Name (ARN) for the verified destination phone number.The unique identifier for the verified destination phone number.Tag Manager which manages the tags for this resource.The verified destination phone number, in E.164 format.getTags()An array of key-value pairs to apply to this resource.A reference to a VerifiedDestinationNumber resource.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnVerifiedDestinationNumber.renderProperties(Map<String, Object> props) voidsetDestinationPhoneNumber(String value) The verified destination phone number, in E.164 format.voidAn array of key-value pairs to apply to this resource.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, addResourceDependency, addResourceDependency, applyCrossStackReferenceStrength, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, cfnPropertyName, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, removeDependency, removeResourceDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId, withMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNode, withMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnVerifiedDestinationNumber
protected CfnVerifiedDestinationNumber(software.amazon.jsii.JsiiObjectRef objRef) -
CfnVerifiedDestinationNumber
protected CfnVerifiedDestinationNumber(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnVerifiedDestinationNumber
@Stability(Stable) public CfnVerifiedDestinationNumber(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnVerifiedDestinationNumberProps props) Create a newAWS::SMSVOICE::VerifiedDestinationNumber.- Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
arnForVerifiedDestinationNumber
@Stability(Stable) @NotNull public static String arnForVerifiedDestinationNumber(@NotNull IVerifiedDestinationNumberRef resource) - Parameters:
resource- This parameter is required.
-
isCfnVerifiedDestinationNumber
Checks whether the given object is a CfnVerifiedDestinationNumber.- Parameters:
x- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrCreatedTimestamp
The time when the verified destination phone number was created. -
getAttrStatus
The status of the verified destination phone number.PENDING means the phone number has not been verified yet; VERIFIED means it is verified and can receive messages.
-
getAttrVerifiedDestinationNumberArn
The Amazon Resource Name (ARN) for the verified destination phone number. -
getAttrVerifiedDestinationNumberId
The unique identifier for the verified destination phone number. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getCfnPropertyNames
- Overrides:
getCfnPropertyNamesin classCfnResource
-
getVerifiedDestinationNumberRef
@Stability(Stable) @NotNull public VerifiedDestinationNumberReference getVerifiedDestinationNumberRef()A reference to a VerifiedDestinationNumber resource.- Specified by:
getVerifiedDestinationNumberRefin interfaceIVerifiedDestinationNumberRef
-
getDestinationPhoneNumber
The verified destination phone number, in E.164 format. -
setDestinationPhoneNumber
The verified destination phone number, in E.164 format. -
getTags
An array of key-value pairs to apply to this resource. -
setTags
An array of key-value pairs to apply to this resource.
-