Class CfnService.DeploymentLifecycleHookProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnService.DeploymentLifecycleHookProperty
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnService.DeploymentLifecycleHookProperty
CfnService.DeploymentLifecycleHookProperty
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.ecs.CfnService.DeploymentLifecycleHookProperty
CfnService.DeploymentLifecycleHookProperty.Builder, CfnService.DeploymentLifecycleHookProperty.Jsii$Proxy
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnService.DeploymentLifecycleHookProperty.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
final String
The Amazon Resource Name (ARN) of the hook target.The lifecycle stages at which to run the hook.final String
The Amazon Resource Name (ARN) of the IAM role that grants Amazon ECS permission to call Lambda functions on your behalf.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnService.DeploymentLifecycleHookProperty.Builder
.
-
-
Method Details
-
getHookTargetArn
Description copied from interface:CfnService.DeploymentLifecycleHookProperty
The Amazon Resource Name (ARN) of the hook target. Currently, only Lambda function ARNs are supported.You must provide this parameter when configuring a deployment lifecycle hook.
- Specified by:
getHookTargetArn
in interfaceCfnService.DeploymentLifecycleHookProperty
- See Also:
-
getLifecycleStages
Description copied from interface:CfnService.DeploymentLifecycleHookProperty
The lifecycle stages at which to run the hook. Choose from these valid values:.- RECONCILE_SERVICE
The reconciliation stage that only happens when you start a new service deployment with more than 1 service revision in an ACTIVE state.
You can use a lifecycle hook for this stage.
- PRE_SCALE_UP
The green service revision has not started. The blue service revision is handling 100% of the production traffic. There is no test traffic.
You can use a lifecycle hook for this stage.
- POST_SCALE_UP
The green service revision has started. The blue service revision is handling 100% of the production traffic. There is no test traffic.
You can use a lifecycle hook for this stage.
- TEST_TRAFFIC_SHIFT
The blue and green service revisions are running. The blue service revision handles 100% of the production traffic. The green service revision is migrating from 0% to 100% of test traffic.
You can use a lifecycle hook for this stage.
- POST_TEST_TRAFFIC_SHIFT
The test traffic shift is complete. The green service revision handles 100% of the test traffic.
You can use a lifecycle hook for this stage.
- PRODUCTION_TRAFFIC_SHIFT
Production traffic is shifting to the green service revision. The green service revision is migrating from 0% to 100% of production traffic.
You can use a lifecycle hook for this stage.
- POST_PRODUCTION_TRAFFIC_SHIFT
The production traffic shift is complete.
You can use a lifecycle hook for this stage.
You must provide this parameter when configuring a deployment lifecycle hook.
- Specified by:
getLifecycleStages
in interfaceCfnService.DeploymentLifecycleHookProperty
- See Also:
-
getRoleArn
Description copied from interface:CfnService.DeploymentLifecycleHookProperty
The Amazon Resource Name (ARN) of the IAM role that grants Amazon ECS permission to call Lambda functions on your behalf.For more information, see Permissions required for Lambda functions in Amazon ECS blue/green deployments in the Amazon Elastic Container Service Developer Guide .
- Specified by:
getRoleArn
in interfaceCfnService.DeploymentLifecycleHookProperty
- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-