Skip to content

Commit 21dd6d9

Browse files
author
AWS
committed
CloudWatch Observability Admin Service Update: Amazon CloudWatch Observability Admin adds the ability to audit telemetry configuration for AWS resources in customers AWS Accounts and Organizations. The release introduces new APIs to turn on/off the new experience, which supports discovering supported AWS resources and their state of telemetry.
1 parent 287690f commit 21dd6d9

File tree

7 files changed

+1190
-0
lines changed

7 files changed

+1190
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "CloudWatch Observability Admin Service",
4+
"contributor": "",
5+
"description": "Amazon CloudWatch Observability Admin adds the ability to audit telemetry configuration for AWS resources in customers AWS Accounts and Organizations. The release introduces new APIs to turn on/off the new experience, which supports discovering supported AWS resources and their state of telemetry."
6+
}

services/observabilityadmin/pom.xml

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2+
<!--
3+
~ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
4+
~
5+
~ Licensed under the Apache License, Version 2.0 (the "License").
6+
~ You may not use this file except in compliance with the License.
7+
~ A copy of the License is located at
8+
~
9+
~ http://aws.amazon.com/apache2.0
10+
~
11+
~ or in the "license" file accompanying this file. This file is distributed
12+
~ on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13+
~ express or implied. See the License for the specific language governing
14+
~ permissions and limitations under the License.
15+
--><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
16+
<modelVersion>4.0.0</modelVersion>
17+
<parent>
18+
<groupId>software.amazon.awssdk</groupId>
19+
<artifactId>services</artifactId>
20+
<version>2.29.23-SNAPSHOT</version>
21+
</parent>
22+
<artifactId>observabilityadmin</artifactId>
23+
<name>AWS Java SDK :: Services :: Observability Admin</name>
24+
<description>The AWS Java SDK for Observability Admin module holds the client classes that are used for
25+
communicating with Observability Admin.
26+
</description>
27+
<url>https://aws.amazon.com/sdkforjava</url>
28+
<build>
29+
<plugins>
30+
<plugin>
31+
<groupId>org.apache.maven.plugins</groupId>
32+
<artifactId>maven-jar-plugin</artifactId>
33+
<configuration>
34+
<archive>
35+
<manifestEntries>
36+
<Automatic-Module-Name>software.amazon.awssdk.services.observabilityadmin</Automatic-Module-Name>
37+
</manifestEntries>
38+
</archive>
39+
</configuration>
40+
</plugin>
41+
</plugins>
42+
</build>
43+
<dependencies>
44+
<dependency>
45+
<groupId>software.amazon.awssdk</groupId>
46+
<artifactId>protocol-core</artifactId>
47+
<version>${awsjavasdk.version}</version>
48+
</dependency>
49+
<dependency>
50+
<groupId>software.amazon.awssdk</groupId>
51+
<artifactId>aws-json-protocol</artifactId>
52+
<version>${awsjavasdk.version}</version>
53+
</dependency>
54+
<dependency>
55+
<groupId>software.amazon.awssdk</groupId>
56+
<artifactId>http-auth-aws</artifactId>
57+
<version>${awsjavasdk.version}</version>
58+
</dependency>
59+
</dependencies>
60+
</project>

services/observabilityadmin/src/main/resources/codegen-resources/endpoint-rule-set.json

