Skip to content

HarnessGatewayOutboundAuth

Union Type

HarnessGatewayOutboundAuth module-attribute

Authentication method for calling a Gateway.

Union Member Types

HarnessGatewayOutboundAuthAwsIam dataclass

Bases: _SerdeShape

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

Attributes

value instance-attribute
value: Unit

HarnessGatewayOutboundAuthNone dataclass

Bases: _SerdeShape

No authentication.

Attributes

value instance-attribute
value: Unit

HarnessGatewayOutboundAuthOauth dataclass

Bases: _SerdeShape

OAuth 2.0 authentication via AgentCore Identity.

The AUTHORIZATION_CODE grant type is not supported for outbound authentication from a harness to an AgentCore Gateway, even when defaultReturnUrl is specified.

Attributes

value instance-attribute

HarnessGatewayOutboundAuthUnknown dataclass

Bases: _SerdeShape

Represents an unknown variant. If you receive this value, you will need to update your library to receive the parsed value. This value may not be deliberately sent.

Attributes

tag instance-attribute
tag: str