Class: Aws::CloudExtensions::Types::Authentication

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

Overview

Note:

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

Note:

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

Controls how clients identify themselves when interacting with an extension.

Defined Under Namespace

Classes: ExtensionKey, None, RuntimeCredentials, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#extension_key ⇒ Types::ExtensionKey

Clients sign requests with SigV4 using a key the service issues.

Returns:



76
77
78
79
80
81
82
83
84
85
86
87
88
89
# File 'gems/aws-sdk-cloudextensions/lib/aws-sdk-cloudextensions/types.rb', line 76

class Authentication < Struct.new(
  :none,
  :runtime_credentials,
  :extension_key,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class None < Authentication; end
  class RuntimeCredentials < Authentication; end
  class ExtensionKey < Authentication; end
  class Unknown < Authentication; end
end

#none ⇒ Boolean

Whether clients may interact with the extension interface without authenticating.

Returns:

  • (Boolean)


76
77
78
79
80
81
82
83
84
85
86
87
88
89
# File 'gems/aws-sdk-cloudextensions/lib/aws-sdk-cloudextensions/types.rb', line 76

class Authentication < Struct.new(
  :none,
  :runtime_credentials,
  :extension_key,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class None < Authentication; end
  class RuntimeCredentials < Authentication; end
  class ExtensionKey < Authentication; end
  class Unknown < Authentication; end
end

#runtime_credentials ⇒ Types::RuntimeCredentials

Clients sign requests with SigV4 using the AWS credentials the Cloud Extensions Runtime gets from its environment.

Returns:

  • (Types::RuntimeCredentials)


76
77
78
79
80
81
82
83
84
85
86
87
88
89
# File 'gems/aws-sdk-cloudextensions/lib/aws-sdk-cloudextensions/types.rb', line 76

class Authentication < Struct.new(
  :none,
  :runtime_credentials,
  :extension_key,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class None < Authentication; end
  class RuntimeCredentials < Authentication; end
  class ExtensionKey < Authentication; end
  class Unknown < Authentication; end
end

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



76
77
78
# File 'gems/aws-sdk-cloudextensions/lib/aws-sdk-cloudextensions/types.rb', line 76

def unknown
  @unknown
end