Interface CfnHarness.HarnessHookLambdaTargetProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnHarness.HarnessHookLambdaTargetProperty.Jsii$Proxy
- Enclosing class:
CfnHarness
@Stability(Stable)
public static interface CfnHarness.HarnessHookLambdaTargetProperty
extends software.amazon.jsii.JsiiSerializable
A Lambda function invoked synchronously for a lifecycle hook.
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.*;
HarnessHookLambdaTargetProperty harnessHookLambdaTargetProperty = HarnessHookLambdaTargetProperty.builder()
.arn("arn")
// the properties below are optional
.failureMode("failureMode")
.timeoutSeconds(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnHarness.HarnessHookLambdaTargetPropertystatic final classAn implementation forCfnHarness.HarnessHookLambdaTargetProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getArn
The ARN of the Lambda function.- See Also:
-
getFailureMode
Whether the agent loop continues or stops when the Lambda invocation fails.Defaults to deny.
- See Also:
-
getTimeoutSeconds
The maximum number of seconds to wait for the Lambda response.Defaults to 60.
- See Also:
-
builder
-