RelayAuthentication

sealed class RelayAuthentication

Authentication for the relay destination server—specify the secretARN where the SMTP credentials are stored, or specify an empty NoAuthentication structure if the relay destination server does not require SMTP credential authentication.

Inheritors

Types

Link copied to clipboard

Keep an empty structure if the relay destination server does not require SMTP credential authentication.

Link copied to clipboard
Link copied to clipboard
data class SecretArn(val value: String) : RelayAuthentication

The ARN of the secret created in secrets manager where the relay server's SMTP credentials are stored.

Functions

Link copied to clipboard

Casts this RelayAuthentication as a SecretArn and retrieves its kotlin.String value. Throws an exception if the RelayAuthentication is not a SecretArn.

Link copied to clipboard

Casts this RelayAuthentication as a SecretArn and retrieves its kotlin.String value. Returns null if the RelayAuthentication is not a SecretArn.