Interface IHooks
Commands to run at predefined points during the integration test workflow.
Namespace: Amazon.CDK.CloudAssembly.Schema
Assembly: Amazon.CDK.CloudAssembly.Schema.dll
Syntax (csharp)
public interface IHooks
Syntax (vb)
Public Interface 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
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. |
Properties
PostDeploy
Commands to run prior after deploying the cdk stacks in the integration test.
virtual string[] PostDeploy { get; }
Property Value
System.String[]
Remarks
Default: - no commands
PostDestroy
Commands to run after destroying the cdk stacks in the integration test.
virtual string[] PostDestroy { get; }
Property Value
System.String[]
Remarks
Default: - no commands
PreDeploy
Commands to run prior to deploying the cdk stacks in the integration test.
virtual string[] PreDeploy { get; }
Property Value
System.String[]
Remarks
Default: - no commands
PreDestroy
Commands to run prior to destroying the cdk stacks in the integration test.
virtual string[] PreDestroy { get; }
Property Value
System.String[]
Remarks
Default: - no commands