Skip to content

ResendValidationEmail

Source: src/AWS/ACM/ResendValidationEmail.ts

Runtime binding for acm:ResendValidationEmail.

Bind this operation to a Certificate requested with validationMethod: "EMAIL" to get a callable that re-sends the domain ownership validation email — e.g. behind a “resend email” button in an onboarding flow. Calling it on a DNS-validated certificate fails with the typed InvalidStateException. Provide the implementation with Effect.provide(AWS.ACM.ResendValidationEmailHttp).

// init — bind the operation to the certificate
const resendValidationEmail =
yield* AWS.ACM.ResendValidationEmail(certificate);
// runtime
yield* resendValidationEmail({
Domain: "www.example.com",
ValidationDomain: "example.com",
});