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)


2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 2534

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

  class NoAuthentication < RelayAuthentication; end
  class SecretArn < 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)


2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 2534

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

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

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



2534
2535
2536
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 2534

def unknown
  @unknown
end