Show / Hide Table of Contents

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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-harness-harnesshooktarget.html

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

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-harness-harnesshooktarget.html#cfn-bedrockagentcore-harness-harnesshooktarget-eventbridge

Type union: either IResolvable or CfnHarness.IHarnessHookEventBridgeTargetProperty

Lambda

A Lambda function invoked synchronously for a lifecycle hook.

object? Lambda { get; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-harness-harnesshooktarget.html#cfn-bedrockagentcore-harness-harnesshooktarget-lambda

Type union: either IResolvable or CfnHarness.IHarnessHookLambdaTargetProperty

Sns

An SNS topic that receives lifecycle hook events asynchronously.

object? Sns { get; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-harness-harnesshooktarget.html#cfn-bedrockagentcore-harness-harnesshooktarget-sns

Type union: either IResolvable or CfnHarness.IHarnessHookSnsTargetProperty

Back to top Generated by DocFX