HarnessGatewayOutboundAuth

Authentication method for calling a Gateway.

Inheritors

Types

Link copied to clipboard
data class AwsIam(val value: Unit) : HarnessGatewayOutboundAuth

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

Link copied to clipboard
data class None(val value: Unit) : HarnessGatewayOutboundAuth

No authentication.

Link copied to clipboard

OAuth 2.0 authentication via AgentCore Identity.

Link copied to clipboard

Functions

Link copied to clipboard
fun asAwsIam(): Unit

Casts this HarnessGatewayOutboundAuth as a AwsIam and retrieves its aws.sdk.kotlin.services.bedrockagentcore.model.Unit value. Throws an exception if the HarnessGatewayOutboundAuth is not a AwsIam.

Link copied to clipboard
Link copied to clipboard
fun asNone(): Unit

Casts this HarnessGatewayOutboundAuth as a None and retrieves its aws.sdk.kotlin.services.bedrockagentcore.model.Unit value. Throws an exception if the HarnessGatewayOutboundAuth is not a None.

Link copied to clipboard
Link copied to clipboard