Interface CfnHarnessPropsMixin.HarnessHookTargetProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnHarnessPropsMixin.HarnessHookTargetProperty.Jsii$Proxy
- Enclosing class:
CfnHarnessPropsMixin
@Stability(Stable)
public static interface CfnHarnessPropsMixin.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.cfnpropertymixins.services.bedrockagentcore.*;
HarnessHookTargetProperty harnessHookTargetProperty = HarnessHookTargetProperty.builder()
.eventBridge(HarnessHookEventBridgeTargetProperty.builder()
.arn("arn")
.build())
.lambda(HarnessHookLambdaTargetProperty.builder()
.arn("arn")
.failureMode("failureMode")
.timeoutSeconds(123)
.build())
.sns(HarnessHookSnsTargetProperty.builder()
.arn("arn")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnHarnessPropsMixin.HarnessHookTargetPropertystatic final classAn implementation forCfnHarnessPropsMixin.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
IResolvableorCfnHarnessPropsMixin.HarnessHookEventBridgeTargetProperty- See Also:
-
getLambda
A Lambda function invoked synchronously for a lifecycle hook.Returns union: either
IResolvableorCfnHarnessPropsMixin.HarnessHookLambdaTargetProperty- See Also:
-
getSns
An SNS topic that receives lifecycle hook events asynchronously.Returns union: either
IResolvableorCfnHarnessPropsMixin.HarnessHookSnsTargetProperty- See Also:
-
builder
-