v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-14159650798.5 KB

Updates an existing Amazon Lightsail content delivery network (CDN) distribution.

Use this action to update the configuration of your existing distribution.

post/#X-Amz-Target=Lightsail_20161128.UpdateDistribution

Headers

X-Amz-Target'Lightsail_20161128.UpdateDistribution' required

Request body

distributionNamestring required
<p>The name of the distribution to update.</p> <p>Use the <code>GetDistributions</code> action to get a list of distribution names that you can specify.</p>
isEnabledboolean

Indicates whether to enable the distribution.

Response

Success