Skip to content
v2.278.0

AWS Security Hub Construct Library ​

This module is part of the AWS Cloud Development Kit project.

ts
import * as securityhub from 'aws-cdk-lib/aws-securityhub';
python
import aws_cdk.aws_securityhub as securityhub
java
import software.amazon.awscdk.services.securityhub.*;
csharp
using Amazon.CDK.AWS.SecurityHub;
go
import securityhub "github.com/aws/aws-cdk-go/awscdk"

There are no official hand-written (L2) constructs for this service yet. Here are some suggestions on how to proceed:

There are no hand-written (L2) constructs for this service yet. However, you can still use the automatically generated L1 constructs, and use this service exactly as you would using CloudFormation directly.

For more information on the resources and properties available for this service, see the CloudFormation documentation for AWS::SecurityHub.

(Read the CDK Contributing Guide and submit an RFC if you are interested in contributing to this construct library.)

Types ​

Constructs (L1) ​

  • CfnActionTarget Construct (L1)
    Creates a custom action target in Security Hub.
  • CfnAggregatorV2 Construct (L1)
    Enables aggregation across AWS Regions .
  • CfnAutomationRule Construct (L1)
    The AWS::SecurityHub::AutomationRule resource specifies an automation rule based on input parameters.
  • CfnAutomationRuleV2 Construct (L1)
    Creates a V2 automation rule.
  • CfnConfigurationPolicy Construct (L1)
    The AWS::SecurityHub::ConfigurationPolicy resource creates a central configuration policy with the defined settings.
  • CfnConnector Construct (L1)
    Creates a connector to a third-party cloud provider in Security Hub CSPM.
  • CfnConnectorV2 Construct (L1)
    Grants permission to create a connectorV2 based on input parameters.
  • CfnDelegatedAdmin Construct (L1)
    The AWS::SecurityHub::DelegatedAdmin resource designates the delegated AWS Security Hub CSPM administrator account for an organization.
  • CfnFindingAggregator Construct (L1)
    The AWS::SecurityHub::FindingAggregator resource enables cross-Region aggregation.
  • CfnHub Construct (L1)
    The AWS::SecurityHub::Hub resource specifies the enablement of the AWS Security Hub CSPM service in your AWS account .
  • CfnHubV2 Construct (L1)
    Returns details about the service resource in your account.
  • CfnInsight Construct (L1)
    The AWS::SecurityHub::Insight resource creates a custom insight in AWS Security Hub CSPM .
  • CfnOrganizationConfiguration Construct (L1)
    The AWS::SecurityHub::OrganizationConfiguration resource specifies the way that your AWS organization is configured in AWS Security Hub CSPM .
  • CfnPolicyAssociation Construct (L1)
    The AWS::SecurityHub::PolicyAssociation resource specifies associations for a configuration policy or a self-managed configuration.
  • CfnProductSubscription Construct (L1)
    The AWS::SecurityHub::ProductSubscription resource creates a subscription to a third-party product that generates findings that you want to receive in AWS Security Hub CSPM .
  • CfnSecurityControl Construct (L1)
    The AWS::SecurityHub::SecurityControl resource specifies custom parameter values for an AWS Security Hub CSPM control.
  • CfnStandard Construct (L1)
    The AWS::SecurityHub::Standard resource specifies the enablement of a security standard.

Structs ​