Skip to main content

Static Unit

Static Unit's configuration will be denoted by the static_unit section in the klotho configuration file.

Each static unit has a configuration containing the following:

FieldTypeDescription
typestring(Optional) The type of service used to host the static unit.
content_delivery_networkObject(Optional) The parameters used to configure the content delivery network.

Type

The type specifies the location, where the static unit will be hosted. Type is provider specific. The following are valid types for static units.

ContentDeliveryNetwork

The content_delivery_network field is used to instruct klotho to put a content delivery network in front of the static unit.

If multiple resources specify a content delivery network with the same id, the will be deployed behind a single network.

FieldTypeDescription
idstring(Optional) The id of the content delivery network.