-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtemplate.yaml
More file actions
131 lines (131 loc) · 4.25 KB
/
template.yaml
File metadata and controls
131 lines (131 loc) · 4.25 KB
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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
AWSTemplateFormatVersion: '2010-09-09'
Transform: 'AWS::Serverless-2016-10-31'
Resources:
hibernateRestEc2Instance:
Type: AWS::Serverless::Function
Properties:
Handler: index.handler
Runtime: nodejs18.x
CodeUri: ./src/functions/hibernateRestEc2Instance
Description: ''
MemorySize: 256
Timeout: 10
Role: >-
arn:aws:iam::884587563648:role/role-develma-lambda-hibernateRestEc2Instance
Environment:
Variables:
ENV_FILE_S3_BUCKET: >-
develma-lambda
ENV_FILE_S3_PATH: >-
env/hibernateRestEc2Instance.json
Layers:
- 'arn:aws:lambda:ap-northeast-2:884587563648:layer:stack-node-common:15'
RuntimeManagementConfig:
UpdateRuntimeOn: Auto
chkEc2CondiMinecraftServerIdle:
Type: AWS::Serverless::Function
Properties:
Handler: index.handler
Runtime: nodejs18.x
CodeUri: ./src/functions/chkEc2CondiMinecraftServerIdle
Description: ''
MemorySize: 256
Timeout: 10
Role: >-
arn:aws:iam::884587563648:role/role-develma-lambda-chkEc2CondiMinecraftServerIdle
Layers:
- 'arn:aws:lambda:ap-northeast-2:884587563648:layer:stack-node-common:15'
RuntimeManagementConfig:
UpdateRuntimeOn: Auto
chkEc2CondiOpenVpnAccessServerIdle:
Type: AWS::Serverless::Function
Properties:
Handler: index.handler
Runtime: nodejs18.x
CodeUri: ./src/functions/chkEc2CondiOpenVpnAccessServerIdle
Description: ''
MemorySize: 256
Timeout: 10
Role: >-
arn:aws:iam::884587563648:role/role-develma-lambda-chkEc2CondiOpenVpnAccessServerIdle
VpcConfig:
SecurityGroupIds:
- sg-0a6d8baf06be8867c
SubnetIds:
- subnet-05688874212d0abbd
- subnet-08264014f9b279118
- subnet-06f002cc77ccc4805
- subnet-0fb99247dca3eb20f
Layers:
- 'arn:aws:lambda:ap-northeast-2:884587563648:layer:stack-node-common:15'
RuntimeManagementConfig:
UpdateRuntimeOn: Auto
chkEc2CondiSshDirLastModDate:
Type: AWS::Serverless::Function
Properties:
Handler: index.handler
Runtime: nodejs18.x
CodeUri: ./src/functions/chkEc2CondiSshDirLastModDate
Description: ''
MemorySize: 256
Timeout: 10
Role: >-
arn:aws:iam::884587563648:role/role-develma-lambda-chkEc2CondiSshDirLastModDate
VpcConfig:
SecurityGroupIds:
- sg-0a6d8baf06be8867c
SubnetIds:
- subnet-05688874212d0abbd
- subnet-08264014f9b279118
- subnet-06f002cc77ccc4805
- subnet-0fb99247dca3eb20f
Layers:
- 'arn:aws:lambda:ap-northeast-2:884587563648:layer:stack-node-common:15'
RuntimeManagementConfig:
UpdateRuntimeOn: Auto
setEc2InstancesStatus:
Type: AWS::Serverless::Function
Properties:
Handler: index.handler
Runtime: nodejs18.x
CodeUri: ./src/functions/setEc2InstancesStatus
Description: ''
MemorySize: 256
Timeout: 10
Role: >-
arn:aws:iam::884587563648:role/role-develma-lambda-setEc2InstancesStatus
VpcConfig:
SecurityGroupIds:
- sg-0a6d8baf06be8867c
SubnetIds:
- subnet-05688874212d0abbd
- subnet-08264014f9b279118
- subnet-06f002cc77ccc4805
- subnet-0fb99247dca3eb20f
Layers:
- 'arn:aws:lambda:ap-northeast-2:884587563648:layer:stack-node-common:15'
RuntimeManagementConfig:
UpdateRuntimeOn: Auto
getEc2InstancesDataFromRedis:
Type: AWS::Serverless::Function
Properties:
Handler: index.handler
Runtime: nodejs18.x
CodeUri: ./src/functions/getEc2InstancesDataFromRedis
Description: ''
MemorySize: 256
Timeout: 10
Role: >-
arn:aws:iam::884587563648:role/role-develma-lambda-getEc2InstancesDataFromRedis
VpcConfig:
SecurityGroupIds:
- sg-0a6d8baf06be8867c
SubnetIds:
- subnet-05688874212d0abbd
- subnet-08264014f9b279118
- subnet-06f002cc77ccc4805
- subnet-0fb99247dca3eb20f
Layers:
- 'arn:aws:lambda:ap-northeast-2:884587563648:layer:stack-node-common:15'
RuntimeManagementConfig:
UpdateRuntimeOn: Auto