We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4104f8b commit 7ae433dCopy full SHA for 7ae433d
aws_lambda_powertools/utilities/data_classes/code_deploy_lifecycle_hook_event.py
@@ -0,0 +1,13 @@
1
+from aws_lambda_powertools.utilities.data_classes.common import DictWrapper
2
+
3
4
+class CodeDeployLifeCycleHookLambdaEvent(DictWrapper):
5
+ @property
6
+ def deployment_id(self) -> str:
7
+ """The unique ID of the calling CodeDeploy Deployment."""
8
+ return self["DeploymentId"]
9
10
11
+ def lifecycle_event_hook_execution_id(self) -> str:
12
+ """The unique ID of a deployments lifecycle hook."""
13
+ return self["LifecycleEventHookExecutionId"]
0 commit comments