Skip to content

Commit 644c119

Browse files
authored
Add pattern for SNS topic name (#3869)
* Add pattern for SNS topic name
1 parent 53e767e commit 644c119

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[
2+
{
3+
"op": "add",
4+
"path": "/properties/TopicName/pattern",
5+
"value": "^[a-zA-Z0-9-_]+(\\.fifo)?$"
6+
}
7+
]

src/cfnlint/data/schemas/providers/us_east_1/aws-sns-topic.json

+1
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@
129129
"TopicName": {
130130
"maxLength": 256,
131131
"minLength": 1,
132+
"pattern": "^[a-zA-Z0-9-_]+(\\.fifo)?$",
132133
"type": "string"
133134
},
134135
"TracingConfig": {

0 commit comments

Comments
 (0)