Skip to content

Commit e4e298a

Browse files
author
AWS
committed
Amazon CloudWatch Internet Monitor Update: CloudWatch Internet Monitor is a a new service within CloudWatch that will help application developers and network engineers continuously monitor internet performance metrics such as availability and performance between their AWS-hosted applications and end-users of these applications
1 parent 829e9b9 commit e4e298a

File tree

7 files changed

+1623
-0
lines changed

7 files changed

+1623
-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": "Amazon CloudWatch Internet Monitor",
4+
"contributor": "",
5+
"description": "CloudWatch Internet Monitor is a a new service within CloudWatch that will help application developers and network engineers continuously monitor internet performance metrics such as availability and performance between their AWS-hosted applications and end-users of these applications"
6+
}

services/internetmonitor/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"?>
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+
-->
16+
17+
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
18+
xmlns="http://maven.apache.org/POM/4.0.0"
19+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
20+
<modelVersion>4.0.0</modelVersion>
21+
<parent>
22+
<groupId>software.amazon.awssdk</groupId>
23+
<artifactId>services</artifactId>
24+
<version>2.20.13-SNAPSHOT</version>
25+
</parent>
26+
<artifactId>internetmonitor</artifactId>
27+
<name>AWS Java SDK :: Services :: Internet Monitor</name>
28+
<description>The AWS Java SDK for Internet Monitor module holds the client classes that are used for
29+
communicating with Internet Monitor.
30+
</description>
31+
<url>https://aws.amazon.com/sdkforjava</url>
32+
<build>
33+
<plugins>
34+
<plugin>
35+
<groupId>org.apache.maven.plugins</groupId>
36+
<artifactId>maven-jar-plugin</artifactId>
37+
<configuration>
38+
<archive>
39+
<manifestEntries>
40+
<Automatic-Module-Name>software.amazon.awssdk.services.internetmonitor</Automatic-Module-Name>
41+
</manifestEntries>
42+
</archive>
43+
</configuration>
44+
</plugin>
45+
</plugins>
46+
</build>
47+
48+
<dependencies>
49+
<dependency>
50+
<groupId>software.amazon.awssdk</groupId>
51+
<artifactId>protocol-core</artifactId>
52+
<version>${awsjavasdk.version}</version>
53+
</dependency>
54+
<dependency>
55+
<groupId>software.amazon.awssdk</groupId>
56+
<artifactId>aws-json-protocol</artifactId>
57+
<version>${awsjavasdk.version}</version>
58+
</dependency>
59+
</dependencies>
60+
</project>
Lines changed: 277 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,277 @@
1+
{
2+
"version": "1.0",
3+
"parameters": {
4+
"Region": {
5+
"builtIn": "AWS::Region",
6+
"required": false,
7+
"documentation": "The AWS region used to dispatch the request.",
8+
"type": "String"
9+
},
10+
"UseFIPS": {
11+
"builtIn": "AWS::UseFIPS",
12+
"required": true,
13+
"default": false,
14+
"documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.",
15+
"type": "Boolean"
16+
},
17+
"Endpoint": {
18+
"builtIn": "SDK::Endpoint",
19+
"required": false,
20+
"documentation": "Override the endpoint used to send this request",
21+
"type": "String"
22+
}
23+
},
24+
"rules": [
25+
{
26+
"conditions": [
27+
{
28+
"fn": "isSet",
29+
"argv": [
30+
{
31+
"ref": "Endpoint"
32+
}
33+
]
34+
}
35+
],
36+
"type": "tree",
37+
"rules": [
38+
{
39+
"conditions": [
40+
{
41+
"fn": "booleanEquals",
42+
"argv": [
43+
{
44+
"ref": "UseFIPS"
45+
},
46+
true
47+
]
48+
}
49+
],
50+
"error": "Invalid Configuration: FIPS and custom endpoint are not supported",
51+
"type": "error"
52+
},
53+
{
54+
"conditions": [],
55+
"endpoint": {
56+
"url": {
57+
"ref": "Endpoint"
58+
},
59+
"properties": {},
60+
"headers": {}
61+
},
62+
"type": "endpoint"
63+
}
64+
]
65+
},
66+
{
67+
"conditions": [],
68+
"type": "tree",
69+
"rules": [
70+
{
71+
"conditions": [
72+
{
73+
"fn": "isSet",
74+
"argv": [
75+
{
76+
"ref": "Region"
77+
}
78+
]
79+
}
80+
],
81+
"type": "tree",
82+
"rules": [
83+
{
84+
"conditions": [
85+
{
86+
"fn": "aws.partition",
87+
"argv": [
88+
{
89+
"ref": "Region"
90+
}
91+
],
92+
"assign": "PartitionResult"
93+
}
94+
],
95+
"type": "tree",
96+
"rules": [
97+
{
98+
"conditions": [],
99+
"type": "tree",
100+
"rules": [
101+
{
102+
"conditions": [
103+
{
104+
"fn": "booleanEquals",
105+
"argv": [
106+
true,
107+
{
108+
"fn": "getAttr",
109+
"argv": [
110+
{
111+
"ref": "PartitionResult"
112+
},
113+
"supportsDualStack"
114+
]
115+
}
116+
]
117+
}
118+
],
119+
"type": "tree",
120+
"rules": [
121+
{
122+
"conditions": [
123+
{
124+
"fn": "booleanEquals",
125+
"argv": [
126+
{
127+
"ref": "UseFIPS"
128+
},
129+
true
130+
]
131+
}
132+
],
133+
"type": "tree",
134+
"rules": [
135+
{
136+
"conditions": [
137+
{
138+
"fn": "booleanEquals",
139+
"argv": [
140+
true,
141+
{
142+
"fn": "getAttr",
143+
"argv": [
144+
{
145+
"ref": "PartitionResult"
146+
},
147+
"supportsFIPS"
148+
]
149+
}
150+
]
151+
}
152+
],
153+
"type": "tree",
154+
"rules": [
155+
{
156+
"conditions": [],
157+
"endpoint": {
158+
"url": "https://internetmonitor-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
159+
"properties": {},
160+
"headers": {}
161+
},
162+
"type": "endpoint"
163+
}
164+
]
165+
},
166+
{
167+
"conditions": [],
168+
"error": "FIPS is enabled but this partition does not support FIPS",
169+
"type": "error"
170+
}
171+
]
172+
},
173+
{
174+
"conditions": [],
175+
"endpoint": {
176+
"url": "https://internetmonitor.{Region}.{PartitionResult#dualStackDnsSuffix}",
177+
"properties": {},
178+
"headers": {}
179+
},
180+
"type": "endpoint"
181+
}
182+
]
183+
},
184+
{
185+
"conditions": [],
186+
"type": "tree",
187+
"rules": [
188+
{
189+
"conditions": [
190+
{
191+
"fn": "booleanEquals",
192+
"argv": [
193+
{
194+
"ref": "UseFIPS"
195+
},
196+
true
197+
]
198+
}
199+
],
200+
"type": "tree",
201+
"rules": [
202+
{
203+
"conditions": [
204+
{
205+
"fn": "booleanEquals",
206+
"argv": [
207+
true,
208+
{
209+
"fn": "getAttr",
210+
"argv": [
211+
{
212+
"ref": "PartitionResult"
213+
},
214+
"supportsFIPS"
215+
]
216+
}
217+
]
218+
}
219+
],
220+
"type": "tree",
221+
"rules": [
222+
{
223+
"conditions": [],
224+
"type": "tree",
225+
"rules": [
226+
{
227+
"conditions": [],
228+
"endpoint": {
229+
"url": "https://internetmonitor-fips.{Region}.{PartitionResult#dnsSuffix}",
230+
"properties": {},
231+
"headers": {}
232+
},
233+
"type": "endpoint"
234+
}
235+
]
236+
}
237+
]
238+
},
239+
{
240+
"conditions": [],
241+
"error": "FIPS is enabled but this partition does not support FIPS",
242+
"type": "error"
243+
}
244+
]
245+
},
246+
{
247+
"conditions": [],
248+
"type": "tree",
249+
"rules": [
250+
{
251+
"conditions": [],
252+
"endpoint": {
253+
"url": "https://internetmonitor.{Region}.{PartitionResult#dnsSuffix}",
254+
"properties": {},
255+
"headers": {}
256+
},
257+
"type": "endpoint"
258+
}
259+
]
260+
}
261+
]
262+
}
263+
]
264+
}
265+
]
266+
}
267+
]
268+
},
269+
{
270+
"conditions": [],
271+
"error": "Invalid Configuration: Missing Region",
272+
"type": "error"
273+
}
274+
]
275+
}
276+
]
277+
}

0 commit comments

Comments
 (0)