Skip to content

Commit b699770

Browse files
committed
AWS Config for Python
1 parent 4f17481 commit b699770

File tree

9 files changed

+1067
-0
lines changed

9 files changed

+1067
-0
lines changed
Lines changed: 195 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,195 @@
1+
# zexi 0.4.0
2+
config_PutConfigurationRecorder:
3+
languages:
4+
Python:
5+
versions:
6+
- sdk_version: 3
7+
github: python/example_code/config
8+
sdkguide:
9+
excerpts:
10+
- description:
11+
snippet_tags:
12+
- python.example_code.config.ConfigWrapper
13+
- python.example_code.config.PutConfigurationRecorder
14+
services:
15+
config-service: {PutConfigurationRecorder}
16+
config_PutDeliveryChannel:
17+
languages:
18+
Python:
19+
versions:
20+
- sdk_version: 3
21+
github: python/example_code/config
22+
sdkguide:
23+
excerpts:
24+
- description:
25+
snippet_tags:
26+
- python.example_code.config.ConfigWrapper
27+
- python.example_code.config.PutDeliveryChannel
28+
services:
29+
config-service: {PutDeliveryChannel}
30+
config_StartConfigurationRecorder:
31+
languages:
32+
Python:
33+
versions:
34+
- sdk_version: 3
35+
github: python/example_code/config
36+
sdkguide:
37+
excerpts:
38+
- description:
39+
snippet_tags:
40+
- python.example_code.config.ConfigWrapper
41+
- python.example_code.config.StartConfigurationRecorder
42+
services:
43+
config-service: {StartConfigurationRecorder}
44+
config_DescribeConfigurationRecorders:
45+
languages:
46+
Python:
47+
versions:
48+
- sdk_version: 3
49+
github: python/example_code/config
50+
sdkguide:
51+
excerpts:
52+
- description:
53+
snippet_tags:
54+
- python.example_code.config.ConfigWrapper
55+
- python.example_code.config.DescribeConfigurationRecorders
56+
services:
57+
config-service: {DescribeConfigurationRecorders}
58+
config_DescribeConfigurationRecorderStatus:
59+
languages:
60+
Python:
61+
versions:
62+
- sdk_version: 3
63+
github: python/example_code/config
64+
sdkguide:
65+
excerpts:
66+
- description:
67+
snippet_tags:
68+
- python.example_code.config.ConfigWrapper
69+
- python.example_code.config.DescribeConfigurationRecorderStatus
70+
services:
71+
config-service: {DescribeConfigurationRecorderStatus}
72+
config_ListDiscoveredResources:
73+
languages:
74+
Python:
75+
versions:
76+
- sdk_version: 3
77+
github: python/example_code/config
78+
sdkguide:
79+
excerpts:
80+
- description:
81+
snippet_tags:
82+
- python.example_code.config.ConfigWrapper
83+
- python.example_code.config.ListDiscoveredResources
84+
services:
85+
config-service: {ListDiscoveredResources}
86+
config_GetResourceConfigHistory:
87+
languages:
88+
Python:
89+
versions:
90+
- sdk_version: 3
91+
github: python/example_code/config
92+
sdkguide:
93+
excerpts:
94+
- description:
95+
snippet_tags:
96+
- python.example_code.config.ConfigWrapper
97+
- python.example_code.config.GetResourceConfigHistory
98+
services:
99+
config-service: {GetResourceConfigHistory}
100+
config_StopConfigurationRecorder:
101+
languages:
102+
Python:
103+
versions:
104+
- sdk_version: 3
105+
github: python/example_code/config
106+
sdkguide:
107+
excerpts:
108+
- description:
109+
snippet_tags:
110+
- python.example_code.config.ConfigWrapper
111+
- python.example_code.config.StopConfigurationRecorder
112+
services:
113+
config-service: {StopConfigurationRecorder}
114+
config_DeleteConfigurationRecorder:
115+
languages:
116+
Python:
117+
versions:
118+
- sdk_version: 3
119+
github: python/example_code/config
120+
sdkguide:
121+
excerpts:
122+
- description:
123+
snippet_tags:
124+
- python.example_code.config.ConfigWrapper
125+
- python.example_code.config.DeleteConfigurationRecorder
126+
services:
127+
config-service: {DeleteConfigurationRecorder}
128+
config_DeleteDeliveryChannel:
129+
languages:
130+
Python:
131+
versions:
132+
- sdk_version: 3
133+
github: python/example_code/config
134+
sdkguide:
135+
excerpts:
136+
- description:
137+
snippet_tags:
138+
- python.example_code.config.ConfigWrapper
139+
- python.example_code.config.DeleteDeliveryChannel
140+
services:
141+
config-service: {DeleteDeliveryChannel}
142+
config_Hello:
143+
title: Hello &Config;
144+
title_abbrev: Hello &Config;
145+
synopsis: Get started using &Config; by listing existing configuration recorders.
146+
category: Hello
147+
languages:
148+
Python:
149+
versions:
150+
- sdk_version: 3
151+
github: python/example_code/config
152+
sdkguide:
153+
excerpts:
154+
- description:
155+
snippet_tags:
156+
- python.example_code.config.HelloConfig
157+
services:
158+
config-service: {DescribeConfigurationRecorders}
159+
config_Scenario:
160+
title: Get started with &Config; using an &AWS; SDK
161+
title_abbrev: Get started with &Config;
162+
synopsis_list:
163+
- Create a configuration recorder to track &AWS; resource configurations.
164+
- Set up a delivery channel to specify where &Config; sends configuration snapshots.
165+
- Start the configuration recorder to begin monitoring resources.
166+
- Monitor configuration recorder status and settings.
167+
- Discover &AWS; resources in your account.
168+
- View configuration history for specific resources.
169+
- Clean up &Config; resources.
170+
category: Scenarios
171+
languages:
172+
Python:
173+
versions:
174+
- sdk_version: 3
175+
github: python/example_code/config
176+
sdkguide:
177+
excerpts:
178+
- description: Create a wrapper class for &Config; operations.
179+
snippet_tags:
180+
- python.example_code.config.ConfigWrapper
181+
- python.example_code.config.PutConfigurationRecorder
182+
- python.example_code.config.PutDeliveryChannel
183+
- python.example_code.config.StartConfigurationRecorder
184+
- python.example_code.config.DescribeConfigurationRecorders
185+
- python.example_code.config.DescribeConfigurationRecorderStatus
186+
- python.example_code.config.ListDiscoveredResources
187+
- python.example_code.config.GetResourceConfigHistory
188+
- python.example_code.config.StopConfigurationRecorder
189+
- python.example_code.config.DeleteConfigurationRecorder
190+
- python.example_code.config.DeleteDeliveryChannel
191+
- description: Run a comprehensive scenario demonstrating &Config; setup and resource monitoring.
192+
snippet_tags:
193+
- python.example_code.config.Scenario_ConfigBasics
194+
services:
195+
config-service: {PutConfigurationRecorder, PutDeliveryChannel, StartConfigurationRecorder, DescribeConfigurationRecorders, DescribeConfigurationRecorderStatus, ListDiscoveredResources, GetResourceConfigHistory, StopConfigurationRecorder, DeleteConfigurationRecorder, DeleteDeliveryChannel}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ Package.resolved
1818
build_dir
1919
node_modules
2020
super-linter.log
21+
debug.log
2122
target
2223
vendor
2324
venv

