Class CfnEmailIdentityCertificate

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IInspectable, IEnvironmentAware, IEmailIdentityCertificateRef, 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.615Z") @Stability(Stable) public class CfnEmailIdentityCertificate extends CfnResource implements IInspectable, IEmailIdentityCertificateRef
Associates an AWS Certificate Manager certificate with a sender under an SES email identity, so that SES signs the sender's mail with S/MIME.

Removing this resource removes only the association. The ACM certificate itself stays intact. SES stores the sender lower-cased, and this provider matches senders case-insensitively and preserves the casing from the template.

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.*;
 CfnEmailIdentityCertificate cfnEmailIdentityCertificate = CfnEmailIdentityCertificate.Builder.create(this, "MyCfnEmailIdentityCertificate")
         .certificateArn("certificateArn")
         .emailIdentity("emailIdentity")
         .fromAddress("fromAddress")
         .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

    • CfnEmailIdentityCertificate

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

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

      @Stability(Stable) public CfnEmailIdentityCertificate(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnEmailIdentityCertificateProps props)
      Create a new AWS::SES::EmailIdentityCertificate.

      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

    • isCfnEmailIdentityCertificate

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

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

      @Stability(Stable) @NotNull public EmailIdentityCertificateReference getEmailIdentityCertificateRef()
      A reference to a EmailIdentityCertificate resource.
      Specified by:
      getEmailIdentityCertificateRef in interface IEmailIdentityCertificateRef
    • getCertificateArn

      @Stability(Stable) @NotNull public String getCertificateArn()
      The ARN of the AWS Certificate Manager certificate to associate with the sender.
    • setCertificateArn

      @Stability(Stable) public void setCertificateArn(@NotNull String value)
      The ARN of the AWS Certificate Manager certificate to associate with the sender.
    • getEmailIdentity

      @Stability(Stable) @NotNull public String getEmailIdentity()
      The email identity that owns the sender the certificate is associated with.
    • setEmailIdentity

      @Stability(Stable) public void setEmailIdentity(@NotNull String value)
      The email identity that owns the sender the certificate is associated with.
    • getFromAddress

      @Stability(Stable) @NotNull public String getFromAddress()
      The sender the certificate signs for.
    • setFromAddress

      @Stability(Stable) public void setFromAddress(@NotNull String value)
      The sender the certificate signs for.