Interface DeploymentLifecycleHookTargetConfig
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
DeploymentLifecycleHookTargetConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.113.0 (build fc68b25)",
date="2025-08-20T12:34:42.363Z")
@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 class
A builder forDeploymentLifecycleHookTargetConfig
static final class
An 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
-