1// Code generated by smithy-go-codegen DO NOT EDIT.
2
3package types
4
5type CachePolicyCookieBehavior string
6
7// Enum values for CachePolicyCookieBehavior
8const (
9	CachePolicyCookieBehaviorNone      CachePolicyCookieBehavior = "none"
10	CachePolicyCookieBehaviorWhitelist CachePolicyCookieBehavior = "whitelist"
11	CachePolicyCookieBehaviorAllExcept CachePolicyCookieBehavior = "allExcept"
12	CachePolicyCookieBehaviorAll       CachePolicyCookieBehavior = "all"
13)
14
15// Values returns all known values for CachePolicyCookieBehavior. Note that this
16// can be expanded in the future, and so it is only as up to date as the client.
17// The ordering of this slice is not guaranteed to be stable across updates.
18func (CachePolicyCookieBehavior) Values() []CachePolicyCookieBehavior {
19	return []CachePolicyCookieBehavior{
20		"none",
21		"whitelist",
22		"allExcept",
23		"all",
24	}
25}
26
27type CachePolicyHeaderBehavior string
28
29// Enum values for CachePolicyHeaderBehavior
30const (
31	CachePolicyHeaderBehaviorNone      CachePolicyHeaderBehavior = "none"
32	CachePolicyHeaderBehaviorWhitelist CachePolicyHeaderBehavior = "whitelist"
33)
34
35// Values returns all known values for CachePolicyHeaderBehavior. Note that this
36// can be expanded in the future, and so it is only as up to date as the client.
37// The ordering of this slice is not guaranteed to be stable across updates.
38func (CachePolicyHeaderBehavior) Values() []CachePolicyHeaderBehavior {
39	return []CachePolicyHeaderBehavior{
40		"none",
41		"whitelist",
42	}
43}
44
45type CachePolicyQueryStringBehavior string
46
47// Enum values for CachePolicyQueryStringBehavior
48const (
49	CachePolicyQueryStringBehaviorNone      CachePolicyQueryStringBehavior = "none"
50	CachePolicyQueryStringBehaviorWhitelist CachePolicyQueryStringBehavior = "whitelist"
51	CachePolicyQueryStringBehaviorAllExcept CachePolicyQueryStringBehavior = "allExcept"
52	CachePolicyQueryStringBehaviorAll       CachePolicyQueryStringBehavior = "all"
53)
54
55// Values returns all known values for CachePolicyQueryStringBehavior. Note that
56// this can be expanded in the future, and so it is only as up to date as the
57// client. The ordering of this slice is not guaranteed to be stable across
58// updates.
59func (CachePolicyQueryStringBehavior) Values() []CachePolicyQueryStringBehavior {
60	return []CachePolicyQueryStringBehavior{
61		"none",
62		"whitelist",
63		"allExcept",
64		"all",
65	}
66}
67
68type CachePolicyType string
69
70// Enum values for CachePolicyType
71const (
72	CachePolicyTypeManaged CachePolicyType = "managed"
73	CachePolicyTypeCustom  CachePolicyType = "custom"
74)
75
76// Values returns all known values for CachePolicyType. Note that this can be
77// expanded in the future, and so it is only as up to date as the client. The
78// ordering of this slice is not guaranteed to be stable across updates.
79func (CachePolicyType) Values() []CachePolicyType {
80	return []CachePolicyType{
81		"managed",
82		"custom",
83	}
84}
85
86type CertificateSource string
87
88// Enum values for CertificateSource
89const (
90	CertificateSourceCloudfront CertificateSource = "cloudfront"
91	CertificateSourceIam        CertificateSource = "iam"
92	CertificateSourceAcm        CertificateSource = "acm"
93)
94
95// Values returns all known values for CertificateSource. Note that this can be
96// expanded in the future, and so it is only as up to date as the client. The
97// ordering of this slice is not guaranteed to be stable across updates.
98func (CertificateSource) Values() []CertificateSource {
99	return []CertificateSource{
100		"cloudfront",
101		"iam",
102		"acm",
103	}
104}
105
106type EventType string
107
108// Enum values for EventType
109const (
110	EventTypeViewerRequest  EventType = "viewer-request"
111	EventTypeViewerResponse EventType = "viewer-response"
112	EventTypeOriginRequest  EventType = "origin-request"
113	EventTypeOriginResponse EventType = "origin-response"
114)
115
116// Values returns all known values for EventType. Note that this can be expanded in
117// the future, and so it is only as up to date as the client. The ordering of this
118// slice is not guaranteed to be stable across updates.
119func (EventType) Values() []EventType {
120	return []EventType{
121		"viewer-request",
122		"viewer-response",
123		"origin-request",
124		"origin-response",
125	}
126}
127
128type Format string
129
130// Enum values for Format
131const (
132	FormatURLEncoded Format = "URLEncoded"
133)
134
135// Values returns all known values for Format. Note that this can be expanded in
136// the future, and so it is only as up to date as the client. The ordering of this
137// slice is not guaranteed to be stable across updates.
138func (Format) Values() []Format {
139	return []Format{
140		"URLEncoded",
141	}
142}
143
144type GeoRestrictionType string
145
146// Enum values for GeoRestrictionType
147const (
148	GeoRestrictionTypeBlacklist GeoRestrictionType = "blacklist"
149	GeoRestrictionTypeWhitelist GeoRestrictionType = "whitelist"
150	GeoRestrictionTypeNone      GeoRestrictionType = "none"
151)
152
153// Values returns all known values for GeoRestrictionType. Note that this can be
154// expanded in the future, and so it is only as up to date as the client. The
155// ordering of this slice is not guaranteed to be stable across updates.
156func (GeoRestrictionType) Values() []GeoRestrictionType {
157	return []GeoRestrictionType{
158		"blacklist",
159		"whitelist",
160		"none",
161	}
162}
163
164type HttpVersion string
165
166// Enum values for HttpVersion
167const (
168	HttpVersionHttp11 HttpVersion = "http1.1"
169	HttpVersionHttp2  HttpVersion = "http2"
170)
171
172// Values returns all known values for HttpVersion. Note that this can be expanded
173// in the future, and so it is only as up to date as the client. The ordering of
174// this slice is not guaranteed to be stable across updates.
175func (HttpVersion) Values() []HttpVersion {
176	return []HttpVersion{
177		"http1.1",
178		"http2",
179	}
180}
181
182type ICPRecordalStatus string
183
184// Enum values for ICPRecordalStatus
185const (
186	ICPRecordalStatusApproved  ICPRecordalStatus = "APPROVED"
187	ICPRecordalStatusSuspended ICPRecordalStatus = "SUSPENDED"
188	ICPRecordalStatusPending   ICPRecordalStatus = "PENDING"
189)
190
191// Values returns all known values for ICPRecordalStatus. Note that this can be
192// expanded in the future, and so it is only as up to date as the client. The
193// ordering of this slice is not guaranteed to be stable across updates.
194func (ICPRecordalStatus) Values() []ICPRecordalStatus {
195	return []ICPRecordalStatus{
196		"APPROVED",
197		"SUSPENDED",
198		"PENDING",
199	}
200}
201
202type ItemSelection string
203
204// Enum values for ItemSelection
205const (
206	ItemSelectionNone      ItemSelection = "none"
207	ItemSelectionWhitelist ItemSelection = "whitelist"
208	ItemSelectionAll       ItemSelection = "all"
209)
210
211// Values returns all known values for ItemSelection. Note that this can be
212// expanded in the future, and so it is only as up to date as the client. The
213// ordering of this slice is not guaranteed to be stable across updates.
214func (ItemSelection) Values() []ItemSelection {
215	return []ItemSelection{
216		"none",
217		"whitelist",
218		"all",
219	}
220}
221
222type Method string
223
224// Enum values for Method
225const (
226	MethodGet     Method = "GET"
227	MethodHead    Method = "HEAD"
228	MethodPost    Method = "POST"
229	MethodPut     Method = "PUT"
230	MethodPatch   Method = "PATCH"
231	MethodOptions Method = "OPTIONS"
232	MethodDelete  Method = "DELETE"
233)
234
235// Values returns all known values for Method. Note that this can be expanded in
236// the future, and so it is only as up to date as the client. The ordering of this
237// slice is not guaranteed to be stable across updates.
238func (Method) Values() []Method {
239	return []Method{
240		"GET",
241		"HEAD",
242		"POST",
243		"PUT",
244		"PATCH",
245		"OPTIONS",
246		"DELETE",
247	}
248}
249
250type MinimumProtocolVersion string
251
252// Enum values for MinimumProtocolVersion
253const (
254	MinimumProtocolVersionSSLv3      MinimumProtocolVersion = "SSLv3"
255	MinimumProtocolVersionTLSv1      MinimumProtocolVersion = "TLSv1"
256	MinimumProtocolVersionTLSv12016  MinimumProtocolVersion = "TLSv1_2016"
257	MinimumProtocolVersionTLSv112016 MinimumProtocolVersion = "TLSv1.1_2016"
258	MinimumProtocolVersionTLSv122018 MinimumProtocolVersion = "TLSv1.2_2018"
259	MinimumProtocolVersionTLSv122019 MinimumProtocolVersion = "TLSv1.2_2019"
260)
261
262// Values returns all known values for MinimumProtocolVersion. Note that this can
263// be expanded in the future, and so it is only as up to date as the client. The
264// ordering of this slice is not guaranteed to be stable across updates.
265func (MinimumProtocolVersion) Values() []MinimumProtocolVersion {
266	return []MinimumProtocolVersion{
267		"SSLv3",
268		"TLSv1",
269		"TLSv1_2016",
270		"TLSv1.1_2016",
271		"TLSv1.2_2018",
272		"TLSv1.2_2019",
273	}
274}
275
276type OriginProtocolPolicy string
277
278// Enum values for OriginProtocolPolicy
279const (
280	OriginProtocolPolicyHttpOnly    OriginProtocolPolicy = "http-only"
281	OriginProtocolPolicyMatchViewer OriginProtocolPolicy = "match-viewer"
282	OriginProtocolPolicyHttpsOnly   OriginProtocolPolicy = "https-only"
283)
284
285// Values returns all known values for OriginProtocolPolicy. Note that this can be
286// expanded in the future, and so it is only as up to date as the client. The
287// ordering of this slice is not guaranteed to be stable across updates.
288func (OriginProtocolPolicy) Values() []OriginProtocolPolicy {
289	return []OriginProtocolPolicy{
290		"http-only",
291		"match-viewer",
292		"https-only",
293	}
294}
295
296type OriginRequestPolicyCookieBehavior string
297
298// Enum values for OriginRequestPolicyCookieBehavior
299const (
300	OriginRequestPolicyCookieBehaviorNone      OriginRequestPolicyCookieBehavior = "none"
301	OriginRequestPolicyCookieBehaviorWhitelist OriginRequestPolicyCookieBehavior = "whitelist"
302	OriginRequestPolicyCookieBehaviorAll       OriginRequestPolicyCookieBehavior = "all"
303)
304
305// Values returns all known values for OriginRequestPolicyCookieBehavior. Note that
306// this can be expanded in the future, and so it is only as up to date as the
307// client. The ordering of this slice is not guaranteed to be stable across
308// updates.
309func (OriginRequestPolicyCookieBehavior) Values() []OriginRequestPolicyCookieBehavior {
310	return []OriginRequestPolicyCookieBehavior{
311		"none",
312		"whitelist",
313		"all",
314	}
315}
316
317type OriginRequestPolicyHeaderBehavior string
318
319// Enum values for OriginRequestPolicyHeaderBehavior
320const (
321	OriginRequestPolicyHeaderBehaviorNone                            OriginRequestPolicyHeaderBehavior = "none"
322	OriginRequestPolicyHeaderBehaviorWhitelist                       OriginRequestPolicyHeaderBehavior = "whitelist"
323	OriginRequestPolicyHeaderBehaviorAllViewer                       OriginRequestPolicyHeaderBehavior = "allViewer"
324	OriginRequestPolicyHeaderBehaviorAllViewerAndWhitelistCloudFront OriginRequestPolicyHeaderBehavior = "allViewerAndWhitelistCloudFront"
325)
326
327// Values returns all known values for OriginRequestPolicyHeaderBehavior. Note that
328// this can be expanded in the future, and so it is only as up to date as the
329// client. The ordering of this slice is not guaranteed to be stable across
330// updates.
331func (OriginRequestPolicyHeaderBehavior) Values() []OriginRequestPolicyHeaderBehavior {
332	return []OriginRequestPolicyHeaderBehavior{
333		"none",
334		"whitelist",
335		"allViewer",
336		"allViewerAndWhitelistCloudFront",
337	}
338}
339
340type OriginRequestPolicyQueryStringBehavior string
341
342// Enum values for OriginRequestPolicyQueryStringBehavior
343const (
344	OriginRequestPolicyQueryStringBehaviorNone      OriginRequestPolicyQueryStringBehavior = "none"
345	OriginRequestPolicyQueryStringBehaviorWhitelist OriginRequestPolicyQueryStringBehavior = "whitelist"
346	OriginRequestPolicyQueryStringBehaviorAll       OriginRequestPolicyQueryStringBehavior = "all"
347)
348
349// Values returns all known values for OriginRequestPolicyQueryStringBehavior. Note
350// that this can be expanded in the future, and so it is only as up to date as the
351// client. The ordering of this slice is not guaranteed to be stable across
352// updates.
353func (OriginRequestPolicyQueryStringBehavior) Values() []OriginRequestPolicyQueryStringBehavior {
354	return []OriginRequestPolicyQueryStringBehavior{
355		"none",
356		"whitelist",
357		"all",
358	}
359}
360
361type OriginRequestPolicyType string
362
363// Enum values for OriginRequestPolicyType
364const (
365	OriginRequestPolicyTypeManaged OriginRequestPolicyType = "managed"
366	OriginRequestPolicyTypeCustom  OriginRequestPolicyType = "custom"
367)
368
369// Values returns all known values for OriginRequestPolicyType. Note that this can
370// be expanded in the future, and so it is only as up to date as the client. The
371// ordering of this slice is not guaranteed to be stable across updates.
372func (OriginRequestPolicyType) Values() []OriginRequestPolicyType {
373	return []OriginRequestPolicyType{
374		"managed",
375		"custom",
376	}
377}
378
379type PriceClass string
380
381// Enum values for PriceClass
382const (
383	PriceClassPriceClass100 PriceClass = "PriceClass_100"
384	PriceClassPriceClass200 PriceClass = "PriceClass_200"
385	PriceClassPriceClassAll PriceClass = "PriceClass_All"
386)
387
388// Values returns all known values for PriceClass. Note that this can be expanded
389// in the future, and so it is only as up to date as the client. The ordering of
390// this slice is not guaranteed to be stable across updates.
391func (PriceClass) Values() []PriceClass {
392	return []PriceClass{
393		"PriceClass_100",
394		"PriceClass_200",
395		"PriceClass_All",
396	}
397}
398
399type RealtimeMetricsSubscriptionStatus string
400
401// Enum values for RealtimeMetricsSubscriptionStatus
402const (
403	RealtimeMetricsSubscriptionStatusEnabled  RealtimeMetricsSubscriptionStatus = "Enabled"
404	RealtimeMetricsSubscriptionStatusDisabled RealtimeMetricsSubscriptionStatus = "Disabled"
405)
406
407// Values returns all known values for RealtimeMetricsSubscriptionStatus. Note that
408// this can be expanded in the future, and so it is only as up to date as the
409// client. The ordering of this slice is not guaranteed to be stable across
410// updates.
411func (RealtimeMetricsSubscriptionStatus) Values() []RealtimeMetricsSubscriptionStatus {
412	return []RealtimeMetricsSubscriptionStatus{
413		"Enabled",
414		"Disabled",
415	}
416}
417
418type SslProtocol string
419
420// Enum values for SslProtocol
421const (
422	SslProtocolSSLv3  SslProtocol = "SSLv3"
423	SslProtocolTLSv1  SslProtocol = "TLSv1"
424	SslProtocolTLSv11 SslProtocol = "TLSv1.1"
425	SslProtocolTLSv12 SslProtocol = "TLSv1.2"
426)
427
428// Values returns all known values for SslProtocol. Note that this can be expanded
429// in the future, and so it is only as up to date as the client. The ordering of
430// this slice is not guaranteed to be stable across updates.
431func (SslProtocol) Values() []SslProtocol {
432	return []SslProtocol{
433		"SSLv3",
434		"TLSv1",
435		"TLSv1.1",
436		"TLSv1.2",
437	}
438}
439
440type SSLSupportMethod string
441
442// Enum values for SSLSupportMethod
443const (
444	SSLSupportMethodSniOnly  SSLSupportMethod = "sni-only"
445	SSLSupportMethodVip      SSLSupportMethod = "vip"
446	SSLSupportMethodStaticIp SSLSupportMethod = "static-ip"
447)
448
449// Values returns all known values for SSLSupportMethod. Note that this can be
450// expanded in the future, and so it is only as up to date as the client. The
451// ordering of this slice is not guaranteed to be stable across updates.
452func (SSLSupportMethod) Values() []SSLSupportMethod {
453	return []SSLSupportMethod{
454		"sni-only",
455		"vip",
456		"static-ip",
457	}
458}
459
460type ViewerProtocolPolicy string
461
462// Enum values for ViewerProtocolPolicy
463const (
464	ViewerProtocolPolicyAllowAll        ViewerProtocolPolicy = "allow-all"
465	ViewerProtocolPolicyHttpsOnly       ViewerProtocolPolicy = "https-only"
466	ViewerProtocolPolicyRedirectToHttps ViewerProtocolPolicy = "redirect-to-https"
467)
468
469// Values returns all known values for ViewerProtocolPolicy. Note that this can be
470// expanded in the future, and so it is only as up to date as the client. The
471// ordering of this slice is not guaranteed to be stable across updates.
472func (ViewerProtocolPolicy) Values() []ViewerProtocolPolicy {
473	return []ViewerProtocolPolicy{
474		"allow-all",
475		"https-only",
476		"redirect-to-https",
477	}
478}
479