Interface CfnHarness.HarnessHookTargetProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnHarness.HarnessHookTargetProperty.Jsii$Proxy
- Enclosing class:
CfnHarness
@Stability(Stable)
public static interface CfnHarness.HarnessHookTargetProperty
extends software.amazon.jsii.JsiiSerializable
The destination that receives lifecycle hook events.
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.*;
HarnessHookTargetProperty harnessHookTargetProperty = 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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnHarness.HarnessHookTargetPropertystatic final classAn implementation forCfnHarness.HarnessHookTargetProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectAn EventBridge event bus that receives lifecycle hook events asynchronously.default ObjectA Lambda function invoked synchronously for a lifecycle hook.default ObjectgetSns()An SNS topic that receives lifecycle hook events asynchronously.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEventBridge
An EventBridge event bus that receives lifecycle hook events asynchronously.Returns union: either
IResolvableorCfnHarness.HarnessHookEventBridgeTargetProperty- See Also:
-
getLambda
A Lambda function invoked synchronously for a lifecycle hook.Returns union: either
IResolvableorCfnHarness.HarnessHookLambdaTargetProperty- See Also:
-
getSns
An SNS topic that receives lifecycle hook events asynchronously.Returns union: either
IResolvableorCfnHarness.HarnessHookSnsTargetProperty- See Also:
-
builder
-