global_settings
Creates, updates, deletes, gets or lists a global_settings resource.
Overview
| Name | global_settings |
| Type | Resource |
| Id | aws.chime_sdk_voice.global_settings |
Fields
The following fields are returned by SELECT queries:
- get_global_settings
| Name | Datatype | Description |
|---|---|---|
cdr_bucket | string | The S3 bucket that stores the Voice Connector's call detail records. (pattern: <code>(?!(^xn--|.+-s3alias$))^[a-z0-9][a-z0-9-]{1,61}[a-z0-9]$</code>) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_global_settings | select | region | Retrieves the global settings for the Amazon Chime SDK Voice Connectors in an AWS account. | |
update_global_settings | update | region, VoiceConnector | Updates global settings for the Amazon Chime SDK Voice Connectors in an AWS account. |
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 |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- get_global_settings
Retrieves the global settings for the Amazon Chime SDK Voice Connectors in an AWS account.
SELECT
cdr_bucket
FROM aws.chime_sdk_voice.global_settings
WHERE region = '{{ region }}' -- required
;
UPDATE examples
- update_global_settings
Updates global settings for the Amazon Chime SDK Voice Connectors in an AWS account.
UPDATE aws.chime_sdk_voice.global_settings
SET
VoiceConnector = '{{ VoiceConnector }}'
WHERE
region = '{{ region }}' --required
AND VoiceConnector = '{{ VoiceConnector }}' --required;