ServiceDeploymentConfigurationLifecycleHook class

Constructors

ServiceDeploymentConfigurationLifecycleHook({Input<String?>? hookDetails, required Input<String> hookTargetArn, required Input<List<String>> lifecycleStages, required Input<String> roleArn})
Creates a new ServiceDeploymentConfigurationLifecycleHook. hookDetails Custom parameters that Amazon ECS will pass to the hook target invocations (such as a Lambda function). hookTargetArn ARN of the Lambda function to invoke for the lifecycle hook. lifecycleStages Stages during the deployment when the hook should be invoked. Valid values: RECONCILE_SERVICE, PRE_SCALE_UP, POST_SCALE_UP, TEST_TRAFFIC_SHIFT, POST_TEST_TRAFFIC_SHIFT, PRODUCTION_TRAFFIC_SHIFT, POST_PRODUCTION_TRAFFIC_SHIFT. roleArn ARN of the IAM role that grants the service permission to invoke the Lambda function.
const
ServiceDeploymentConfigurationLifecycleHook.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
hookDetails → Input<String?>?
Custom parameters that Amazon ECS will pass to the hook target invocations (such as a Lambda function).
final
hookTargetArn → Input<String>
ARN of the Lambda function to invoke for the lifecycle hook.
final
lifecycleStages → Input<List<String>>
Stages during the deployment when the hook should be invoked. Valid values: RECONCILE_SERVICE, PRE_SCALE_UP, POST_SCALE_UP, TEST_TRAFFIC_SHIFT, POST_TEST_TRAFFIC_SHIFT, PRODUCTION_TRAFFIC_SHIFT, POST_PRODUCTION_TRAFFIC_SHIFT.
final
roleArn → Input<String>
ARN of the IAM role that grants the service permission to invoke the Lambda function.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited