Class: Aws::Context::Types::AccessConfig

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

Overview

Note:

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

Note:

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

The authorization that AWS Context uses to read a connection's data source at search time. Specify at most one member. For a third-party connection, configure Credential Broker settings on its AWS Glue connection, not in this structure.

Defined Under Namespace

Classes: IamRole, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#iam_role ⇒ Types::IamRoleAccess

Assume-role access. The service assumes roleArn to read the connection's data source.



234
235
236
237
238
239
240
241
242
243
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 234

class AccessConfig < Struct.new(
  :iam_role,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class IamRole < AccessConfig; end
  class Unknown < AccessConfig; end
end

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



234
235
236
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 234

def unknown
  @unknown
end