-
Notifications
You must be signed in to change notification settings - Fork 35
/
aws-logs-loggroup.json
82 lines (82 loc) · 1.85 KB
/
aws-logs-loggroup.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
74
75
76
77
78
79
80
81
82
{
"typeName": "AWS::Logs::LogGroup",
"description": "Resource schema for AWS::Logs::LogGroup",
"sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-logs.git",
"properties": {
"LogGroupName": {
"description": "The name of the log group. If you don't specify a name, AWS CloudFormation generates a unique ID for the log group. ",
"type": "string",
"minLength": 1,
"maxLength": 512,
"pattern": "^[.\\-_/#A-Za-z0-9]{1,512}\\Z"
},
"RetentionInDays": {
"description": "The number of days to retain the log events in the specified log group. Possible values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1827, and 3653.",
"type": "integer",
"enum": [
1,
3,
5,
7,
14,
30,
60,
90,
120,
150,
180,
365,
400,
545,
731,
1827,
3653
]
},
"Arn": {
"description": "The CloudWatch log group ARN.",
"type": "string"
}
},
"handlers": {
"create": {
"permissions": [
"logs:DescribeLogGroups",
"logs:CreateLogGroup"
]
},
"read": {
"permissions": [
"logs:DescribeLogGroups"
]
},
"update": {
"permissions": [
"logs:DescribeLogGroups",
"logs:PutRetentionPolicy",
"logs:DeleteRetentionPolicy"
]
},
"delete": {
"permissions": [
"logs:DescribeLogGroups",
"logs:DeleteLogGroup"
]
},
"list": {
"permissions": [
"logs:DescribeLogGroups"
]
}
},
"createOnlyProperties": [
"/properties/LogGroupName"
],
"readOnlyProperties": [
"/properties/Arn"
],
"primaryIdentifier": [
"/properties/LogGroupName"
],
"additionalProperties": false
}