Class: Aws::MailManager::Types::RelayAuthentication

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb

Overview

Note:

RelayAuthentication is a union - when making an API calls you must set exactly one of the members.

Note:

RelayAuthentication is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of RelayAuthentication corresponding to the set member.

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.

Direct Known Subclasses

NoAuthentication, SecretArn, Unknown

Defined Under Namespace

Classes: NoAuthentication, SecretArn, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#no_authenticationTypes::NoAuthentication

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

Returns:

  • (Types::NoAuthentication)


3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 3476

class RelayAuthentication < Struct.new(
  :secret_arn,
  :no_authentication,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class SecretArn < RelayAuthentication; end
  class NoAuthentication < RelayAuthentication; end
  class Unknown < RelayAuthentication; end
end

#secret_arnString

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

Returns:

  • (String)


3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 3476

class RelayAuthentication < Struct.new(
  :secret_arn,
  :no_authentication,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class SecretArn < RelayAuthentication; end
  class NoAuthentication < RelayAuthentication; end
  class Unknown < RelayAuthentication; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



3476
3477
3478
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 3476

def unknown
  @unknown
end