/AWS1/CL_LSA=>UPDATEDISTRIBUTION()
¶
About UpdateDistribution¶
Updates an existing Amazon Lightsail content delivery network (CDN) distribution.
Use this action to update the configuration of your existing distribution.
Method Signature¶
IMPORTING¶
Required arguments:¶
IV_DISTRIBUTIONNAME
TYPE /AWS1/LSARESOURCENAME
/AWS1/LSARESOURCENAME
¶
The name of the distribution to update.
Use the
GetDistributions
action to get a list of distribution names that you can specify.
Optional arguments:¶
IO_ORIGIN
TYPE REF TO /AWS1/CL_LSAINPUTORIGIN
/AWS1/CL_LSAINPUTORIGIN
¶
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.
IO_DEFAULTCACHEBEHAVIOR
TYPE REF TO /AWS1/CL_LSACACHEBEHAVIOR
/AWS1/CL_LSACACHEBEHAVIOR
¶
An object that describes the default cache behavior for the distribution.
IO_CACHEBEHAVIORSETTINGS
TYPE REF TO /AWS1/CL_LSACACHESETTINGS
/AWS1/CL_LSACACHESETTINGS
¶
An object that describes the cache behavior settings for the distribution.
The
cacheBehaviorSettings
specified in yourUpdateDistributionRequest
will replace your distribution's existing settings.
IT_CACHEBEHAVIORS
TYPE /AWS1/CL_LSACACHEBEHAVPERPATH=>TT_CACHEBEHAVIORLIST
TT_CACHEBEHAVIORLIST
¶
An array of objects that describe the per-path cache behavior for the distribution.
IV_ISENABLED
TYPE /AWS1/LSABOOLEAN
/AWS1/LSABOOLEAN
¶
Indicates whether to enable the distribution.
IV_VIEWERMINTLSPROTOCOLVRS
TYPE /AWS1/LSAVIEWERMINTLSPROTOCO00
/AWS1/LSAVIEWERMINTLSPROTOCO00
¶
Use this parameter to update the minimum TLS protocol version for the SSL/TLS certificate that's attached to the distribution.
IV_CERTIFICATENAME
TYPE /AWS1/LSARESOURCENAME
/AWS1/LSARESOURCENAME
¶
The name of the SSL/TLS certificate that you want to attach to the distribution.
Only certificates with a status of
ISSUED
can be attached to a distribution.Use the GetCertificates action to get a list of certificate names that you can specify.
IV_USEDEFAULTCERTIFICATE
TYPE /AWS1/LSABOOLEAN
/AWS1/LSABOOLEAN
¶
Indicates whether the default SSL/TLS certificate is attached to the distribution. The default value is
true
. Whentrue
, the distribution uses the default domain name such asd111111abcdef8.cloudfront.net
.Set this value to
false
to attach a new certificate to the distribution.