View source: R/lightsail_operations.R
lightsail_update_distribution | R Documentation |
Updates an existing Amazon Lightsail content delivery network (CDN) distribution.
See https://www.paws-r-sdk.com/docs/lightsail_update_distribution/ for full documentation.
lightsail_update_distribution(
distributionName,
origin = NULL,
defaultCacheBehavior = NULL,
cacheBehaviorSettings = NULL,
cacheBehaviors = NULL,
isEnabled = NULL
)
distributionName |
[required] The name of the distribution to update. Use the |
origin |
An object that describes the origin resource for the distribution, such as a Lightsail instance, bucket, or load balancer. The distribution pulls, caches, and serves content from the origin. |
defaultCacheBehavior |
An object that describes the default cache behavior for the distribution. |
cacheBehaviorSettings |
An object that describes the cache behavior settings for the distribution. The |
cacheBehaviors |
An array of objects that describe the per-path cache behavior for the distribution. |
isEnabled |
Indicates whether to enable the distribution. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.