CmdID

CmdID / aws / aws lightsail

aws lightsail create-distribution

Creates an Amazon Lightsail content delivery network (CDN) distribution. AWS CLI reference

15 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Options

15 in the AWS CLI reference
--bundle-idThe bundle ID to use for the distribution.
--cache-behavior-settingsAn object that describes the cache behavior settings for the distribution.
--cache-behaviorsAn array of objects that describe the per-path cache behavior for the distribution.
--certificate-nameThe name of the SSL/TLS certificate that you want to attach to the distribution.
--custom-error-responsesAn array of objects that describe the custom error responses for the distribution.
--default-cache-behaviorAn object that describes the default cache behavior for the distribution.
--default-root-objectThe object (for example, index.html) that the distribution returns when a viewer requests the root URL of the distribution (/) instead of a specific object.
--distribution-nameThe name for the distribution.
--enable-private-origin-accessSpecifies whether to enable private origin access for the distribution.
--enable-wafSpecifies whether to enable Web Application Firewall (WAF) for the distribution.
--ip-address-typeThe IP address type for the distribution.
--originAn object that describes the origin resource for the distribution, such as a Lightsail instance, bucket, or load balancer.
--tagsThe tag keys and optional values to add to the distribution during create.
--viewer-minimum-tls-protocol-versionThe minimum TLS protocol version for the SSL/TLS certificate.
--waf-rulesAn array of objects that describe the WAF rule groups to enable for the distribution.