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 195195 "type" :" string" ,
196196 "max" :1600 ,
197197 "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})?:(.+ )$"
199199 },
200200 "ArnOrJsonPath" :{
201201 "type" :" string" ,
202202 "max" :1600 ,
203203 "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+|\\ *)\\ ])*)*)$"
205205 },
206206 "ArnOrUrl" :{
207207 "type" :" string" ,
208208 "max" :1600 ,
209209 "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})?:(.+ )$"
211211 },
212212 "AssignPublicIp" :{
213213 "type" :" string" ,
12231223 "type" :" string" ,
12241224 "max" :1600 ,
12251225 "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})?:(.+ )$"
12271227 },
12281228 "PathParameter" :{
12291229 "type" :" string" ,
12861286 "type" :" string" ,
12871287 "max" :1600 ,
12881288 "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})?:(.+ )$"
12901290 },
12911291 "PipeDescription" :{
12921292 "type" :" string" ,
20992099 "documentation" :" <p>// Optional SecretManager ARN which stores the database credentials</p>" ,
21002100 "max" :1600 ,
21012101 "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:.+ )$"
21032103 },
21042104 "SecretManagerArnOrJsonPath" :{
21052105 "type" :" string" ,
21062106 "documentation" :" <p>// For targets, can either specify an ARN or a jsonpath pointing to the ARN.</p>" ,
21072107 "max" :1600 ,
21082108 "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+|\\ *)\\ ])*)*)$"
21102110 },
21112111 "SecurityGroup" :{
21122112 "type" :" string" ,
You can’t perform that action at this time.
0 commit comments