aws lightsail update-distribution

Updates an existing Amazon Lightsail content delivery network (CDN) distribution. Use this action to update the configuration of your existing distribution


--distribution-name <string>The name of the distribution to update. Use the GetDistributions action to get a list of distribution names that you can specify
--origin <structure>An object that describes the origin resource for the distribution, such as a Lightsail instance or load balancer. The distribution pulls, caches, and serves content from the origin
--default-cache-behavior <structure>An object that describes the default cache behavior for the distribution
--cache-behavior-settings <structure>An object that describes the cache behavior settings for the distribution. The cacheBehaviorSettings specified in your UpdateDistributionRequest will replace your distribution's existing settings
--cache-behaviors <list>An array of objects that describe the per-path cache behavior for the distribution
--is-enabledIndicates whether to enable the distribution
--no-is-enabledIndicates whether to enable the distribution
--cli-input-json <string>Performs service operation based on the JSON string provided. The JSON string follows the format provided by ``--generate-cli-skeleton``. If other arguments are provided on the command line, the CLI values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally
--generate-cli-skeleton <string>Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value ``input``, prints a sample input JSON that can be used as an argument for ``--cli-input-json``. If provided with the value ``output``, it validates the command inputs and returns a sample output JSON for that command