Skip to content

Commit 16b5014

Browse files
author
AWS
committed
AWS CloudTrail Data Service Update: Add CloudTrail Data Service to enable users to ingest activity events from non-AWS sources into CloudTrail Lake.
1 parent d046d07 commit 16b5014

File tree

6 files changed

+925
-0
lines changed

6 files changed

+925
-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": "AWS CloudTrail Data Service",
4+
"contributor": "",
5+
"description": "Add CloudTrail Data Service to enable users to ingest activity events from non-AWS sources into CloudTrail Lake."
6+
}

services/cloudtraildata/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.19.28-SNAPSHOT</version>
25+
</parent>
26+
<artifactId>cloudtraildata</artifactId>
27+
<name>AWS Java SDK :: Services :: Cloud Trail Data</name>
28+
<description>The AWS Java SDK for Cloud Trail Data module holds the client classes that are used for
29+
communicating with Cloud Trail Data.
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.cloudtraildata</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: 324 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,324 @@
1+
{
2+
"version": "1.0",
3+
"parameters": {
4+
"Region": {
5+
"builtIn": "AWS::Region",
6+
"required": true,
7+
"documentation": "The AWS region used to dispatch the request.",
8+
"type": "String"
9+
},
10+
"UseDualStack": {
11+
"builtIn": "AWS::UseDualStack",
12+
"required": true,
13+
"default": false,
14+
"documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.",
15+
"type": "Boolean"
16+
},
17+
"UseFIPS": {
18+
"builtIn": "AWS::UseFIPS",
19+
"required": true,
20+
"default": false,
21+
"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.",
22+
"type": "Boolean"
23+
},
24+
"Endpoint": {
25+
"builtIn": "SDK::Endpoint",
26+
"required": false,
27+
"documentation": "Override the endpoint used to send this request",
28+
"type": "String"
29+
}
30+
},
31+
"rules": [
32+
{
33+
"conditions": [
34+
{
35+
"fn": "aws.partition",
36+
"argv": [
37+
{
38+
"ref": "Region"
39+
}
40+
],
41+
"assign": "PartitionResult"
42+
}
43+
],
44+
"type": "tree",
45+
"rules": [
46+
{
47+
"conditions": [
48+
{
49+
"fn": "isSet",
50+
"argv": [
51+
{
52+
"ref": "Endpoint"
53+
}
54+
]
55+
}
56+
],
57+
"type": "tree",
58+
"rules": [
59+
{
60+
"conditions": [
61+
{
62+
"fn": "booleanEquals",
63+
"argv": [
64+
{
65+
"ref": "UseFIPS"
66+
},
67+
true
68+
]
69+
}
70+
],
71+
"error": "Invalid Configuration: FIPS and custom endpoint are not supported",
72+
"type": "error"
73+
},
74+
{
75+
"conditions": [],
76+
"type": "tree",
77+
"rules": [
78+
{
79+
"conditions": [
80+
{
81+
"fn": "booleanEquals",
82+
"argv": [
83+
{
84+
"ref": "UseDualStack"
85+
},
86+
true
87+
]
88+
}
89+
],
90+
"error": "Invalid Configuration: Dualstack and custom endpoint are not supported",
91+
"type": "error"
92+
},
93+
{
94+
"conditions": [],
95+
"endpoint": {
96+
"url": {
97+
"ref": "Endpoint"
98+
},
99+
"properties": {},
100+
"headers": {}
101+
},
102+
"type": "endpoint"
103+
}
104+
]
105+
}
106+
]
107+
},
108+
{
109+
"conditions": [
110+
{
111+
"fn": "booleanEquals",
112+
"argv": [
113+
{
114+
"ref": "UseFIPS"
115+
},
116+
true
117+
]
118+
},
119+
{
120+
"fn": "booleanEquals",
121+
"argv": [
122+
{
123+
"ref": "UseDualStack"
124+
},
125+
true
126+
]
127+
}
128+
],
129+
"type": "tree",
130+
"rules": [
131+
{
132+
"conditions": [
133+
{
134+
"fn": "booleanEquals",
135+
"argv": [
136+
true,
137+
{
138+
"fn": "getAttr",
139+
"argv": [
140+
{
141+
"ref": "PartitionResult"
142+
},
143+
"supportsFIPS"
144+
]
145+
}
146+
]
147+
},
148+
{
149+
"fn": "booleanEquals",
150+
"argv": [
151+
true,
152+
{
153+
"fn": "getAttr",
154+
"argv": [
155+
{
156+
"ref": "PartitionResult"
157+
},
158+
"supportsDualStack"
159+
]
160+
}
161+
]
162+
}
163+
],
164+
"type": "tree",
165+
"rules": [
166+
{
167+
"conditions": [],
168+
"type": "tree",
169+
"rules": [
170+
{
171+
"conditions": [],
172+
"endpoint": {
173+
"url": "https://cloudtrail-data-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
174+
"properties": {},
175+
"headers": {}
176+
},
177+
"type": "endpoint"
178+
}
179+
]
180+
}
181+
]
182+
},
183+
{
184+
"conditions": [],
185+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both",
186+
"type": "error"
187+
}
188+
]
189+
},
190+
{
191+
"conditions": [
192+
{
193+
"fn": "booleanEquals",
194+
"argv": [
195+
{
196+
"ref": "UseFIPS"
197+
},
198+
true
199+
]
200+
}
201+
],
202+
"type": "tree",
203+
"rules": [
204+
{
205+
"conditions": [
206+
{
207+
"fn": "booleanEquals",
208+
"argv": [
209+
true,
210+
{
211+
"fn": "getAttr",
212+
"argv": [
213+
{
214+
"ref": "PartitionResult"
215+
},
216+
"supportsFIPS"
217+
]
218+
}
219+
]
220+
}
221+
],
222+
"type": "tree",
223+
"rules": [
224+
{
225+
"conditions": [],
226+
"type": "tree",
227+
"rules": [
228+
{
229+
"conditions": [],
230+
"endpoint": {
231+
"url": "https://cloudtrail-data-fips.{Region}.{PartitionResult#dnsSuffix}",
232+
"properties": {},
233+
"headers": {}
234+
},
235+
"type": "endpoint"
236+
}
237+
]
238+
}
239+
]
240+
},
241+
{
242+
"conditions": [],
243+
"error": "FIPS is enabled but this partition does not support FIPS",
244+
"type": "error"
245+
}
246+
]
247+
},
248+
{
249+
"conditions": [
250+
{
251+
"fn": "booleanEquals",
252+
"argv": [
253+
{
254+
"ref": "UseDualStack"
255+
},
256+
true
257+
]
258+
}
259+
],
260+
"type": "tree",
261+
"rules": [
262+
{
263+
"conditions": [
264+
{
265+
"fn": "booleanEquals",
266+
"argv": [
267+
true,
268+
{
269+
"fn": "getAttr",
270+
"argv": [
271+
{
272+
"ref": "PartitionResult"
273+
},
274+
"supportsDualStack"
275+
]
276+
}
277+
]
278+
}
279+
],
280+
"type": "tree",
281+
"rules": [
282+
{
283+
"conditions": [],
284+
"type": "tree",
285+
"rules": [
286+
{
287+
"conditions": [],
288+
"endpoint": {
289+
"url": "https://cloudtrail-data.{Region}.{PartitionResult#dualStackDnsSuffix}",
290+
"properties": {},
291+
"headers": {}
292+
},
293+
"type": "endpoint"
294+
}
295+
]
296+
}
297+
]
298+
},
299+
{
300+
"conditions": [],
301+
"error": "DualStack is enabled but this partition does not support DualStack",
302+
"type": "error"
303+
}
304+
]
305+
},
306+
{
307+
"conditions": [],
308+
"type": "tree",
309+
"rules": [
310+
{
311+
"conditions": [],
312+
"endpoint": {
313+
"url": "https://cloudtrail-data.{Region}.{PartitionResult#dnsSuffix}",
314+
"properties": {},
315+
"headers": {}
316+
},
317+
"type": "endpoint"
318+
}
319+
]
320+
}
321+
]
322+
}
323+
]
324+
}

0 commit comments

Comments
 (0)