Show / Hide Table of Contents

Class CfnHarness.HarnessAfterInvocationHookProperty

A hook that runs after an agent invocation.

Inheritance
object
CfnHarness.HarnessAfterInvocationHookProperty
Implements
CfnHarness.IHarnessAfterInvocationHookProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.BedrockAgentCore
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnHarness.HarnessAfterInvocationHookProperty : CfnHarness.IHarnessAfterInvocationHookProperty
Syntax (vb)
Public Class CfnHarness.HarnessAfterInvocationHookProperty Implements CfnHarness.IHarnessAfterInvocationHookProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-harness-harnessafterinvocationhook.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 harnessAfterInvocationHookProperty = new HarnessAfterInvocationHookProperty {
                 Name = "name",
                 Target = 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

Constructors

HarnessAfterInvocationHookProperty()

A hook that runs after an agent invocation.

Properties

Name

The unique name of the hook.

Target

The destination that receives lifecycle hook events.

Constructors

HarnessAfterInvocationHookProperty()

A hook that runs after an agent invocation.

public HarnessAfterInvocationHookProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-harness-harnessafterinvocationhook.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 harnessAfterInvocationHookProperty = new HarnessAfterInvocationHookProperty {
                 Name = "name",
                 Target = 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"
                     }
                 }
             };

Properties

Name

The unique name of the hook.

public string Name { get; set; }
Property Value

string

Remarks

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

Target

The destination that receives lifecycle hook events.

public object Target { get; set; }
Property Value

object

Remarks

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

Type union: either IResolvable or CfnHarness.IHarnessHookTargetProperty

Implements

CfnHarness.IHarnessAfterInvocationHookProperty
Back to top Generated by DocFX