class Fastly::Snippet

VCL Snippets are blocks of VCL logic inserted into your service's configuration that don't require custom VCL.

Attributes

content[RW]

The VCL code that specifies exactly what the snippet does

dynamic[RW]

Sets the snippet version to regular (0) or dynamic (1).

id[RW]

The id of the snippet (useful for dynamic snippet reference)

name[RW]

The name of the uploaded VCL snippet.

priority[RW]

Priority determines the ordering for multiple snippets. Lower numbers execute first.

service_id[RW]

The id of the service this belongs to.

type[RW]

The location in generated VCL where the snippet should be placed.

version[RW]

The number of the version this belongs to.