ActionTargetReference Struct Added in v2.276.0
A reference to a ActionTarget resource.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_securityhub as interfaces_securityhub } from 'aws-cdk-lib/interfaces';
const actionTargetReference: interfaces_securityhub.ActionTargetReference = {
actionTargetArn: 'actionTargetArn',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_securityhub as interfaces_securityhub
action_target_reference = interfaces_securityhub.ActionTargetReference(
action_target_arn="actionTargetArn"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.securityhub.*;
ActionTargetReference actionTargetReference = ActionTargetReference.builder()
.actionTargetArn("actionTargetArn")
.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.Interfaces.SecurityHub;
var actionTargetReference = new ActionTargetReference {
ActionTargetArn = "actionTargetArn"
};
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 "github.com/aws/aws-cdk-go/awscdk"
actionTargetReference := &ActionTargetReference{
ActionTargetArn: jsii.String("actionTargetArn"),
}
Properties
actionTargetArnstringaction_target_arnstractionTargetArnStringActionTargetArnstringActionTargetArn*stringrequired#The ActionTargetArn of the ActionTarget resource.