Class CfnRegistration

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IInspectable, IEnvironmentAware, IRegistrationRef, ITaggableV2, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.138.0 (build 0ca7ee8)", date="2026-08-10T14:51:12.328Z") @Stability(Stable) public class CfnRegistration extends CfnResource implements IInspectable, IRegistrationRef, ITaggableV2
A registration that has been created.

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.*;
 CfnRegistration cfnRegistration = CfnRegistration.Builder.create(this, "MyCfnRegistration")
         .registrationType("registrationType")
         // 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

    • CfnRegistration

      protected CfnRegistration(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnRegistration

      protected CfnRegistration(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnRegistration

      @Stability(Stable) public CfnRegistration(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnRegistrationProps props)
      Create a new AWS::SMSVOICE::Registration.

      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

    • arnForRegistration

      @Stability(Stable) @NotNull public static String arnForRegistration(@NotNull IRegistrationRef resource)
      Parameters:
      resource - This parameter is required.
    • isCfnRegistration

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

      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 registration was created, in UNIX epoch time format.
    • getAttrCurrentVersionNumber

      @Stability(Stable) @NotNull public Number getAttrCurrentVersionNumber()
      The current version number of the registration.
    • getAttrRegistrationArn

      @Stability(Stable) @NotNull public String getAttrRegistrationArn()
      The Amazon Resource Name (ARN) for the registration.
    • getAttrRegistrationId

      @Stability(Stable) @NotNull public String getAttrRegistrationId()
      The unique identifier for the registration.
    • getAttrRegistrationStatus

      @Stability(Stable) @NotNull public String getAttrRegistrationStatus()
      The status of the registration.
    • 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
    • getRegistrationRef

      @Stability(Stable) @NotNull public RegistrationReference getRegistrationRef()
      A reference to a Registration resource.
      Specified by:
      getRegistrationRef in interface IRegistrationRef
    • getRegistrationType

      @Stability(Stable) @NotNull public String getRegistrationType()
      The type of registration form to create.
    • setRegistrationType

      @Stability(Stable) public void setRegistrationType(@NotNull String value)
      The type of registration form to create.
    • getTags

      @Stability(Stable) @Nullable public List<CfnTag> getTags()
      An array of tags (key and value pairs) to associate with the registration.
    • setTags

      @Stability(Stable) public void setTags(@Nullable List<CfnTag> value)
      An array of tags (key and value pairs) to associate with the registration.