Interface IEmailIdentity

All Superinterfaces:
software.constructs.IConstruct, software.constructs.IDependable, IResource, software.amazon.jsii.JsiiSerializable
All Known Subinterfaces:
IEmailIdentity.Jsii$Default
All Known Implementing Classes:
EmailIdentity, IEmailIdentity.Jsii$Proxy

@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)", date="2024-05-08T21:35:14.065Z") @Stability(Stable) public interface IEmailIdentity extends software.amazon.jsii.JsiiSerializable, IResource
An email identity.
  • Method Details

    • getEmailIdentityArn

      @Stability(Stable) @NotNull String getEmailIdentityArn()
      The ARN of the email identity.
    • getEmailIdentityName

      @Stability(Stable) @NotNull String getEmailIdentityName()
      The name of the email identity.
    • grant

      @Stability(Stable) @NotNull Grant grant(@NotNull IGrantable grantee, @NotNull @NotNull String... actions)
      Adds an IAM policy statement associated with this email identity to an IAM principal's policy.

      Parameters:
      grantee - the principal (no-op if undefined). This parameter is required.
      actions - the set of actions to allow. This parameter is required.
    • grantSendEmail

      @Stability(Stable) @NotNull Grant grantSendEmail(@NotNull IGrantable grantee)
      Permits an IAM principal the send email action.

      Actions: SendEmail.

      Parameters:
      grantee - the principal to grant access to. This parameter is required.