Interface DeploymentLifecycleHookTargetConfig
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
DeploymentLifecycleHookTargetConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-05T22:26:35.851Z")
@Stability(Stable)
public interface DeploymentLifecycleHookTargetConfig
extends software.amazon.jsii.JsiiSerializable
Configuration for a deployment lifecycle hook target.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ecs.*;
import software.amazon.awscdk.services.iam.*;
Role role;
DeploymentLifecycleHookTargetConfig deploymentLifecycleHookTargetConfig = DeploymentLifecycleHookTargetConfig.builder()
.lifecycleStages(List.of(DeploymentLifecycleStage.RECONCILE_SERVICE))
.targetArn("targetArn")
// the properties below are optional
.role(role)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forDeploymentLifecycleHookTargetConfigstatic final classAn implementation forDeploymentLifecycleHookTargetConfig -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getLifecycleStages
The lifecycle stages when this hook should be executed. -
getTargetArn
The ARN of the target resource. -
getRole
The IAM role that grants permissions to invoke the target.Default: - a role will be created automatically
-
builder
-