enforced_guardrail_configurations
Creates, updates, deletes, gets or lists an enforced_guardrail_configurations resource.
Overview
| Name | enforced_guardrail_configurations |
| Type | Resource |
| Id | aws.bedrock.enforced_guardrail_configurations |
Fields
The following fields are returned by SELECT queries:
SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
put_enforced_guardrail_configuration | replace | region, guardrailInferenceConfig | Sets the account-level enforced guardrail configuration. | |
delete_enforced_guardrail_configuration | delete | config_id, region | Deletes the account-level enforced guardrail configuration. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
config_id | string | Unique ID for the account enforced configuration. |
region | string | AWS region (default: us-east-1) |
REPLACE examples
- put_enforced_guardrail_configuration
Sets the account-level enforced guardrail configuration.
REPLACE aws.bedrock.enforced_guardrail_configurations
SET
configId = '{{ configId }}',
guardrailInferenceConfig = '{{ guardrailInferenceConfig }}'
WHERE
region = '{{ region }}' --required
AND guardrailInferenceConfig = '{{ guardrailInferenceConfig }}' --required
RETURNING
config_id,
updated_at,
updated_by;
DELETE examples
- delete_enforced_guardrail_configuration
Deletes the account-level enforced guardrail configuration.
DELETE FROM aws.bedrock.enforced_guardrail_configurations
WHERE config_id = '{{ config_id }}' --required
AND region = '{{ region }}' --required
;