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:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String 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 new AWS::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

      @Stability(Stable) @NotNull public static Boolean isCfnVerifiedDestinationNumber(@NotNull Object x)
      Checks whether the given object is a CfnVerifiedDestinationNumber.

      Parameters:
      x - This parameter is required.
    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      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:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrCreatedTimestamp

      @Stability(Stable) @NotNull public String getAttrCreatedTimestamp()
      The time when the verified destination phone number was created.
    • getAttrStatus

      @Stability(Stable) @NotNull public String 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

      @Stability(Stable) @NotNull public String getAttrVerifiedDestinationNumberArn()
      The Amazon Resource Name (ARN) for the verified destination phone number.
    • getAttrVerifiedDestinationNumberId

      @Stability(Stable) @NotNull public String getAttrVerifiedDestinationNumberId()
      The unique identifier for the verified destination phone number.
    • getCdkTagManager

      @Stability(Stable) @NotNull public TagManager getCdkTagManager()
      Tag Manager which manages the tags for this resource.
      Specified by:
      getCdkTagManager in interface ITaggableV2
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getCfnPropertyNames

      @Stability(Stable) @NotNull protected Map<String,String> getCfnPropertyNames()
      Overrides:
      getCfnPropertyNames in class CfnResource
    • getVerifiedDestinationNumberRef

      @Stability(Stable) @NotNull public VerifiedDestinationNumberReference getVerifiedDestinationNumberRef()
      A reference to a VerifiedDestinationNumber resource.
      Specified by:
      getVerifiedDestinationNumberRef in interface IVerifiedDestinationNumberRef
    • getDestinationPhoneNumber

      @Stability(Stable) @NotNull public String getDestinationPhoneNumber()
      The verified destination phone number, in E.164 format.
    • setDestinationPhoneNumber

      @Stability(Stable) public void setDestinationPhoneNumber(@NotNull String value)
      The verified destination phone number, in E.164 format.
    • getTags

      @Stability(Stable) @Nullable public List<CfnTag> getTags()
      An array of key-value pairs to apply to this resource.
    • setTags

      @Stability(Stable) public void setTags(@Nullable List<CfnTag> value)
      An array of key-value pairs to apply to this resource.