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

An OAuth credential provider for gateway authentication. This structure contains the configuration for authenticating with the target endpoint using OAuth.

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.bedrockagentcorecontrol.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.bedrockagentcorecontrol.model.Unit value. Throws an exception if the HarnessGatewayOutboundAuth is not a None.

Link copied to clipboard
Link copied to clipboard