Skip to content
v2.276.0

HookTargetProperty Struct ​

Hook targets are the destination where hooks will be invoked against.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cdk from 'aws-cdk-lib';
const hookTargetProperty: cdk.CfnGuardHook.HookTargetProperty = {
  action: 'action',
  invocationPoint: 'invocationPoint',
  targetName: 'targetName',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk as cdk

hook_target_property = cdk.CfnGuardHook.HookTargetProperty(
    action="action",
    invocation_point="invocationPoint",
    target_name="targetName"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.*;

HookTargetProperty hookTargetProperty = HookTargetProperty.builder()
        .action("action")
        .invocationPoint("invocationPoint")
        .targetName("targetName")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK;

var hookTargetProperty = new HookTargetProperty {
    Action = "action",
    InvocationPoint = "invocationPoint",
    TargetName = "targetName"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import cdk "github.com/aws/aws-cdk-go/awscdk"

hookTargetProperty := &HookTargetProperty{
	Action: jsii.String("action"),
	InvocationPoint: jsii.String("invocationPoint"),
	TargetName: jsii.String("targetName"),
}

Properties ​

actionstringactionstractionStringActionstringAction*stringrequired#
Target actions are the type of operation hooks will be executed at.
invocationPointstringinvocation_pointstrinvocationPointStringInvocationPointstringInvocationPoint*stringrequired#
Invocation points are the point in provisioning workflow where hooks will be executed.
targetNamestringtarget_namestrtargetNameStringTargetNamestringTargetName*stringrequired#
Type name of hook target.

Hook targets are the destination where hooks will be invoked against.