forked from aws-cloudformation/community-registry-extensions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
awscommunity-time-sleep.json
73 lines (73 loc) · 2.01 KB
/
awscommunity-time-sleep.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
{
"typeName": "AwsCommunity::Time::Sleep",
"description": "Sleep a provided number of seconds between create, update, or delete operations.",
"sourceUrl": "https://github.com/aws-cloudformation/community-registry-extensions.git",
"definitions": {},
"properties": {
"Id": {
"description": "Id is a unique identifier that is auto generated.",
"type": "string"
},
"Seconds": {
"description": "The number of seconds to sleep for.",
"type": "integer",
"exclusiveMinimum": 0,
"exclusiveMaximum": 600
},
"SleepOnCreate": {
"description": "If we should sleep on a create.",
"type": "boolean",
"default": true
},
"SleepOnUpdate": {
"description": "If we should sleep on an update.",
"type": "boolean",
"default": true
},
"SleepOnDelete": {
"description": "If we should sleep on a delete.",
"type": "boolean",
"default": true
},
"Triggers": {
"description": "A value to represent when a sleep should occur. Any time this is updated this resource will sleep.",
"type": "array",
"items": {
"type": "string"
},
"insertionOrder": true
}
},
"additionalProperties": false,
"required": [
"Seconds"
],
"readOnlyProperties": [
"/properties/Id"
],
"primaryIdentifier": [
"/properties/Id"
],
"handlers": {
"create": {
"permissions": [
"ssm:PutParameter"
]
},
"read": {
"permissions": [
"ssm:GetParameter"
]
},
"update": {
"permissions": [
"ssm:PutParameter"
]
},
"delete": {
"permissions": [
"ssm:DeleteParameter"
]
}
}
}