Skip to content

AmazonBedrockCredentials

Namespace: Vercel.AI.AmazonBedrock

public sealed class AmazonBedrockCredentials

AWS credentials used to sign Amazon Bedrock requests.

Inheritance: object

View source

AmazonBedrockCredentials(string, string, string, string?)

Section titled “AmazonBedrockCredentials(string, string, string, string?)”
public AmazonBedrockCredentials(string region, string accessKeyId, string secretAccessKey, string? sessionToken = null)

Creates credentials.

Parameters

Name Type Description
region string
accessKeyId string
secretAccessKey string
sessionToken string

View source

public string AccessKeyId { get; }

Access key id.

Value: string

View source

public string Region { get; }

AWS region.

Value: string

View source

public string SecretAccessKey { get; }

Secret access key.

Value: string

View source

public string? SessionToken { get; }

Optional session token.

Value: string

View source

Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product