Class: Aws::BedrockAgentCore::Types::HarnessGatewayOutboundAuth

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

Overview

Note:

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

Authentication method for calling a Gateway.

Defined Under Namespace

Classes: AwsIam, None, Oauth, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#aws_iam ⇒ Types::Unit

SigV4-sign requests using the agent's execution role.

Returns:

  • (Types::Unit)


4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 4709

class HarnessGatewayOutboundAuth < Struct.new(
  :aws_iam,
  :none,
  :oauth,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class AwsIam < HarnessGatewayOutboundAuth; end
  class None < HarnessGatewayOutboundAuth; end
  class Oauth < HarnessGatewayOutboundAuth; end
  class Unknown < HarnessGatewayOutboundAuth; end
end

#none ⇒ Types::Unit

No authentication.

Returns:

  • (Types::Unit)


4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 4709

class HarnessGatewayOutboundAuth < Struct.new(
  :aws_iam,
  :none,
  :oauth,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class AwsIam < HarnessGatewayOutboundAuth; end
  class None < HarnessGatewayOutboundAuth; end
  class Oauth < HarnessGatewayOutboundAuth; end
  class Unknown < HarnessGatewayOutboundAuth; end
end

#oauth ⇒ Types::OAuthCredentialProvider

OAuth 2.0 authentication via AgentCore Identity.



4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 4709

class HarnessGatewayOutboundAuth < Struct.new(
  :aws_iam,
  :none,
  :oauth,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class AwsIam < HarnessGatewayOutboundAuth; end
  class None < HarnessGatewayOutboundAuth; end
  class Oauth < HarnessGatewayOutboundAuth; end
  class Unknown < HarnessGatewayOutboundAuth; end
end

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



4709
4710
4711
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 4709

def unknown
  @unknown
end