aws-sdk-cloudfront 1.146.0 → 1.148.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudfront/client.rb +33 -20
- data/lib/aws-sdk-cloudfront/client_api.rb +4 -1
- data/lib/aws-sdk-cloudfront/types.rb +21 -3
- data/lib/aws-sdk-cloudfront.rb +1 -1
- data/sig/client.rbs +49 -1517
- data/sig/params.rbs +617 -0
- data/sig/types.rbs +4 -1
- metadata +2 -1
data/sig/params.rbs
ADDED
|
@@ -0,0 +1,617 @@
|
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
|
2
|
+
#
|
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
5
|
+
#
|
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
|
7
|
+
|
|
8
|
+
module Aws
|
|
9
|
+
module CloudFront
|
|
10
|
+
module Params
|
|
11
|
+
type parameters_in_cache_key_and_forwarded_to_origin = {
|
|
12
|
+
enable_accept_encoding_gzip: bool,
|
|
13
|
+
enable_accept_encoding_brotli: bool?,
|
|
14
|
+
headers_config: {
|
|
15
|
+
header_behavior: ("none" | "whitelist"),
|
|
16
|
+
headers: {
|
|
17
|
+
quantity: ::Integer,
|
|
18
|
+
items: Array[::String]?
|
|
19
|
+
}?
|
|
20
|
+
},
|
|
21
|
+
cookies_config: {
|
|
22
|
+
cookie_behavior: ("none" | "whitelist" | "allExcept" | "all"),
|
|
23
|
+
cookies: {
|
|
24
|
+
quantity: ::Integer,
|
|
25
|
+
items: Array[::String]?
|
|
26
|
+
}?
|
|
27
|
+
},
|
|
28
|
+
query_strings_config: {
|
|
29
|
+
query_string_behavior: ("none" | "whitelist" | "allExcept" | "all"),
|
|
30
|
+
query_strings: {
|
|
31
|
+
quantity: ::Integer,
|
|
32
|
+
items: Array[::String]?
|
|
33
|
+
}?
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
type cache_policy_config = {
|
|
38
|
+
comment: ::String?,
|
|
39
|
+
name: ::String,
|
|
40
|
+
default_ttl: ::Integer?,
|
|
41
|
+
max_ttl: ::Integer?,
|
|
42
|
+
min_ttl: ::Integer,
|
|
43
|
+
parameters_in_cache_key_and_forwarded_to_origin: Params::parameters_in_cache_key_and_forwarded_to_origin?
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
type function_config = {
|
|
47
|
+
comment: ::String,
|
|
48
|
+
runtime: ("cloudfront-js-1.0" | "cloudfront-js-2.0"),
|
|
49
|
+
key_value_store_associations: {
|
|
50
|
+
quantity: ::Integer,
|
|
51
|
+
items: Array[
|
|
52
|
+
{
|
|
53
|
+
key_value_store_arn: ::String
|
|
54
|
+
}
|
|
55
|
+
]?
|
|
56
|
+
}?
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
type traffic_config = {
|
|
60
|
+
single_weight_config: {
|
|
61
|
+
weight: ::Float,
|
|
62
|
+
session_stickiness_config: {
|
|
63
|
+
idle_ttl: ::Integer,
|
|
64
|
+
maximum_ttl: ::Integer
|
|
65
|
+
}?
|
|
66
|
+
}?,
|
|
67
|
+
single_header_config: {
|
|
68
|
+
header: ::String,
|
|
69
|
+
value: ::String
|
|
70
|
+
}?,
|
|
71
|
+
type: ("SingleWeight" | "SingleHeader")
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
type continuous_deployment_policy_config = {
|
|
75
|
+
staging_distribution_dns_names: {
|
|
76
|
+
quantity: ::Integer,
|
|
77
|
+
items: Array[::String]?
|
|
78
|
+
},
|
|
79
|
+
enabled: bool,
|
|
80
|
+
traffic_config: Params::traffic_config?
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
type origins = {
|
|
84
|
+
quantity: ::Integer,
|
|
85
|
+
items: Array[
|
|
86
|
+
Params::origin
|
|
87
|
+
]
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
type origin_groups = {
|
|
91
|
+
quantity: ::Integer,
|
|
92
|
+
items: Array[
|
|
93
|
+
Params::origin_group
|
|
94
|
+
]?
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
type allowed_methods = {
|
|
98
|
+
quantity: ::Integer,
|
|
99
|
+
items: Array[("GET" | "HEAD" | "POST" | "PUT" | "PATCH" | "OPTIONS" | "DELETE")],
|
|
100
|
+
cached_methods: {
|
|
101
|
+
quantity: ::Integer,
|
|
102
|
+
items: Array[("GET" | "HEAD" | "POST" | "PUT" | "PATCH" | "OPTIONS" | "DELETE")]
|
|
103
|
+
}?
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
type lambda_function_associations = {
|
|
107
|
+
quantity: ::Integer,
|
|
108
|
+
items: Array[
|
|
109
|
+
{
|
|
110
|
+
lambda_function_arn: ::String,
|
|
111
|
+
event_type: ("viewer-request" | "viewer-response" | "origin-request" | "origin-response"),
|
|
112
|
+
include_body: bool?
|
|
113
|
+
}
|
|
114
|
+
]?
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
type forwarded_values = {
|
|
118
|
+
query_string: bool,
|
|
119
|
+
cookies: {
|
|
120
|
+
forward: ("none" | "whitelist" | "all"),
|
|
121
|
+
whitelisted_names: {
|
|
122
|
+
quantity: ::Integer,
|
|
123
|
+
items: Array[::String]?
|
|
124
|
+
}?
|
|
125
|
+
},
|
|
126
|
+
headers: {
|
|
127
|
+
quantity: ::Integer,
|
|
128
|
+
items: Array[::String]?
|
|
129
|
+
}?,
|
|
130
|
+
query_string_cache_keys: {
|
|
131
|
+
quantity: ::Integer,
|
|
132
|
+
items: Array[::String]?
|
|
133
|
+
}?
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
type default_cache_behavior = {
|
|
137
|
+
target_origin_id: ::String,
|
|
138
|
+
trusted_signers: {
|
|
139
|
+
enabled: bool,
|
|
140
|
+
quantity: ::Integer,
|
|
141
|
+
items: Array[::String]?
|
|
142
|
+
}?,
|
|
143
|
+
trusted_key_groups: {
|
|
144
|
+
enabled: bool,
|
|
145
|
+
quantity: ::Integer,
|
|
146
|
+
items: Array[::String]?
|
|
147
|
+
}?,
|
|
148
|
+
viewer_protocol_policy: ("allow-all" | "https-only" | "redirect-to-https"),
|
|
149
|
+
allowed_methods: Params::allowed_methods?,
|
|
150
|
+
smooth_streaming: bool?,
|
|
151
|
+
compress: bool?,
|
|
152
|
+
lambda_function_associations: Params::lambda_function_associations?,
|
|
153
|
+
function_associations: {
|
|
154
|
+
quantity: ::Integer,
|
|
155
|
+
items: Array[
|
|
156
|
+
{
|
|
157
|
+
function_arn: ::String,
|
|
158
|
+
event_type: ("viewer-request" | "viewer-response" | "origin-request" | "origin-response")
|
|
159
|
+
}
|
|
160
|
+
]?
|
|
161
|
+
}?,
|
|
162
|
+
field_level_encryption_id: ::String?,
|
|
163
|
+
realtime_log_config_arn: ::String?,
|
|
164
|
+
cache_policy_id: ::String?,
|
|
165
|
+
origin_request_policy_id: ::String?,
|
|
166
|
+
response_headers_policy_id: ::String?,
|
|
167
|
+
grpc_config: {
|
|
168
|
+
enabled: bool
|
|
169
|
+
}?,
|
|
170
|
+
forwarded_values: Params::forwarded_values?,
|
|
171
|
+
min_ttl: ::Integer?,
|
|
172
|
+
default_ttl: ::Integer?,
|
|
173
|
+
max_ttl: ::Integer?
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
type cache_behaviors = {
|
|
177
|
+
quantity: ::Integer,
|
|
178
|
+
items: Array[
|
|
179
|
+
Params::cache_behavior
|
|
180
|
+
]?
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
type custom_error_responses = {
|
|
184
|
+
quantity: ::Integer,
|
|
185
|
+
items: Array[
|
|
186
|
+
{
|
|
187
|
+
error_code: ::Integer,
|
|
188
|
+
response_page_path: ::String?,
|
|
189
|
+
response_code: ::String?,
|
|
190
|
+
error_caching_min_ttl: ::Integer?
|
|
191
|
+
}
|
|
192
|
+
]?
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
type viewer_certificate = {
|
|
196
|
+
cloud_front_default_certificate: bool?,
|
|
197
|
+
iam_certificate_id: ::String?,
|
|
198
|
+
acm_certificate_arn: ::String?,
|
|
199
|
+
ssl_support_method: ("sni-only" | "vip" | "static-ip")?,
|
|
200
|
+
minimum_protocol_version: ("SSLv3" | "TLSv1" | "TLSv1_2016" | "TLSv1.1_2016" | "TLSv1.2_2018" | "TLSv1.2_2019" | "TLSv1.2_2021" | "TLSv1.3_2025" | "TLSv1.2_2025")?,
|
|
201
|
+
certificate: ::String?,
|
|
202
|
+
certificate_source: ("cloudfront" | "iam" | "acm")?
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
type tenant_config = {
|
|
206
|
+
parameter_definitions: Array[
|
|
207
|
+
Params::parameter_definition
|
|
208
|
+
]?
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
type viewer_mtls_config = {
|
|
212
|
+
mode: ("required" | "optional" | "passthrough")?,
|
|
213
|
+
trust_store_config: {
|
|
214
|
+
trust_store_id: ::String,
|
|
215
|
+
advertise_trust_store_ca_names: bool?,
|
|
216
|
+
ignore_certificate_expiry: bool?
|
|
217
|
+
}?
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
type distribution_config = {
|
|
221
|
+
caller_reference: ::String,
|
|
222
|
+
aliases: {
|
|
223
|
+
quantity: ::Integer,
|
|
224
|
+
items: Array[::String]?
|
|
225
|
+
}?,
|
|
226
|
+
default_root_object: ::String?,
|
|
227
|
+
origins: Params::origins,
|
|
228
|
+
origin_groups: Params::origin_groups?,
|
|
229
|
+
default_cache_behavior: Params::default_cache_behavior,
|
|
230
|
+
cache_behaviors: Params::cache_behaviors?,
|
|
231
|
+
custom_error_responses: Params::custom_error_responses?,
|
|
232
|
+
comment: ::String,
|
|
233
|
+
logging: {
|
|
234
|
+
enabled: bool?,
|
|
235
|
+
include_cookies: bool?,
|
|
236
|
+
bucket: ::String?,
|
|
237
|
+
prefix: ::String?
|
|
238
|
+
}?,
|
|
239
|
+
price_class: ("PriceClass_100" | "PriceClass_200" | "PriceClass_All" | "None")?,
|
|
240
|
+
enabled: bool,
|
|
241
|
+
viewer_certificate: Params::viewer_certificate?,
|
|
242
|
+
restrictions: {
|
|
243
|
+
geo_restriction: {
|
|
244
|
+
restriction_type: ("blacklist" | "whitelist" | "none"),
|
|
245
|
+
quantity: ::Integer,
|
|
246
|
+
items: Array[::String]?
|
|
247
|
+
}
|
|
248
|
+
}?,
|
|
249
|
+
web_acl_id: ::String?,
|
|
250
|
+
http_version: ("http1.1" | "http2" | "http3" | "http2and3")?,
|
|
251
|
+
is_ipv6_enabled: bool?,
|
|
252
|
+
continuous_deployment_policy_id: ::String?,
|
|
253
|
+
staging: bool?,
|
|
254
|
+
anycast_ip_list_id: ::String?,
|
|
255
|
+
tenant_config: Params::tenant_config?,
|
|
256
|
+
connection_mode: ("direct" | "tenant-only")?,
|
|
257
|
+
viewer_mtls_config: Params::viewer_mtls_config?,
|
|
258
|
+
connection_function_association: {
|
|
259
|
+
id: ::String
|
|
260
|
+
}?,
|
|
261
|
+
cache_tag_config: {
|
|
262
|
+
header_name: ::String
|
|
263
|
+
}?
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
type custom_origin_config = {
|
|
267
|
+
http_port: ::Integer,
|
|
268
|
+
https_port: ::Integer,
|
|
269
|
+
origin_protocol_policy: ("http-only" | "match-viewer" | "https-only"),
|
|
270
|
+
origin_ssl_protocols: {
|
|
271
|
+
quantity: ::Integer,
|
|
272
|
+
items: Array[("SSLv3" | "TLSv1" | "TLSv1.1" | "TLSv1.2")]
|
|
273
|
+
}?,
|
|
274
|
+
origin_read_timeout: ::Integer?,
|
|
275
|
+
origin_keepalive_timeout: ::Integer?,
|
|
276
|
+
ip_address_type: ("ipv4" | "ipv6" | "dualstack")?,
|
|
277
|
+
origin_mtls_config: {
|
|
278
|
+
client_certificate_arn: ::String
|
|
279
|
+
}?
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
type origin = {
|
|
283
|
+
id: ::String,
|
|
284
|
+
domain_name: ::String,
|
|
285
|
+
origin_path: ::String?,
|
|
286
|
+
custom_headers: {
|
|
287
|
+
quantity: ::Integer,
|
|
288
|
+
items: Array[
|
|
289
|
+
{
|
|
290
|
+
header_name: ::String,
|
|
291
|
+
header_value: ::String
|
|
292
|
+
}
|
|
293
|
+
]?
|
|
294
|
+
}?,
|
|
295
|
+
s3_origin_config: {
|
|
296
|
+
origin_access_identity: ::String,
|
|
297
|
+
origin_read_timeout: ::Integer?
|
|
298
|
+
}?,
|
|
299
|
+
custom_origin_config: Params::custom_origin_config?,
|
|
300
|
+
vpc_origin_config: {
|
|
301
|
+
vpc_origin_id: ::String,
|
|
302
|
+
owner_account_id: ::String?,
|
|
303
|
+
origin_read_timeout: ::Integer?,
|
|
304
|
+
origin_keepalive_timeout: ::Integer?
|
|
305
|
+
}?,
|
|
306
|
+
connection_attempts: ::Integer?,
|
|
307
|
+
connection_timeout: ::Integer?,
|
|
308
|
+
response_completion_timeout: ::Integer?,
|
|
309
|
+
origin_shield: {
|
|
310
|
+
enabled: bool,
|
|
311
|
+
origin_shield_region: ::String?
|
|
312
|
+
}?,
|
|
313
|
+
origin_access_control_id: ::String?
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
type origin_group = {
|
|
317
|
+
id: ::String,
|
|
318
|
+
failover_criteria: {
|
|
319
|
+
status_codes: {
|
|
320
|
+
quantity: ::Integer,
|
|
321
|
+
items: Array[::Integer]
|
|
322
|
+
}
|
|
323
|
+
},
|
|
324
|
+
members: {
|
|
325
|
+
quantity: ::Integer,
|
|
326
|
+
items: Array[
|
|
327
|
+
{
|
|
328
|
+
origin_id: ::String
|
|
329
|
+
}
|
|
330
|
+
]
|
|
331
|
+
},
|
|
332
|
+
selection_criteria: ("default" | "media-quality-based")?
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
type cache_behavior = {
|
|
336
|
+
path_pattern: ::String,
|
|
337
|
+
target_origin_id: ::String,
|
|
338
|
+
trusted_signers: {
|
|
339
|
+
enabled: bool,
|
|
340
|
+
quantity: ::Integer,
|
|
341
|
+
items: Array[::String]?
|
|
342
|
+
}?,
|
|
343
|
+
trusted_key_groups: {
|
|
344
|
+
enabled: bool,
|
|
345
|
+
quantity: ::Integer,
|
|
346
|
+
items: Array[::String]?
|
|
347
|
+
}?,
|
|
348
|
+
viewer_protocol_policy: ("allow-all" | "https-only" | "redirect-to-https"),
|
|
349
|
+
allowed_methods: Params::allowed_methods?,
|
|
350
|
+
smooth_streaming: bool?,
|
|
351
|
+
compress: bool?,
|
|
352
|
+
lambda_function_associations: Params::lambda_function_associations?,
|
|
353
|
+
function_associations: {
|
|
354
|
+
quantity: ::Integer,
|
|
355
|
+
items: Array[
|
|
356
|
+
{
|
|
357
|
+
function_arn: ::String,
|
|
358
|
+
event_type: ("viewer-request" | "viewer-response" | "origin-request" | "origin-response")
|
|
359
|
+
}
|
|
360
|
+
]?
|
|
361
|
+
}?,
|
|
362
|
+
field_level_encryption_id: ::String?,
|
|
363
|
+
realtime_log_config_arn: ::String?,
|
|
364
|
+
cache_policy_id: ::String?,
|
|
365
|
+
origin_request_policy_id: ::String?,
|
|
366
|
+
response_headers_policy_id: ::String?,
|
|
367
|
+
grpc_config: {
|
|
368
|
+
enabled: bool
|
|
369
|
+
}?,
|
|
370
|
+
forwarded_values: Params::forwarded_values?,
|
|
371
|
+
min_ttl: ::Integer?,
|
|
372
|
+
default_ttl: ::Integer?,
|
|
373
|
+
max_ttl: ::Integer?
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
type parameter_definition = {
|
|
377
|
+
name: ::String,
|
|
378
|
+
definition: {
|
|
379
|
+
string_schema: {
|
|
380
|
+
comment: ::String?,
|
|
381
|
+
default_value: ::String?,
|
|
382
|
+
required: bool
|
|
383
|
+
}?
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
type customizations = {
|
|
388
|
+
web_acl: {
|
|
389
|
+
action: ("override" | "disable"),
|
|
390
|
+
arn: ::String?
|
|
391
|
+
}?,
|
|
392
|
+
certificate: {
|
|
393
|
+
arn: ::String
|
|
394
|
+
}?,
|
|
395
|
+
geo_restrictions: {
|
|
396
|
+
restriction_type: ("blacklist" | "whitelist" | "none"),
|
|
397
|
+
locations: Array[::String]?
|
|
398
|
+
}?
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
type query_arg_profile_config = {
|
|
402
|
+
forward_when_query_arg_profile_is_unknown: bool,
|
|
403
|
+
query_arg_profiles: {
|
|
404
|
+
quantity: ::Integer,
|
|
405
|
+
items: Array[
|
|
406
|
+
{
|
|
407
|
+
query_arg: ::String,
|
|
408
|
+
profile_id: ::String
|
|
409
|
+
}
|
|
410
|
+
]?
|
|
411
|
+
}?
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
type content_type_profiles = {
|
|
415
|
+
quantity: ::Integer,
|
|
416
|
+
items: Array[
|
|
417
|
+
{
|
|
418
|
+
format: ("URLEncoded"),
|
|
419
|
+
profile_id: ::String?,
|
|
420
|
+
content_type: ::String
|
|
421
|
+
}
|
|
422
|
+
]?
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
type content_type_profile_config = {
|
|
426
|
+
forward_when_content_type_is_unknown: bool,
|
|
427
|
+
content_type_profiles: Params::content_type_profiles?
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
type field_level_encryption_config = {
|
|
431
|
+
caller_reference: ::String,
|
|
432
|
+
comment: ::String?,
|
|
433
|
+
query_arg_profile_config: Params::query_arg_profile_config?,
|
|
434
|
+
content_type_profile_config: Params::content_type_profile_config?
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
type encryption_entities = {
|
|
438
|
+
quantity: ::Integer,
|
|
439
|
+
items: Array[
|
|
440
|
+
Params::encryption_entity
|
|
441
|
+
]?
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
type field_level_encryption_profile_config = {
|
|
445
|
+
name: ::String,
|
|
446
|
+
caller_reference: ::String,
|
|
447
|
+
comment: ::String?,
|
|
448
|
+
encryption_entities: Params::encryption_entities
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
type encryption_entity = {
|
|
452
|
+
public_key_id: ::String,
|
|
453
|
+
provider_id: ::String,
|
|
454
|
+
field_patterns: {
|
|
455
|
+
quantity: ::Integer,
|
|
456
|
+
items: Array[::String]?
|
|
457
|
+
}
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
type origin_request_policy_config = {
|
|
461
|
+
comment: ::String?,
|
|
462
|
+
name: ::String,
|
|
463
|
+
headers_config: {
|
|
464
|
+
header_behavior: ("none" | "whitelist" | "allViewer" | "allViewerAndWhitelistCloudFront" | "allExcept"),
|
|
465
|
+
headers: {
|
|
466
|
+
quantity: ::Integer,
|
|
467
|
+
items: Array[::String]?
|
|
468
|
+
}?
|
|
469
|
+
},
|
|
470
|
+
cookies_config: {
|
|
471
|
+
cookie_behavior: ("none" | "whitelist" | "all" | "allExcept"),
|
|
472
|
+
cookies: {
|
|
473
|
+
quantity: ::Integer,
|
|
474
|
+
items: Array[::String]?
|
|
475
|
+
}?
|
|
476
|
+
},
|
|
477
|
+
query_strings_config: {
|
|
478
|
+
query_string_behavior: ("none" | "whitelist" | "all" | "allExcept"),
|
|
479
|
+
query_strings: {
|
|
480
|
+
quantity: ::Integer,
|
|
481
|
+
items: Array[::String]?
|
|
482
|
+
}?
|
|
483
|
+
}
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
type response_headers_policy_cors_config = {
|
|
487
|
+
access_control_allow_origins: {
|
|
488
|
+
quantity: ::Integer,
|
|
489
|
+
items: Array[::String]
|
|
490
|
+
},
|
|
491
|
+
access_control_allow_headers: {
|
|
492
|
+
quantity: ::Integer,
|
|
493
|
+
items: Array[::String]
|
|
494
|
+
},
|
|
495
|
+
access_control_allow_methods: {
|
|
496
|
+
quantity: ::Integer,
|
|
497
|
+
items: Array[("GET" | "POST" | "OPTIONS" | "PUT" | "DELETE" | "PATCH" | "HEAD" | "ALL")]
|
|
498
|
+
},
|
|
499
|
+
access_control_allow_credentials: bool,
|
|
500
|
+
access_control_expose_headers: {
|
|
501
|
+
quantity: ::Integer,
|
|
502
|
+
items: Array[::String]?
|
|
503
|
+
}?,
|
|
504
|
+
access_control_max_age_sec: ::Integer?,
|
|
505
|
+
origin_override: bool
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
type response_headers_policy_security_headers_config = {
|
|
509
|
+
xss_protection: {
|
|
510
|
+
override: bool,
|
|
511
|
+
protection: bool,
|
|
512
|
+
mode_block: bool?,
|
|
513
|
+
report_uri: ::String?
|
|
514
|
+
}?,
|
|
515
|
+
frame_options: {
|
|
516
|
+
override: bool,
|
|
517
|
+
frame_option: ("DENY" | "SAMEORIGIN")
|
|
518
|
+
}?,
|
|
519
|
+
referrer_policy: {
|
|
520
|
+
override: bool,
|
|
521
|
+
referrer_policy: ("no-referrer" | "no-referrer-when-downgrade" | "origin" | "origin-when-cross-origin" | "same-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url")
|
|
522
|
+
}?,
|
|
523
|
+
content_security_policy: {
|
|
524
|
+
override: bool,
|
|
525
|
+
content_security_policy: ::String
|
|
526
|
+
}?,
|
|
527
|
+
content_type_options: {
|
|
528
|
+
override: bool
|
|
529
|
+
}?,
|
|
530
|
+
strict_transport_security: {
|
|
531
|
+
override: bool,
|
|
532
|
+
include_subdomains: bool?,
|
|
533
|
+
preload: bool?,
|
|
534
|
+
access_control_max_age_sec: ::Integer
|
|
535
|
+
}?
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
type response_headers_policy_custom_headers_config = {
|
|
539
|
+
quantity: ::Integer,
|
|
540
|
+
items: Array[
|
|
541
|
+
{
|
|
542
|
+
header: ::String,
|
|
543
|
+
value: ::String,
|
|
544
|
+
override: bool
|
|
545
|
+
}
|
|
546
|
+
]?
|
|
547
|
+
}
|
|
548
|
+
|
|
549
|
+
type response_headers_policy_config = {
|
|
550
|
+
comment: ::String?,
|
|
551
|
+
name: ::String,
|
|
552
|
+
cors_config: Params::response_headers_policy_cors_config?,
|
|
553
|
+
security_headers_config: Params::response_headers_policy_security_headers_config?,
|
|
554
|
+
server_timing_headers_config: {
|
|
555
|
+
enabled: bool,
|
|
556
|
+
sampling_rate: ::Float?
|
|
557
|
+
}?,
|
|
558
|
+
custom_headers_config: Params::response_headers_policy_custom_headers_config?,
|
|
559
|
+
remove_headers_config: {
|
|
560
|
+
quantity: ::Integer,
|
|
561
|
+
items: Array[
|
|
562
|
+
{
|
|
563
|
+
header: ::String
|
|
564
|
+
}
|
|
565
|
+
]?
|
|
566
|
+
}?
|
|
567
|
+
}
|
|
568
|
+
|
|
569
|
+
type streaming_distribution_config = {
|
|
570
|
+
caller_reference: ::String,
|
|
571
|
+
s3_origin: {
|
|
572
|
+
domain_name: ::String,
|
|
573
|
+
origin_access_identity: ::String
|
|
574
|
+
},
|
|
575
|
+
aliases: {
|
|
576
|
+
quantity: ::Integer,
|
|
577
|
+
items: Array[::String]?
|
|
578
|
+
}?,
|
|
579
|
+
comment: ::String,
|
|
580
|
+
logging: {
|
|
581
|
+
enabled: bool,
|
|
582
|
+
bucket: ::String,
|
|
583
|
+
prefix: ::String
|
|
584
|
+
}?,
|
|
585
|
+
trusted_signers: {
|
|
586
|
+
enabled: bool,
|
|
587
|
+
quantity: ::Integer,
|
|
588
|
+
items: Array[::String]?
|
|
589
|
+
},
|
|
590
|
+
price_class: ("PriceClass_100" | "PriceClass_200" | "PriceClass_All" | "None")?,
|
|
591
|
+
enabled: bool
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
type ca_certificates_bundle_source = {
|
|
595
|
+
ca_certificates_bundle_s3_location: {
|
|
596
|
+
bucket: ::String,
|
|
597
|
+
key: ::String,
|
|
598
|
+
region: ::String,
|
|
599
|
+
version: ::String?
|
|
600
|
+
}?
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
type vpc_origin_endpoint_config = {
|
|
604
|
+
name: ::String,
|
|
605
|
+
arn: ::String,
|
|
606
|
+
http_port: ::Integer,
|
|
607
|
+
https_port: ::Integer,
|
|
608
|
+
origin_protocol_policy: ("http-only" | "match-viewer" | "https-only"),
|
|
609
|
+
origin_ssl_protocols: {
|
|
610
|
+
quantity: ::Integer,
|
|
611
|
+
items: Array[("SSLv3" | "TLSv1" | "TLSv1.1" | "TLSv1.2")]
|
|
612
|
+
}?
|
|
613
|
+
}
|
|
614
|
+
|
|
615
|
+
end
|
|
616
|
+
end
|
|
617
|
+
end
|
data/sig/types.rbs
CHANGED
|
@@ -791,6 +791,7 @@ module Aws::CloudFront
|
|
|
791
791
|
class CreateTrustStoreRequest
|
|
792
792
|
attr_accessor name: ::String
|
|
793
793
|
attr_accessor ca_certificates_bundle_source: Types::CaCertificatesBundleSource
|
|
794
|
+
attr_accessor use_client_certificate_ocsp_endpoint: bool
|
|
794
795
|
attr_accessor tags: Types::Tags
|
|
795
796
|
SENSITIVE: []
|
|
796
797
|
end
|
|
@@ -3815,6 +3816,7 @@ module Aws::CloudFront
|
|
|
3815
3816
|
attr_accessor number_of_ca_certificates: ::Integer
|
|
3816
3817
|
attr_accessor last_modified_time: ::Time
|
|
3817
3818
|
attr_accessor reason: ::String
|
|
3819
|
+
attr_accessor use_client_certificate_ocsp_endpoint: bool
|
|
3818
3820
|
SENSITIVE: []
|
|
3819
3821
|
end
|
|
3820
3822
|
|
|
@@ -4161,6 +4163,7 @@ module Aws::CloudFront
|
|
|
4161
4163
|
class UpdateTrustStoreRequest
|
|
4162
4164
|
attr_accessor id: ::String
|
|
4163
4165
|
attr_accessor ca_certificates_bundle_source: Types::CaCertificatesBundleSource
|
|
4166
|
+
attr_accessor use_client_certificate_ocsp_endpoint: bool
|
|
4164
4167
|
attr_accessor if_match: ::String
|
|
4165
4168
|
SENSITIVE: []
|
|
4166
4169
|
end
|
|
@@ -4214,7 +4217,7 @@ module Aws::CloudFront
|
|
|
4214
4217
|
end
|
|
4215
4218
|
|
|
4216
4219
|
class ViewerMtlsConfig
|
|
4217
|
-
attr_accessor mode: ("required" | "optional")
|
|
4220
|
+
attr_accessor mode: ("required" | "optional" | "passthrough")
|
|
4218
4221
|
attr_accessor trust_store_config: Types::TrustStoreConfig
|
|
4219
4222
|
SENSITIVE: []
|
|
4220
4223
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-sdk-cloudfront
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.148.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
@@ -71,6 +71,7 @@ files:
|
|
|
71
71
|
- lib/aws-sdk-cloudfront/waiters.rb
|
|
72
72
|
- sig/client.rbs
|
|
73
73
|
- sig/errors.rbs
|
|
74
|
+
- sig/params.rbs
|
|
74
75
|
- sig/resource.rbs
|
|
75
76
|
- sig/types.rbs
|
|
76
77
|
- sig/waiters.rbs
|