Skip to content
v2.273.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 ​

NameKindSummary
CfnAggregatorV2Construct (L1)Enables aggregation across AWS Regions .
CfnAutomationRuleConstruct (L1)The AWS::SecurityHub::AutomationRule resource specifies an automation rule based on input parameters.
CfnAutomationRuleV2Construct (L1)Creates a V2 automation rule.
CfnConfigurationPolicyConstruct (L1)The AWS::SecurityHub::ConfigurationPolicy resource creates a central configuration policy with the defined settings.
CfnConnectorConstruct (L1)Creates a connector to a third-party cloud provider in Security Hub CSPM.
CfnConnectorV2Construct (L1)Grants permission to create a connectorV2 based on input parameters.
CfnDelegatedAdminConstruct (L1)The AWS::SecurityHub::DelegatedAdmin resource designates the delegated AWS Security Hub CSPM administrator account for an organization.
CfnFindingAggregatorConstruct (L1)The AWS::SecurityHub::FindingAggregator resource enables cross-Region aggregation.
CfnHubConstruct (L1)The AWS::SecurityHub::Hub resource specifies the enablement of the AWS Security Hub CSPM service in your AWS account .
CfnHubV2Construct (L1)Returns details about the service resource in your account.
CfnInsightConstruct (L1)The AWS::SecurityHub::Insight resource creates a custom insight in AWS Security Hub CSPM .
CfnOrganizationConfigurationConstruct (L1)The AWS::SecurityHub::OrganizationConfiguration resource specifies the way that your AWS organization is configured in AWS Security Hub CSPM .
CfnPolicyAssociationConstruct (L1)The AWS::SecurityHub::PolicyAssociation resource specifies associations for a configuration policy or a self-managed configuration.
CfnProductSubscriptionConstruct (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 .
CfnSecurityControlConstruct (L1)The AWS::SecurityHub::SecurityControl resource specifies custom parameter values for an AWS Security Hub CSPM control.
CfnStandardConstruct (L1)The AWS::SecurityHub::Standard resource specifies the enablement of a security standard.
CfnAggregatorV2PropsStructProperties for defining a CfnAggregatorV2.
CfnAutomationRule.AutomationRulesActionPropertyStructOne or more actions that AWS Security Hub CSPM takes when a finding matches the defined criteria of a rule.
CfnAutomationRule.AutomationRulesFindingFieldsUpdatePropertyStructIdentifies the finding fields that the automation rule action updates when a finding matches the defined criteria.
CfnAutomationRule.AutomationRulesFindingFiltersPropertyStructThe criteria that determine which findings a rule applies to.
CfnAutomationRule.DateFilterPropertyStructA date filter for querying findings.
CfnAutomationRule.DateRangePropertyStructA date range for the date filter.
CfnAutomationRule.MapFilterPropertyStructA map filter for filtering AWS Security Hub CSPM findings.
CfnAutomationRule.NoteUpdatePropertyStructThe updated note.
CfnAutomationRule.NumberFilterPropertyStructA number filter for querying findings.
CfnAutomationRule.RelatedFindingPropertyStructProvides details about a list of findings that the current finding relates to.
CfnAutomationRule.SeverityUpdatePropertyStructUpdates to the severity information for a finding.
CfnAutomationRule.StringFilterPropertyStructA string filter for filtering AWS Security Hub CSPM findings.
CfnAutomationRule.WorkflowUpdatePropertyStructUsed to update information about the investigation into the finding.
CfnAutomationRulePropsStructProperties for defining a CfnAutomationRule.
CfnAutomationRuleV2.AutomationRulesActionV2PropertyStructAllows you to configure automated responses.
CfnAutomationRuleV2.AutomationRulesFindingFieldsUpdateV2PropertyStructAllows you to define the structure for modifying specific fields in security findings.
CfnAutomationRuleV2.BooleanFilterPropertyStructBoolean filter for querying findings.
CfnAutomationRuleV2.CompositeFilterPropertyStructEnables the creation of filtering criteria for security findings.
CfnAutomationRuleV2.CriteriaPropertyStructThe filtering type and configuration of the automation rule.
CfnAutomationRuleV2.DateFilterPropertyStructA date filter for querying findings.
CfnAutomationRuleV2.DateRangePropertyStructA date range for the date filter.
CfnAutomationRuleV2.ExternalIntegrationConfigurationPropertyStructThe settings for integrating automation rule actions with external systems or service.
CfnAutomationRuleV2.MapFilterPropertyStructA map filter for filtering AWS Security Hub CSPM findings.
CfnAutomationRuleV2.NumberFilterPropertyStructA number filter for querying findings.
CfnAutomationRuleV2.OcsfBooleanFilterPropertyStructEnables filtering of security findings based on boolean field values in OCSF.
CfnAutomationRuleV2.OcsfDateFilterPropertyStructEnables filtering of security findings based on date and timestamp fields in OCSF.
CfnAutomationRuleV2.OcsfFindingFiltersPropertyStructSpecifies the filtering criteria for security findings using OCSF.
CfnAutomationRuleV2.OcsfMapFilterPropertyStructEnables filtering of security findings based on map field values in OCSF.
CfnAutomationRuleV2.OcsfNumberFilterPropertyStructEnables filtering of security findings based on numerical field values in OCSF.
CfnAutomationRuleV2.OcsfStringFilterPropertyStructEnables filtering of security findings based on string field values in OCSF.
CfnAutomationRuleV2.StringFilterPropertyStructA string filter for filtering AWS Security Hub CSPM findings.
CfnAutomationRuleV2PropsStructProperties for defining a CfnAutomationRuleV2.
CfnConfigurationPolicy.ParameterConfigurationPropertyStructAn object that provides the current value of a security control parameter and identifies whether it has been customized.
CfnConfigurationPolicy.ParameterValuePropertyStructAn object that includes the data type of a security control parameter and its current value.
CfnConfigurationPolicy.PolicyPropertyStructAn object that defines how AWS Security Hub CSPM is configured.
CfnConfigurationPolicy.SecurityControlCustomParameterPropertyStructA list of security controls and control parameter values that are included in a configuration policy.
CfnConfigurationPolicy.SecurityControlsConfigurationPropertyStructAn object that defines which security controls are enabled in an AWS Security Hub CSPM configuration policy.
CfnConfigurationPolicy.SecurityHubPolicyPropertyStructAn object that defines how AWS Security Hub CSPM is configured.
CfnConfigurationPolicyPropsStructProperties for defining a CfnConfigurationPolicy.
CfnConnector.AzureProviderConfigurationPropertyStructThe configuration for connecting to an Azure environment.
CfnConnector.AzureScopeConfigurationPropertyStructThe scope configuration for an Azure connector, defining the tenant or subscription scope.
CfnConnector.HealthIssuePropertyStructRepresents a specific health issue detected for a connector.
CfnConnector.ProviderPropertyStruct
CfnConnectorPropsStructProperties for defining a CfnConnector.
CfnConnectorV2.AzureProviderConfigurationPropertyStructThe configuration settings required to establish an integration between AWS Security Hub and Azure.
CfnConnectorV2.AzureScopeConfigurationPropertyStructThe scope configuration for an Azure connector.
CfnConnectorV2.HealthIssuePropertyStructA health issue associated with the connector.
CfnConnectorV2.JiraCloudProviderConfigurationPropertyStructThe initial configuration settings required to establish an integration between Security Hub CSPM and Jira Cloud.
CfnConnectorV2.ProviderPropertyStructThe third-party provider detail for a service configuration.
CfnConnectorV2.ServiceNowProviderConfigurationPropertyStructThe initial configuration settings required to establish an integration between Security Hub CSPM and ServiceNow ITSM.
CfnConnectorV2PropsStructProperties for defining a CfnConnectorV2.
CfnDelegatedAdminPropsStructProperties for defining a CfnDelegatedAdmin.
CfnFindingAggregatorPropsStructProperties for defining a CfnFindingAggregator.
CfnHubPropsStructProperties for defining a CfnHub.
CfnHubV2.NetworkScanningPropertyStructConfiguration for the Network Scanning opt-in feature of Security Hub V2.
CfnHubV2PropsStructProperties for defining a CfnHubV2.
CfnInsight.AwsSecurityFindingFiltersPropertyStructA collection of filters that are applied to all active findings aggregated by AWS Security Hub CSPM .
CfnInsight.BooleanFilterPropertyStructBoolean filter for querying findings.
CfnInsight.DateFilterPropertyStructA date filter for querying findings.
CfnInsight.DateRangePropertyStructA date range for the date filter.
CfnInsight.IpFilterPropertyStructThe IP filter for querying findings.
CfnInsight.KeywordFilterPropertyStructA keyword filter for querying findings.
CfnInsight.MapFilterPropertyStructA map filter for filtering AWS Security Hub CSPM findings.
CfnInsight.NumberFilterPropertyStructA number filter for querying findings.
CfnInsight.StringFilterPropertyStructA string filter for filtering AWS Security Hub CSPM findings.
CfnInsightPropsStructProperties for defining a CfnInsight.
CfnOrganizationConfigurationPropsStructProperties for defining a CfnOrganizationConfiguration.
CfnPolicyAssociationPropsStructProperties for defining a CfnPolicyAssociation.
CfnProductSubscriptionPropsStructProperties for defining a CfnProductSubscription.
CfnSecurityControl.ParameterConfigurationPropertyStructAn object that provides the current value of a security control parameter and identifies whether it has been customized.
CfnSecurityControl.ParameterValuePropertyStructAn object that includes the data type of a security control parameter and its current value.
CfnSecurityControlPropsStructProperties for defining a CfnSecurityControl.
CfnStandard.StandardsControlPropertyStructProvides details about an individual security control.
CfnStandardPropsStructProperties for defining a CfnStandard.