File tree 2 files changed +40
-0
lines changed
src/main/java/com/amazonaws/services/lambda/runtime/events
2 files changed +40
-0
lines changed Original file line number Diff line number Diff line change 27
27
* ` LexEvent `
28
28
* ` S3Event `
29
29
* ` ScheduledEvent `
30
+ * ` SecretsManagerRotationEvent `
30
31
* ` SNSEvent `
31
32
* ` SQSEvent `
32
33
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
5
+ * the License. A copy of the License is located at
6
+ *
7
+ * http://aws.amazon.com/apache2.0
8
+ *
9
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
10
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
11
+ * and limitations under the License.
12
+ */
13
+
14
+ package com .amazonaws .services .lambda .runtime .events ;
15
+
16
+ import lombok .AllArgsConstructor ;
17
+ import lombok .Builder ;
18
+ import lombok .Data ;
19
+ import lombok .NoArgsConstructor ;
20
+
21
+ /**
22
+ * Class to represent the events which are sent during a Secrets Manager rotation process.
23
+ *
24
+ * @see <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotating-secrets-lambda-function-overview.html">Rotating secrets lambda function overview</a>
25
+ *
26
+ * @author msailes <[email protected] >
27
+ */
28
+
29
+ @ Data
30
+ @ Builder (setterPrefix = "with" )
31
+ @ NoArgsConstructor
32
+ @ AllArgsConstructor
33
+ public class SecretsManagerRotationEvent {
34
+
35
+ private String step ;
36
+ private String secretId ;
37
+ private String clientRequestToken ;
38
+
39
+ }
You can’t perform that action at this time.
0 commit comments