Class Hooks
Commands to run at predefined points during the integration test workflow.
Inheritance
Implements
Namespace: Amazon.CDK.CloudAssembly.Schema
Assembly: Amazon.CDK.CloudAssembly.Schema.dll
Syntax (csharp)
public class Hooks : Object, IHooks
Syntax (vb)
Public Class Hooks
Inherits Object
Implements IHooks
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CloudAssembly.Schema;
var hooks = new Hooks {
PostDeploy = new [] { "postDeploy" },
PostDestroy = new [] { "postDestroy" },
PreDeploy = new [] { "preDeploy" },
PreDestroy = new [] { "preDestroy" }
};
Synopsis
Constructors
Hooks() |
Properties
PostDeploy | Commands to run prior after deploying the cdk stacks in the integration test. |
PostDestroy | Commands to run after destroying the cdk stacks in the integration test. |
PreDeploy | Commands to run prior to deploying the cdk stacks in the integration test. |
PreDestroy | Commands to run prior to destroying the cdk stacks in the integration test. |
Constructors
Hooks()
public Hooks()
Properties
PostDeploy
Commands to run prior after deploying the cdk stacks in the integration test.
public string[] PostDeploy { get; set; }
Property Value
System.String[]
Remarks
Default: - no commands
PostDestroy
Commands to run after destroying the cdk stacks in the integration test.
public string[] PostDestroy { get; set; }
Property Value
System.String[]
Remarks
Default: - no commands
PreDeploy
Commands to run prior to deploying the cdk stacks in the integration test.
public string[] PreDeploy { get; set; }
Property Value
System.String[]
Remarks
Default: - no commands
PreDestroy
Commands to run prior to destroying the cdk stacks in the integration test.
public string[] PreDestroy { get; set; }
Property Value
System.String[]
Remarks
Default: - no commands