python/example_code/config/README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,28 @@ Code excerpts that show you how to call individual service functions.
4040

4141
- [DeleteConfigRule](config_rules.py#L89)
4242
- [DescribeConfigRules](config_rules.py#L67)
43+
- [DescribeConfigurationRecorders](config_rules.py#L150)
44+
- [DescribeConfigurationRecorderStatus](config_rules.py#L175)
45+
- [GetResourceConfigHistory](config_rules.py#L225)
46+
- [ListDiscoveredResources](config_rules.py#L200)
4347
- [PutConfigRule](config_rules.py#L34)
48+
- [PutConfigurationRecorder](config_rules.py#L105)
49+
- [PutDeliveryChannel](config_rules.py#L130)
50+
- [StartConfigurationRecorder](config_rules.py#L155)
51+
- [StopConfigurationRecorder](config_rules.py#L250)
52+
53+
### Hello
54+
55+
Code example that shows you how to get started using the service.
56+
57+
- [Hello AWS Config](config_hello.py)
58+
59+
### Scenarios
60+
61+
Code examples that show you how to accomplish a specific task by calling multiple
62+
functions within the same service.
63+
64+
- [Get started with AWS Config](config_basics.py)
4465

4566

4667
<!--custom.examples.start-->

0 commit comments

Comments
 (0)