Interface CfnHarness.HarnessAfterInvocationHookProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnHarness.HarnessAfterInvocationHookProperty.Jsii$Proxy
Enclosing class:
CfnHarness

@Stability(Stable) public static interface CfnHarness.HarnessAfterInvocationHookProperty extends software.amazon.jsii.JsiiSerializable
A hook that runs after an agent invocation.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.bedrockagentcore.*;
 HarnessAfterInvocationHookProperty harnessAfterInvocationHookProperty = HarnessAfterInvocationHookProperty.builder()
         .name("name")
         .target(HarnessHookTargetProperty.builder()
                 .eventBridge(HarnessHookEventBridgeTargetProperty.builder()
                         .arn("arn")
                         .build())
                 .lambda(HarnessHookLambdaTargetProperty.builder()
                         .arn("arn")
                         // the properties below are optional
                         .failureMode("failureMode")
                         .timeoutSeconds(123)
                         .build())
                 .sns(HarnessHookSnsTargetProperty.builder()
                         .arn("arn")
                         .build())
                 .build())
         .build();
 

See Also: