Interface CfnHarness.IHarnessHookTargetProperty
The destination that receives lifecycle hook events.
Namespace: Amazon.CDK.AWS.BedrockAgentCore
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnHarness.IHarnessHookTargetProperty
Syntax (vb)
Public Interface CfnHarness.IHarnessHookTargetProperty
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.AWS.BedrockAgentCore;
var harnessHookTargetProperty = new HarnessHookTargetProperty {
EventBridge = new HarnessHookEventBridgeTargetProperty {
Arn = "arn"
},
Lambda = new HarnessHookLambdaTargetProperty {
Arn = "arn",
// the properties below are optional
FailureMode = "failureMode",
TimeoutSeconds = 123
},
Sns = new HarnessHookSnsTargetProperty {
Arn = "arn"
}
};
Synopsis
Properties
| EventBridge | An EventBridge event bus that receives lifecycle hook events asynchronously. |
| Lambda | A Lambda function invoked synchronously for a lifecycle hook. |
| Sns | An SNS topic that receives lifecycle hook events asynchronously. |
Properties
EventBridge
An EventBridge event bus that receives lifecycle hook events asynchronously.
object? EventBridge { get; }
Property Value
Remarks
Lambda
A Lambda function invoked synchronously for a lifecycle hook.
object? Lambda { get; }
Property Value
Remarks
Sns
An SNS topic that receives lifecycle hook events asynchronously.
object? Sns { get; }