Skip to content
v2.276.0

CfnActionTargetProps Struct Added in v2.276.0 ​

Properties for defining a CfnActionTarget.

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 securityhub } from 'aws-cdk-lib';
const cfnActionTargetProps: securityhub.CfnActionTargetProps = {
  description: 'description',
  id: 'id',
  name: 'name',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_securityhub as securityhub

cfn_action_target_props = securityhub.CfnActionTargetProps(
    description="description",
    id="id",
    name="name"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.securityhub.*;

CfnActionTargetProps cfnActionTargetProps = CfnActionTargetProps.builder()
        .description("description")
        .id("id")
        .name("name")
        .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.AWS.SecurityHub;

var cfnActionTargetProps = new CfnActionTargetProps {
    Description = "description",
    Id = "id",
    Name = "name"
};
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"

cfnActionTargetProps := &CfnActionTargetProps{
	Description: jsii.String("description"),
	Id: jsii.String("id"),
	Name: jsii.String("name"),
}

Properties ​

descriptionstringdescriptionstrdescriptionStringDescriptionstringDescription*stringrequired#
The description for the custom action target.
idstringidstridStringIdstringId*stringrequired#
The ID for the custom action target.

Can contain up to 20 alphanumeric characters.

namestringnamestrnameStringNamestringName*stringrequired#
The name of the custom action target.

Can contain up to 20 characters.