Interface IEmailIdentity.Jsii$Default

All Superinterfaces:
software.constructs.IConstruct, software.constructs.IConstruct.Jsii$Default, software.constructs.IDependable, software.constructs.IDependable.Jsii$Default, IEmailIdentity, IEmailIdentityRef, IEmailIdentityRef.Jsii$Default, IEnvironmentAware, IEnvironmentAware.Jsii$Default, IResource, IResource.Jsii$Default, software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
IEmailIdentity.Jsii$Proxy
Enclosing interface:
IEmailIdentity

@Internal public static interface IEmailIdentity.Jsii$Default extends IEmailIdentity, IResource.Jsii$Default, IEmailIdentityRef.Jsii$Default
Internal default implementation for IEmailIdentity.
  • Method Details

    • getEmailIdentityArn

      @Stability(Stable) @NotNull default String getEmailIdentityArn()
      The ARN of the email identity.
      Specified by:
      getEmailIdentityArn in interface IEmailIdentity
    • getEmailIdentityName

      @Stability(Stable) @NotNull default String getEmailIdentityName()
      The name of the email identity.
      Specified by:
      getEmailIdentityName in interface IEmailIdentity
    • grant

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

      Specified by:
      grant in interface IEmailIdentity
      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 default Grant grantSendEmail(@NotNull IGrantable grantee)
      Permits an IAM principal the send email action.

      Actions: SendEmail.

      Specified by:
      grantSendEmail in interface IEmailIdentity
      Parameters:
      grantee - the principal to grant access to. This parameter is required.