Class CfnCustomVerificationEmailTemplate

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.ses.CfnCustomVerificationEmailTemplate
All Implemented Interfaces:
IInspectable, IEnvironmentAware, ICustomVerificationEmailTemplateRef, ITaggableV2, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)", date="2026-03-02T12:05:17.363Z") @Stability(Stable) public class CfnCustomVerificationEmailTemplate extends CfnResource implements IInspectable, ICustomVerificationEmailTemplateRef, ITaggableV2
Resource Type definition for AWS::SES::CustomVerificationEmailTemplate.

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.ses.*;
 CfnCustomVerificationEmailTemplate cfnCustomVerificationEmailTemplate = CfnCustomVerificationEmailTemplate.Builder.create(this, "MyCfnCustomVerificationEmailTemplate")
         .failureRedirectionUrl("failureRedirectionUrl")
         .fromEmailAddress("fromEmailAddress")
         .successRedirectionUrl("successRedirectionUrl")
         .templateContent("templateContent")
         .templateName("templateName")
         .templateSubject("templateSubject")
         // 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

    • CfnCustomVerificationEmailTemplate

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

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

      @Stability(Stable) public CfnCustomVerificationEmailTemplate(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnCustomVerificationEmailTemplateProps props)
      Create a new AWS::SES::CustomVerificationEmailTemplate.

      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

    • arnForCustomVerificationEmailTemplate

      @Stability(Stable) @NotNull public static String arnForCustomVerificationEmailTemplate(@NotNull ICustomVerificationEmailTemplateRef resource)
      Parameters:
      resource - This parameter is required.
    • fromTemplateName

      @Stability(Stable) @NotNull public static ICustomVerificationEmailTemplateRef fromTemplateName(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String templateName)
      Creates a new ICustomVerificationEmailTemplateRef from a templateName.

      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      templateName - This parameter is required.
    • isCfnCustomVerificationEmailTemplate

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

      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.
    • 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
    • getCustomVerificationEmailTemplateRef

      @Stability(Stable) @NotNull public CustomVerificationEmailTemplateReference getCustomVerificationEmailTemplateRef()
      A reference to a CustomVerificationEmailTemplate resource.
      Specified by:
      getCustomVerificationEmailTemplateRef in interface ICustomVerificationEmailTemplateRef
    • getFailureRedirectionUrl

      @Stability(Stable) @NotNull public String getFailureRedirectionUrl()
      The URL that the recipient of the verification email is sent to if his or her address is not successfully verified.
    • setFailureRedirectionUrl

      @Stability(Stable) public void setFailureRedirectionUrl(@NotNull String value)
      The URL that the recipient of the verification email is sent to if his or her address is not successfully verified.
    • getFromEmailAddress

      @Stability(Stable) @NotNull public String getFromEmailAddress()
      The email address that the custom verification email is sent from.
    • setFromEmailAddress

      @Stability(Stable) public void setFromEmailAddress(@NotNull String value)
      The email address that the custom verification email is sent from.
    • getSuccessRedirectionUrl

      @Stability(Stable) @NotNull public String getSuccessRedirectionUrl()
      The URL that the recipient of the verification email is sent to if his or her address is successfully verified.
    • setSuccessRedirectionUrl

      @Stability(Stable) public void setSuccessRedirectionUrl(@NotNull String value)
      The URL that the recipient of the verification email is sent to if his or her address is successfully verified.
    • getTemplateContent

      @Stability(Stable) @NotNull public String getTemplateContent()
      The content of the custom verification email.
    • setTemplateContent

      @Stability(Stable) public void setTemplateContent(@NotNull String value)
      The content of the custom verification email.
    • getTemplateName

      @Stability(Stable) @NotNull public String getTemplateName()
      The name of the custom verification email template.
    • setTemplateName

      @Stability(Stable) public void setTemplateName(@NotNull String value)
      The name of the custom verification email template.
    • getTemplateSubject

      @Stability(Stable) @NotNull public String getTemplateSubject()
      The subject line of the custom verification email.
    • setTemplateSubject

      @Stability(Stable) public void setTemplateSubject(@NotNull String value)
      The subject line of the custom verification email.
    • getTags

      @Stability(Stable) @Nullable public List<CfnTag> getTags()
      The tags (keys and values) associated with the tenant.
    • setTags

      @Stability(Stable) public void setTags(@Nullable List<CfnTag> value)
      The tags (keys and values) associated with the tenant.