@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:00:42.421Z") @Stability(value=Experimental) public class CfnCodeDeployBlueGreenHook extends CfnHook
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/blue-green.html#blue-green-template-reference| Modifier and Type | Class and Description |
|---|---|
static class |
CfnCodeDeployBlueGreenHook.Builder
(experimental) A fluent builder for
CfnCodeDeployBlueGreenHook. |
| Modifier | Constructor and Description |
|---|---|
|
CfnCodeDeployBlueGreenHook(software.constructs.Construct scope,
String id,
CfnCodeDeployBlueGreenHookProps props)
(experimental) Creates a new CodeDeploy blue-green ECS Hook.
|
protected |
CfnCodeDeployBlueGreenHook(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnCodeDeployBlueGreenHook(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
CfnCodeDeployBlueGreenAdditionalOptions |
getAdditionalOptions()
(experimental) Additional options for the blue/green deployment.
|
List<CfnCodeDeployBlueGreenApplication> |
getApplications()
(experimental) Properties of the Amazon ECS applications being deployed.
|
CfnCodeDeployBlueGreenLifecycleEventHooks |
getLifecycleEventHooks()
(experimental) Use lifecycle event hooks to specify a Lambda function that CodeDeploy can call to validate a deployment.
|
String |
getServiceRole()
(experimental) The IAM Role for CloudFormation to use to perform blue-green deployments.
|
CfnTrafficRoutingConfig |
getTrafficRoutingConfig()
(experimental) Traffic routing configuration settings.
|
protected Map<String,Object> |
renderProperties() |
protected Map<String,Object> |
renderProperties(Map<String,Object> _props) |
void |
setAdditionalOptions(CfnCodeDeployBlueGreenAdditionalOptions value)
(experimental) Additional options for the blue/green deployment.
|
void |
setApplications(List<CfnCodeDeployBlueGreenApplication> value)
(experimental) Properties of the Amazon ECS applications being deployed.
|
void |
setLifecycleEventHooks(CfnCodeDeployBlueGreenLifecycleEventHooks value)
(experimental) Use lifecycle event hooks to specify a Lambda function that CodeDeploy can call to validate a deployment.
|
void |
setServiceRole(String value)
(experimental) The IAM Role for CloudFormation to use to perform blue-green deployments.
|
void |
setTrafficRoutingConfig(CfnTrafficRoutingConfig value)
(experimental) Traffic routing configuration settings.
|
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected CfnCodeDeployBlueGreenHook(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnCodeDeployBlueGreenHook(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public CfnCodeDeployBlueGreenHook(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnCodeDeployBlueGreenHookProps props)
scope - the scope to create the hook in (usually the containing Stack object). This parameter is required.id - the identifier of the construct - will be used to generate the logical ID of the Hook. This parameter is required.props - the properties of the Hook. This parameter is required.@Stability(value=Experimental) @Nullable protected Map<String,Object> renderProperties(@Nullable Map<String,Object> _props)
renderProperties in class CfnHook_props - @Stability(value=Experimental) @Nullable protected Map<String,Object> renderProperties()
renderProperties in class CfnHook@Stability(value=Experimental) @NotNull public List<CfnCodeDeployBlueGreenApplication> getApplications()
@Stability(value=Experimental)
public void setApplications(@NotNull
List<CfnCodeDeployBlueGreenApplication> value)
@Stability(value=Experimental) @NotNull public String getServiceRole()
@Stability(value=Experimental)
public void setServiceRole(@NotNull
String value)
@Stability(value=Experimental) @Nullable public CfnCodeDeployBlueGreenAdditionalOptions getAdditionalOptions()
Default: - no additional options
@Stability(value=Experimental)
public void setAdditionalOptions(@Nullable
CfnCodeDeployBlueGreenAdditionalOptions value)
Default: - no additional options
@Stability(value=Experimental) @Nullable public CfnCodeDeployBlueGreenLifecycleEventHooks getLifecycleEventHooks()
You can use the same function or a different one for deployment lifecycle events. Following completion of the validation tests, the Lambda {@link CfnCodeDeployBlueGreenLifecycleEventHooks.afterAllowTraffic} function calls back CodeDeploy and delivers a result of 'Succeeded' or 'Failed'.
Default: - no lifecycle event hooks
@Stability(value=Experimental)
public void setLifecycleEventHooks(@Nullable
CfnCodeDeployBlueGreenLifecycleEventHooks value)
You can use the same function or a different one for deployment lifecycle events. Following completion of the validation tests, the Lambda {@link CfnCodeDeployBlueGreenLifecycleEventHooks.afterAllowTraffic} function calls back CodeDeploy and delivers a result of 'Succeeded' or 'Failed'.
Default: - no lifecycle event hooks
@Stability(value=Experimental) @Nullable public CfnTrafficRoutingConfig getTrafficRoutingConfig()
Default: - time-based canary traffic shifting, with a 15% step percentage and a five minute bake time
@Stability(value=Experimental)
public void setTrafficRoutingConfig(@Nullable
CfnTrafficRoutingConfig value)
Default: - time-based canary traffic shifting, with a 15% step percentage and a five minute bake time
Copyright © 2021. All rights reserved.