Skip to content

HarnessGatewayOutboundAuthDict

Union Type

HarnessGatewayOutboundAuthDict module-attribute

Dictionary form of HarnessGatewayOutboundAuth, setting exactly one variant.

Union Member Types

HarnessGatewayOutboundAuthAwsIamDict

Bases: TypedDict

Attributes

aws_iam instance-attribute
aws_iam: Unit | UnitDict

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

HarnessGatewayOutboundAuthNoneDict

Bases: TypedDict

Attributes

none instance-attribute
none: Unit | UnitDict

No authentication.

HarnessGatewayOutboundAuthOauthDict

Bases: TypedDict

Attributes

oauth instance-attribute

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.