Skip to content

Commit a418073

Browse files
author
AWS
committed
Amazon CloudFront Update: CloudFront Origin Access Control extends support to AWS Elemental MediaStore origins.
1 parent 3670398 commit a418073

File tree

3 files changed

+24
-15
lines changed

3 files changed

+24
-15
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon CloudFront",
4+
"contributor": "",
5+
"description": "CloudFront Origin Access Control extends support to AWS Elemental MediaStore origins."
6+
}

services/cloudfront/src/main/resources/codegen-resources/endpoint-tests.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,19 @@
77
"properties": {
88
"authSchemes": [
99
{
10-
"signingRegion": "cn-northwest-1",
10+
"name": "sigv4",
1111
"signingName": "cloudfront",
12-
"name": "sigv4"
12+
"signingRegion": "cn-northwest-1"
1313
}
1414
]
1515
},
1616
"url": "https://cloudfront.cn-northwest-1.amazonaws.com.cn"
1717
}
1818
},
1919
"params": {
20+
"UseDualStack": false,
2021
"UseFIPS": false,
21-
"Region": "aws-cn-global",
22-
"UseDualStack": false
22+
"Region": "aws-cn-global"
2323
}
2424
},
2525
{
@@ -29,19 +29,19 @@
2929
"properties": {
3030
"authSchemes": [
3131
{
32-
"signingRegion": "us-east-1",
32+
"name": "sigv4",
3333
"signingName": "cloudfront",
34-
"name": "sigv4"
34+
"signingRegion": "us-east-1"
3535
}
3636
]
3737
},
3838
"url": "https://cloudfront.amazonaws.com"
3939
}
4040
},
4141
"params": {
42+
"UseDualStack": false,
4243
"UseFIPS": false,
43-
"Region": "aws-global",
44-
"UseDualStack": false
44+
"Region": "aws-global"
4545
}
4646
},
4747
{
@@ -52,9 +52,9 @@
5252
}
5353
},
5454
"params": {
55+
"UseDualStack": false,
5556
"UseFIPS": false,
5657
"Region": "us-east-1",
57-
"UseDualStack": false,
5858
"Endpoint": "https://example.com"
5959
}
6060
},
@@ -64,9 +64,9 @@
6464
"error": "Invalid Configuration: FIPS and custom endpoint are not supported"
6565
},
6666
"params": {
67+
"UseDualStack": false,
6768
"UseFIPS": true,
6869
"Region": "us-east-1",
69-
"UseDualStack": false,
7070
"Endpoint": "https://example.com"
7171
}
7272
},
@@ -76,9 +76,9 @@
7676
"error": "Invalid Configuration: Dualstack and custom endpoint are not supported"
7777
},
7878
"params": {
79+
"UseDualStack": true,
7980
"UseFIPS": false,
8081
"Region": "us-east-1",
81-
"UseDualStack": true,
8282
"Endpoint": "https://example.com"
8383
}
8484
}

services/cloudfront/src/main/resources/codegen-resources/service-2.json

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@
453453
{"shape":"TooManyOriginAccessControls"},
454454
{"shape":"InvalidArgument"}
455455
],
456-
"documentation":"<p>Creates a new origin access control in CloudFront. After you create an origin access control, you can add it to an origin in a CloudFront distribution so that CloudFront sends authenticated (signed) requests to the origin.</p> <p>For an Amazon S3 origin, this makes it possible to block public access to the Amazon S3 bucket so that viewers (users) can access the content in the bucket only through CloudFront.</p> <p>For more information about using a CloudFront origin access control, see <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-restricting-access-to-s3.html\">Restricting access to an Amazon S3 origin</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>"
456+
"documentation":"<p>Creates a new origin access control in CloudFront. After you create an origin access control, you can add it to an origin in a CloudFront distribution so that CloudFront sends authenticated (signed) requests to the origin.</p> <p>This makes it possible to block public access to the origin, allowing viewers (users) to access the origin's content only through CloudFront.</p> <p>For more information about using a CloudFront origin access control, see <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-restricting-access-to-origin.html\">Restricting access to an Amazon Web Services origin</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>"
457457
},
458458
"CreateOriginRequestPolicy":{
459459
"name":"CreateOriginRequestPolicy2020_05_31",
@@ -7729,7 +7729,7 @@
77297729
},
77307730
"OriginAccessControlOriginType":{
77317731
"shape":"OriginAccessControlOriginTypes",
7732-
"documentation":"<p>The type of origin that this origin access control is for. The only valid value is <code>s3</code>.</p>"
7732+
"documentation":"<p>The type of origin that this origin access control is for.</p>"
77337733
}
77347734
},
77357735
"documentation":"<p>A CloudFront origin access control configuration.</p>"
@@ -7781,7 +7781,10 @@
77817781
},
77827782
"OriginAccessControlOriginTypes":{
77837783
"type":"string",
7784-
"enum":["s3"]
7784+
"enum":[
7785+
"s3",
7786+
"mediastore"
7787+
]
77857788
},
77867789
"OriginAccessControlSigningBehaviors":{
77877790
"type":"string",
@@ -7828,7 +7831,7 @@
78287831
},
78297832
"OriginAccessControlOriginType":{
78307833
"shape":"OriginAccessControlOriginTypes",
7831-
"documentation":"<p>The type of origin that this origin access control is for. The only valid value is <code>s3</code>.</p>"
7834+
"documentation":"<p>The type of origin that this origin access control is for.</p>"
78327835
}
78337836
},
78347837
"documentation":"<p>A CloudFront origin access control.</p>"

0 commit comments

Comments
 (0)