Class: Aws::MailManager::Types::RelayAuthentication
- Inherits:
-
Struct
- Object
- Struct
- Aws::MailManager::Types::RelayAuthentication
- Defined in:
- gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb
Overview
RelayAuthentication is a union - when making an API calls you must set exactly one of the members.
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
Defined Under Namespace
Classes: NoAuthentication, SecretArn, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#no_authentication ⇒ Types::NoAuthentication
Keep an empty structure if the relay destination server does not require SMTP credential authentication.
-
#secret_arn ⇒ String
The ARN of the secret created in secrets manager where the relay server's SMTP credentials are stored.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#no_authentication ⇒ Types::NoAuthentication
Keep an empty structure if the relay destination server does not require SMTP credential authentication.
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_arn ⇒ String
The ARN of the secret created in secrets manager where the relay server's SMTP credentials are stored.
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 |
#unknown ⇒ Object
Returns the value of attribute unknown
2534 2535 2536 |
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 2534 def unknown @unknown end |