Whatever message this page gives is out now! Go check it out!

UpdateGlobalTableSettings

Last update:
May 18, 2026

Description

This function updates settings for a global table, already created.
For more information, see UpdateGlobalTableSettings.

Category

History

ColdFusion (2021 release): Added this function.

Syntax

serviceHandle.updateGlobalTableSettings(requestParameters)

Parameters

See request parameters of UpdateGlobalTableSettings.

Example

<cfscript> 
    cred = { 
        "credentialAlias" : "myalias", 
        "vendorName" : "AWS", 
        "region" : "us-east-2", 
        "secretAccessKey" : "xxxxx", 
        "accessKeyId" : "xxxx" 
    } 
    config = { 
        "serviceName" = "DYNAMODB" 
      } 
    dynamo = getCloudService(cred, config) 
     
    globalTableName="Movies002" 
    updateGlobalSettingsStruct={ 
        "GlobalTableName": "#globalTableName#", 
        "GlobalTableBillingMode": "PROVISIONED", 
        "GlobalTableProvisionedWriteCapacityAutoScalingSettingsUpdate": { 
            "AutoScalingDisabled": true 
        }, 
        "GlobalTableProvisionedWriteCapacityUnits": 20, 
        "ReplicaSettingsUpdate": [ 
            {  
                "RegionName": "us-east-2", 
                "ReplicaProvisionedReadCapacityUnits": 20 
            } 
        ] 
    } 
 
    try{ 
        updateGlobalTableResponse=dynamo.updateGlobalTableSettings(updateGlobalSettingsStruct) 
        writeOutput("Settings updated successfully") 
        writeDump(updateGlobalTableResponse) 
    } 
    catch (any e){ 
        writeDump(e) 
    } 
</cfscript>

Output

Figure: UpdateGlobalTableSettings output
UpdateGlobalTableSettings output

Share this page

Was this page helpful?
We're glad. Tell us how this page helped.
We're sorry. Can you tell us what didn't work for you?
Thank you for your feedback. Your response will help improve this page.

On this page