Skip to content

Commit 56bca49

Browse files
author
AWS
committed
Amazon EventBridge Pipes Update: LogConfiguration ARN validation fixes
1 parent 56f8bc6 commit 56bca49

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
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 EventBridge Pipes",
4+
"contributor": "",
5+
"description": "LogConfiguration ARN validation fixes"
6+
}

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@
415415
"type":"string",
416416
"max":1600,
417417
"min":1,
418-
"pattern":"^(^arn:aws([a-z]|\\-)*:logs:([a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\\d{1}):(\\d{12}):log-group:.+)$"
418+
"pattern":"^(^arn:aws([a-z]|\\-)*:logs:([a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\\d{1}):(\\d{12}):log-group:[\\.\\-_/#A-Za-z0-9]{1,512}(:\\*)?)$"
419419
},
420420
"CloudwatchLogsLogDestination":{
421421
"type":"structure",
@@ -964,7 +964,7 @@
964964
"type":"string",
965965
"max":1600,
966966
"min":1,
967-
"pattern":"^(^arn:aws([a-z]|\\-)*:firehose:([a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\\d{1}):(\\d{12}):deliverystream/.+)$"
967+
"pattern":"^(^arn:aws([a-z]|\\-)*:firehose:([a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\\d{1}):(\\d{12}):deliverystream/[a-zA-Z0-9_.-]{1,64})$"
968968
},
969969
"FirehoseLogDestination":{
970970
"type":"structure",

0 commit comments

Comments
 (0)