File tree Expand file tree Collapse file tree 2 files changed +13
-7
lines changed
services/pipes/src/main/resources/codegen-resources Expand file tree Collapse file tree 2 files changed +13
-7
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "type" : " feature" ,
3
+ "category" : " Amazon EventBridge Pipes" ,
4
+ "contributor" : " " ,
5
+ "description" : " This release improves validation on the ARNs in the API model"
6
+ }
Original file line number Diff line number Diff line change 195
195
"type" :" string" ,
196
196
"max" :1600 ,
197
197
"min" :1 ,
198
- "pattern" :" ^arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\\ -]+):([a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\\ d{1})?:(\\ d{12})?:(.* )$"
198
+ "pattern" :" ^arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\\ -]+):([a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\\ d{1})?:(\\ d{12})?:(.+ )$"
199
199
},
200
200
"ArnOrJsonPath" :{
201
201
"type" :" string" ,
202
202
"max" :1600 ,
203
203
"min" :1 ,
204
- "pattern" :" ^arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\\ -]+):([a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\\ d{1})?:(\\ d{12})?:(.* )|(\\ $(\\ .[\\ w/_-]+(\\ [(\\ d+|\\ *)\\ ])*)*)$"
204
+ "pattern" :" ^arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\\ -]+):([a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\\ d{1})?:(\\ d{12})?:(.+ )|(\\ $(\\ .[\\ w/_-]+(\\ [(\\ d+|\\ *)\\ ])*)*)$"
205
205
},
206
206
"ArnOrUrl" :{
207
207
"type" :" string" ,
208
208
"max" :1600 ,
209
209
"min" :1 ,
210
- "pattern" :" ^smk://(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\ -]*[a-zA-Z0-9])\\ .)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\\ -]*[A-Za-z0-9]):[0-9]{1,5}|arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\\ -]+):([a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\\ d{1})?:(\\ d{12})?:(.* )$"
210
+ "pattern" :" ^smk://(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\ -]*[a-zA-Z0-9])\\ .)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\\ -]*[A-Za-z0-9]):[0-9]{1,5}|arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\\ -]+):([a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\\ d{1})?:(\\ d{12})?:(.+ )$"
211
211
},
212
212
"AssignPublicIp" :{
213
213
"type" :" string" ,
1223
1223
"type" :" string" ,
1224
1224
"max" :1600 ,
1225
1225
"min" :0 ,
1226
- "pattern" :" ^$|arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\\ -]+):([a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\\ d{1})?:(\\ d{12})?:(.* )$"
1226
+ "pattern" :" ^$|arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\\ -]+):([a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\\ d{1})?:(\\ d{12})?:(.+ )$"
1227
1227
},
1228
1228
"PathParameter" :{
1229
1229
"type" :" string" ,
1286
1286
"type" :" string" ,
1287
1287
"max" :1600 ,
1288
1288
"min" :1 ,
1289
- "pattern" :" ^arn:aws([a-z]|\\ -)*:([a-zA-Z0-9\\ -]+):([a-z]|\\ d|\\ -)*:([0-9]{12})?:(.* )$"
1289
+ "pattern" :" ^arn:aws([a-z]|\\ -)*:([a-zA-Z0-9\\ -]+):([a-z]|\\ d|\\ -)*:([0-9]{12})?:(.+ )$"
1290
1290
},
1291
1291
"PipeDescription" :{
1292
1292
"type" :" string" ,
2099
2099
"documentation" :" <p>// Optional SecretManager ARN which stores the database credentials</p>" ,
2100
2100
"max" :1600 ,
2101
2101
"min" :1 ,
2102
- "pattern" :" ^(^arn:aws([a-z]|\\ -)*:secretsmanager:[a-z0-9-.]+:.* )$"
2102
+ "pattern" :" ^(^arn:aws([a-z]|\\ -)*:secretsmanager:( [a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+- \\ d{1}):( \\ d{12}):secret:.+ )$"
2103
2103
},
2104
2104
"SecretManagerArnOrJsonPath" :{
2105
2105
"type" :" string" ,
2106
2106
"documentation" :" <p>// For targets, can either specify an ARN or a jsonpath pointing to the ARN.</p>" ,
2107
2107
"max" :1600 ,
2108
2108
"min" :1 ,
2109
- "pattern" :" ^(^arn:aws([a-z]|\\ -)*:secretsmanager:[a-z0-9-.]+:.* )|(\\ $(\\ .[\\ w/_-]+(\\ [(\\ d+|\\ *)\\ ])*)*)$"
2109
+ "pattern" :" ^(^arn:aws([a-z]|\\ -)*:secretsmanager:( [a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+- \\ d{1}):( \\ d{12}):secret:.+ )|(\\ $(\\ .[\\ w/_-]+(\\ [(\\ d+|\\ *)\\ ])*)*)$"
2110
2110
},
2111
2111
"SecurityGroup" :{
2112
2112
"type" :" string" ,
You can’t perform that action at this time.
0 commit comments