Class CustomLambdaDeploymentConfig
A custom Deployment Configuration for a Lambda Deployment Group.
Inherited Members
Namespace: Amazon.CDK.AWS.CodeDeploy
Assembly: Amazon.CDK.AWS.CodeDeploy.dll
Syntax (csharp)
public class CustomLambdaDeploymentConfig : Resource, IResource, IConstruct, IDependable, ILambdaDeploymentConfig
Syntax (vb)
Public Class CustomLambdaDeploymentConfig
Inherits Resource
Implements IResource, IConstruct, IDependable, ILambdaDeploymentConfig
Remarks
Resource: AWS::CodeDeploy::DeploymentGroup
ExampleMetadata: infused
Examples
LambdaApplication application;
Alias alias;
var config = new CustomLambdaDeploymentConfig(this, "CustomConfig", new CustomLambdaDeploymentConfigProps {
Type = CustomLambdaDeploymentConfigType.CANARY,
Interval = Duration.Minutes(1),
Percentage = 5
});
var deploymentGroup = new LambdaDeploymentGroup(this, "BlueGreenDeployment", new LambdaDeploymentGroupProps {
Application = application,
Alias = alias,
DeploymentConfig = config
});
Synopsis
Constructors
CustomLambdaDeploymentConfig(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CustomLambdaDeploymentConfig(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CustomLambdaDeploymentConfig(Construct, String, ICustomLambdaDeploymentConfigProps) |
Properties
DeploymentConfigArn | The arn of the deployment config. |
DeploymentConfigName | The name of the deployment config. |
Methods
Validate() | Validate the current construct. |
Constructors
CustomLambdaDeploymentConfig(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CustomLambdaDeploymentConfig(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CustomLambdaDeploymentConfig(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CustomLambdaDeploymentConfig(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CustomLambdaDeploymentConfig(Construct, String, ICustomLambdaDeploymentConfigProps)
public CustomLambdaDeploymentConfig(Construct scope, string id, ICustomLambdaDeploymentConfigProps props)
Parameters
- scope Constructs.Construct
- id System.String
- props ICustomLambdaDeploymentConfigProps
Properties
DeploymentConfigArn
The arn of the deployment config.
public virtual string DeploymentConfigArn { get; }
Property Value
System.String
Remarks
Attribute: true
DeploymentConfigName
The name of the deployment config.
public virtual string DeploymentConfigName { get; }
Property Value
System.String
Remarks
Attribute: true
Methods
Validate()
Validate the current construct.
protected override string[] Validate()
Returns
System.String[]
Overrides
Remarks
This method can be implemented by derived constructs in order to perform validation logic. It is called on all constructs before synthesis.