Lines changed: 350 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 314 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,314 @@
1+
{
2+
"testCases": [
3+
{
4+
"documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
5+
"expect": {
6+
"endpoint": {
7+
"url": "https://observabilityadmin-fips.us-east-1.api.aws"
8+
}
9+
},
10+
"params": {
11+
"Region": "us-east-1",
12+
"UseFIPS": true,
13+
"UseDualStack": true
14+
}
15+
},
16+
{
17+
"documentation": "For region us-east-1 with FIPS enabled and DualStack disabled",
18+
"expect": {
19+
"endpoint": {
20+
"url": "https://observabilityadmin-fips.us-east-1.amazonaws.com"
21+
}
22+
},
23+
"params": {
24+
"Region": "us-east-1",
25+
"UseFIPS": true,
26+
"UseDualStack": false
27+
}
28+
},
29+
{
30+
"documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
31+
"expect": {
32+
"endpoint": {
33+
"url": "https://observabilityadmin.us-east-1.api.aws"
34+
}
35+
},
36+
"params": {
37+
"Region": "us-east-1",
38+
"UseFIPS": false,
39+
"UseDualStack": true
40+
}
41+
},
42+
{
43+
"documentation": "For region us-east-1 with FIPS disabled and DualStack disabled",
44+
"expect": {
45+
"endpoint": {
46+
"url": "https://observabilityadmin.us-east-1.amazonaws.com"
47+
}
48+
},
49+
"params": {
50+
"Region": "us-east-1",
51+
"UseFIPS": false,
52+
"UseDualStack": false
53+
}
54+
},
55+
{
56+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled",
57+
"expect": {
58+
"endpoint": {
59+
"url": "https://observabilityadmin-fips.cn-north-1.api.amazonwebservices.com.cn"
60+
}
61+
},
62+
"params": {
63+
"Region": "cn-north-1",
64+
"UseFIPS": true,
65+
"UseDualStack": true
66+
}
67+
},
68+
{
69+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled",
70+
"expect": {
71+
"endpoint": {
72+
"url": "https://observabilityadmin-fips.cn-north-1.amazonaws.com.cn"
73+
}
74+
},
75+
"params": {
76+
"Region": "cn-north-1",
77+
"UseFIPS": true,
78+
"UseDualStack": false
79+
}
80+
},
81+
{
82+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled",
83+
"expect": {
84+
"endpoint": {
85+
"url": "https://observabilityadmin.cn-north-1.api.amazonwebservices.com.cn"
86+
}
87+
},
88+
"params": {
89+
"Region": "cn-north-1",
90+
"UseFIPS": false,
91+
"UseDualStack": true
92+
}
93+
},
94+
{
95+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled",
96+
"expect": {
97+
"endpoint": {
98+
"url": "https://observabilityadmin.cn-north-1.amazonaws.com.cn"
99+
}
100+
},
101+
"params": {
102+
"Region": "cn-north-1",
103+
"UseFIPS": false,
104+
"UseDualStack": false
105+
}
106+
},
107+
{
108+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled",
109+
"expect": {
110+
"endpoint": {
111+
"url": "https://observabilityadmin-fips.us-gov-east-1.api.aws"
112+
}
113+
},
114+
"params": {
115+
"Region": "us-gov-east-1",
116+
"UseFIPS": true,
117+
"UseDualStack": true
118+
}
119+
},
120+
{
121+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled",
122+
"expect": {
123+
"endpoint": {
124+
"url": "https://observabilityadmin-fips.us-gov-east-1.amazonaws.com"
125+
}
126+
},
127+
"params": {
128+
"Region": "us-gov-east-1",
129+
"UseFIPS": true,
130+
"UseDualStack": false
131+
}
132+
},
133+
{
134+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled",
135+
"expect": {
136+
"endpoint": {
137+
"url": "https://observabilityadmin.us-gov-east-1.api.aws"
138+
}
139+
},
140+
"params": {
141+
"Region": "us-gov-east-1",
142+
"UseFIPS": false,
143+
"UseDualStack": true
144+
}
145+
},
146+
{
147+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled",
148+
"expect": {
149+
"endpoint": {
150+
"url": "https://observabilityadmin.us-gov-east-1.amazonaws.com"
151+
}
152+
},
153+
"params": {
154+
"Region": "us-gov-east-1",
155+
"UseFIPS": false,
156+
"UseDualStack": false
157+
}
158+
},
159+
{
160+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
161+
"expect": {
162+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
163+
},
164+
"params": {
165+
"Region": "us-iso-east-1",
166+
"UseFIPS": true,
167+
"UseDualStack": true
168+
}
169+
},
170+
{
171+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
172+
"expect": {
173+
"endpoint": {
174+
"url": "https://observabilityadmin-fips.us-iso-east-1.c2s.ic.gov"
175+
}
176+
},
177+
"params": {
178+
"Region": "us-iso-east-1",
179+
"UseFIPS": true,
180+
"UseDualStack": false
181+
}
182+
},
183+
{
184+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
185+
"expect": {
186+
"error": "DualStack is enabled but this partition does not support DualStack"
187+
},
188+
"params": {
189+
"Region": "us-iso-east-1",
190+
"UseFIPS": false,
191+
"UseDualStack": true
192+
}
193+
},
194+
{
195+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
196+
"expect": {
197+
"endpoint": {
198+
"url": "https://observabilityadmin.us-iso-east-1.c2s.ic.gov"
199+
}
200+
},
201+
"params": {
202+
"Region": "us-iso-east-1",
203+
"UseFIPS": false,
204+
"UseDualStack": false
205+
}
206+
},
207+
{
208+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
209+
"expect": {
210+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
211+
},
212+
"params": {
213+
"Region": "us-isob-east-1",
214+
"UseFIPS": true,
215+
"UseDualStack": true
216+
}
217+
},
218+
{
219+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
220+
"expect": {
221+
"endpoint": {
222+
"url": "https://observabilityadmin-fips.us-isob-east-1.sc2s.sgov.gov"
223+
}
224+
},
225+
"params": {
226+
"Region": "us-isob-east-1",
227+
"UseFIPS": true,
228+
"UseDualStack": false
229+
}
230+
},
231+
{
232+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled",
233+
"expect": {
234+
"error": "DualStack is enabled but this partition does not support DualStack"
235+
},
236+
"params": {
237+
"Region": "us-isob-east-1",
238+
"UseFIPS": false,
239+
"UseDualStack": true
240+
}
241+
},
242+
{
243+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
244+
"expect": {
245+
"endpoint": {
246+
"url": "https://observabilityadmin.us-isob-east-1.sc2s.sgov.gov"
247+
}
248+
},
249+
"params": {
250+
"Region": "us-isob-east-1",
251+
"UseFIPS": false,
252+
"UseDualStack": false
253+
}
254+
},
255+
{
256+
"documentation": "For custom endpoint with region set and fips disabled and dualstack disabled",
257+
"expect": {
258+
"endpoint": {
259+
"url": "https://example.com"
260+
}
261+
},
262+
"params": {
263+
"Region": "us-east-1",
264+
"UseFIPS": false,
265+
"UseDualStack": false,
266+
"Endpoint": "https://example.com"
267+
}
268+
},
269+
{
270+
"documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled",
271+
"expect": {
272+
"endpoint": {
273+
"url": "https://example.com"
274+
}
275+
},
276+
"params": {
277+
"UseFIPS": false,
278+
"UseDualStack": false,
279+
"Endpoint": "https://example.com"
280+
}
281+
},
282+
{
283+
"documentation": "For custom endpoint with fips enabled and dualstack disabled",
284+
"expect": {
285+
"error": "Invalid Configuration: FIPS and custom endpoint are not supported"
286+
},
287+
"params": {
288+
"Region": "us-east-1",
289+
"UseFIPS": true,
290+
"UseDualStack": false,
291+
"Endpoint": "https://example.com"
292+
}
293+
},
294+
{
295+
"documentation": "For custom endpoint with fips disabled and dualstack enabled",
296+
"expect": {
297+
"error": "Invalid Configuration: Dualstack and custom endpoint are not supported"
298+
},
299+
"params": {
300+
"Region": "us-east-1",
301+
"UseFIPS": false,
302+
"UseDualStack": true,
303+
"Endpoint": "https://example.com"
304+
}
305+
},
306+
{
307+
"documentation": "Missing region",
308+
"expect": {
309+
"error": "Invalid Configuration: Missing Region"
310+
}
311+
}
312+
],
313+
"version": "1.0"
314+
}

0 commit comments

Comments
 (0)