Skip to content

Commit a698f33

Browse files
author
AWS
committed
AWS S3 Control Update: Updates to support S3 Express zonal endpoints for directory buckets in AWS CLI
1 parent 513a985 commit a698f33

File tree

3 files changed

+553
-0
lines changed

3 files changed

+553
-0
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": "AWS S3 Control",
4+
"contributor": "",
5+
"description": "Updates to support S3 Express zonal endpoints for directory buckets in AWS CLI"
6+
}

services/s3control/src/main/resources/codegen-resources/endpoint-rule-set.json

Lines changed: 133 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -468,6 +468,29 @@
468468
}
469469
],
470470
"rules": [
471+
{
472+
"conditions": [
473+
{
474+
"fn": "isSet",
475+
"argv": [
476+
{
477+
"ref": "Endpoint"
478+
}
479+
]
480+
},
481+
{
482+
"fn": "booleanEquals",
483+
"argv": [
484+
{
485+
"ref": "UseDualStack"
486+
},
487+
true
488+
]
489+
}
490+
],
491+
"error": "Invalid Configuration: DualStack and custom endpoint are not supported",
492+
"type": "error"
493+
},
471494
{
472495
"conditions": [
473496
{
@@ -483,6 +506,42 @@
483506
"error": "S3Express does not support Dual-stack.",
484507
"type": "error"
485508
},
509+
{
510+
"conditions": [
511+
{
512+
"fn": "isSet",
513+
"argv": [
514+
{
515+
"ref": "Endpoint"
516+
}
517+
]
518+
},
519+
{
520+
"fn": "parseURL",
521+
"argv": [
522+
{
523+
"ref": "Endpoint"
524+
}
525+
],
526+
"assign": "url"
527+
}
528+
],
529+
"endpoint": {
530+
"url": "{url#scheme}://{url#authority}",
531+
"properties": {
532+
"authSchemes": [
533+
{
534+
"disableDoubleEncoding": true,
535+
"name": "sigv4",
536+
"signingName": "s3express",
537+
"signingRegion": "{Region}"
538+
}
539+
]
540+
},
541+
"headers": {}
542+
},
543+
"type": "endpoint"
544+
},
486545
{
487546
"conditions": [
488547
{
@@ -958,6 +1017,80 @@
9581017
}
9591018
],
9601019
"rules": [
1020+
{
1021+
"conditions": [
1022+
{
1023+
"fn": "isSet",
1024+
"argv": [
1025+
{
1026+
"ref": "Endpoint"
1027+
}
1028+
]
1029+
},
1030+
{
1031+
"fn": "booleanEquals",
1032+
"argv": [
1033+
{
1034+
"ref": "UseDualStack"
1035+
},
1036+
true
1037+
]
1038+
}
1039+
],
1040+
"error": "Invalid Configuration: DualStack and custom endpoint are not supported",
1041+
"type": "error"
1042+
},
1043+
{
1044+
"conditions": [
1045+
{
1046+
"fn": "booleanEquals",
1047+
"argv": [
1048+
{
1049+
"ref": "UseDualStack"
1050+
},
1051+
true
1052+
]
1053+
}
1054+
],
1055+
"error": "S3Express does not support Dual-stack.",
1056+
"type": "error"
1057+
},
1058+
{
1059+
"conditions": [
1060+
{
1061+
"fn": "isSet",
1062+
"argv": [
1063+
{
1064+
"ref": "Endpoint"
1065+
}
1066+
]
1067+
},
1068+
{
1069+
"fn": "parseURL",
1070+
"argv": [
1071+
{
1072+
"ref": "Endpoint"
1073+
}
1074+
],
1075+
"assign": "url"
1076+
}
1077+
],
1078+
"endpoint": {
1079+
"url": "{url#scheme}://{url#authority}",
1080+
"properties": {
1081+
"authSchemes": [
1082+
{
1083+
"disableDoubleEncoding": true,
1084+
"name": "sigv4",
1085+
"signingName": "s3express",
1086+
"signingRegion": "{Region}"
1087+
}
1088+
]
1089+
},
1090+
"headers": {}
1091+
},
1092+
"type": "endpoint"
1093+
},
9611094
{
9621095
"conditions": [
9631096
{

0 commit comments

Comments
 (0)