Skip to main content
Version: Next

remote::bedrock

Description​

AWS Bedrock safety provider for content moderation using AWS's safety services.

Configuration​

FieldTypeRequiredDefaultDescription
aws_access_key_idstr | NoneNoThe AWS access key to use. Default use environment variable: AWS_ACCESS_KEY_ID
aws_secret_access_keystr | NoneNoThe AWS secret access key to use. Default use environment variable: AWS_SECRET_ACCESS_KEY
aws_session_tokenstr | NoneNoThe AWS session token to use. Default use environment variable: AWS_SESSION_TOKEN
region_namestr | NoneNoThe default AWS Region to use, for example, us-west-1 or us-west-2.Default use environment variable: AWS_DEFAULT_REGION
profile_namestr | NoneNoThe profile name that contains credentials to use.Default use environment variable: AWS_PROFILE
total_max_attemptsint | NoneNoAn integer representing the maximum number of attempts that will be made for a single request, including the initial attempt. Default use environment variable: AWS_MAX_ATTEMPTS
retry_modestr | NoneNoA string representing the type of retries Boto3 will perform.Default use environment variable: AWS_RETRY_MODE
connect_timeoutfloat | NoneNo60.0The time in seconds till a timeout exception is thrown when attempting to make a connection. The default is 60 seconds.
read_timeoutfloat | NoneNo60.0The time in seconds till a timeout exception is thrown when attempting to read from a connection.The default is 60 seconds.
session_ttlint | NoneNo3600The time in seconds till a session expires. The default is 3600 seconds (1 hour).

Sample Configuration​

{}