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:
- Search Construct Hub for SecurityHub construct libraries
- Use the automatically generated L1 constructs, in the same way you would use the CloudFormation AWS::SecurityHub resources directly.
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)
CfnActionTargetConstruct (L1)
Creates a custom action target in Security Hub.CfnAggregatorV2Construct (L1)
Enables aggregation across AWS Regions .CfnAutomationRuleConstruct (L1)
TheAWS::SecurityHub::AutomationRuleresource specifies an automation rule based on input parameters.CfnAutomationRuleV2Construct (L1)
Creates a V2 automation rule.CfnConfigurationPolicyConstruct (L1)
TheAWS::SecurityHub::ConfigurationPolicyresource 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)
TheAWS::SecurityHub::DelegatedAdminresource designates the delegated AWS Security Hub CSPM administrator account for an organization.CfnFindingAggregatorConstruct (L1)
TheAWS::SecurityHub::FindingAggregatorresource enables cross-Region aggregation.CfnHubConstruct (L1)
TheAWS::SecurityHub::Hubresource 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)
TheAWS::SecurityHub::Insightresource creates a custom insight in AWS Security Hub CSPM .CfnOrganizationConfigurationConstruct (L1)
TheAWS::SecurityHub::OrganizationConfigurationresource specifies the way that your AWS organization is configured in AWS Security Hub CSPM .CfnPolicyAssociationConstruct (L1)
TheAWS::SecurityHub::PolicyAssociationresource specifies associations for a configuration policy or a self-managed configuration.CfnProductSubscriptionConstruct (L1)
TheAWS::SecurityHub::ProductSubscriptionresource creates a subscription to a third-party product that generates findings that you want to receive in AWS Security Hub CSPM .CfnSecurityControlConstruct (L1)
TheAWS::SecurityHub::SecurityControlresource specifies custom parameter values for an AWS Security Hub CSPM control.CfnStandardConstruct (L1)
TheAWS::SecurityHub::Standardresource specifies the enablement of a security standard.
Structs
CfnActionTargetPropsStruct
Properties for defining aCfnActionTarget.CfnAggregatorV2PropsStruct
Properties for defining aCfnAggregatorV2.CfnAutomationRule.StructAutomationRulesActionProperty
One or more actions that AWS Security Hub CSPM takes when a finding matches the defined criteria of a rule.CfnAutomationRule.StructAutomation Rules Finding Fields Update Property
Identifies the finding fields that the automation rule action updates when a finding matches the defined criteria.CfnAutomationRule.StructAutomation Rules Finding Filters Property
The criteria that determine which findings a rule applies to.CfnAutomationRule.StructDateFilterProperty
A date filter for querying findings.CfnAutomationRule.StructDateRangeProperty
A date range for the date filter.CfnAutomationRule.StructMapFilterProperty
A map filter for filtering AWS Security Hub CSPM findings.CfnAutomationRule.StructNoteUpdateProperty
The updated note.CfnAutomationRule.StructNumberFilterProperty
A number filter for querying findings.CfnAutomationRule.StructRelatedFindingProperty
Provides details about a list of findings that the current finding relates to.CfnAutomationRule.StructSeverityUpdateProperty
Updates to the severity information for a finding.CfnAutomationRule.StructStringFilterProperty
A string filter for filtering AWS Security Hub CSPM findings.CfnAutomationRule.StructWorkflowUpdateProperty
Used to update information about the investigation into the finding.CfnAutomationRulePropsStruct
Properties for defining aCfnAutomationRule.CfnAutomationRuleV2.StructAutomationRulesActionV2Property
Allows you to configure automated responses.CfnAutomationRuleV2.StructAutomation Rules Finding Fields Update V2 Property
Allows you to define the structure for modifying specific fields in security findings.CfnAutomationRuleV2.StructBooleanFilterProperty
Boolean filter for querying findings.CfnAutomationRuleV2.StructCompositeFilterProperty
Enables the creation of filtering criteria for security findings.CfnAutomationRuleV2.StructCriteriaProperty
The filtering type and configuration of the automation rule.CfnAutomationRuleV2.StructDateFilterProperty
A date filter for querying findings.CfnAutomationRuleV2.StructDateRangeProperty
A date range for the date filter.CfnAutomationRuleV2.StructExternal Integration Configuration Property
The settings for integrating automation rule actions with external systems or service.CfnAutomationRuleV2.StructMapFilterProperty
A map filter for filtering AWS Security Hub CSPM findings.CfnAutomationRuleV2.StructNumberFilterProperty
A number filter for querying findings.CfnAutomationRuleV2.StructOcsfBooleanFilterProperty
Enables filtering of security findings based on boolean field values in OCSF.CfnAutomationRuleV2.StructOcsfDateFilterProperty
Enables filtering of security findings based on date and timestamp fields in OCSF.CfnAutomationRuleV2.StructOcsfFindingFiltersProperty
Specifies the filtering criteria for security findings using OCSF.CfnAutomationRuleV2.StructOcsfMapFilterProperty
Enables filtering of security findings based on map field values in OCSF.CfnAutomationRuleV2.StructOcsfNumberFilterProperty
Enables filtering of security findings based on numerical field values in OCSF.CfnAutomationRuleV2.StructOcsfStringFilterProperty
Enables filtering of security findings based on string field values in OCSF.CfnAutomationRuleV2.StructStringFilterProperty
A string filter for filtering AWS Security Hub CSPM findings.CfnAutomationRuleV2PropsStruct
Properties for defining aCfnAutomationRuleV2.CfnConfigurationPolicy.StructParameterConfigurationProperty
An object that provides the current value of a security control parameter and identifies whether it has been customized.CfnConfigurationPolicy.StructParameterValueProperty
An object that includes the data type of a security control parameter and its current value.CfnConfigurationPolicy.StructPolicyProperty
An object that defines how AWS Security Hub CSPM is configured.CfnConfigurationPolicy.StructSecurity Control Custom Parameter Property
A list of security controls and control parameter values that are included in a configuration policy.CfnConfigurationPolicy.StructSecurity Controls Configuration Property
An object that defines which security controls are enabled in an AWS Security Hub CSPM configuration policy.CfnConfigurationPolicy.StructSecurityHubPolicyProperty
An object that defines how AWS Security Hub CSPM is configured.CfnConfigurationPolicyPropsStruct
Properties for defining aCfnConfigurationPolicy.CfnConnector.StructAzure Provider Configuration Property
The configuration for connecting to an Azure environment.CfnConnector.StructAzureScopeConfigurationProperty
The scope configuration for an Azure connector, defining the tenant or subscription scope.CfnConnector.HealthIssuePropertyStruct
Represents a specific health issue detected for a connector.CfnConnector.ProviderPropertyStructCfnConnectorPropsStruct
Properties for defining aCfnConnector.CfnConnectorV2.StructAzure Provider Configuration Property
The configuration settings required to establish an integration between AWS Security Hub and Azure.CfnConnectorV2.StructAzureScopeConfigurationProperty
The scope configuration for an Azure connector.CfnConnectorV2.StructHealthIssueProperty
A health issue associated with the connector.CfnConnectorV2.StructJira Cloud Provider Configuration Property
The initial configuration settings required to establish an integration between Security Hub CSPM and Jira Cloud.CfnConnectorV2.ProviderPropertyStruct
The third-party provider detail for a service configuration.CfnConnectorV2.StructService Now Provider Configuration Property
The initial configuration settings required to establish an integration between Security Hub CSPM and ServiceNow ITSM.CfnConnectorV2PropsStruct
Properties for defining aCfnConnectorV2.CfnDelegatedAdminPropsStruct
Properties for defining aCfnDelegatedAdmin.CfnFindingAggregatorPropsStruct
Properties for defining aCfnFindingAggregator.CfnHubPropsStruct
Properties for defining aCfnHub.CfnHubV2.NetworkScanningPropertyStruct
Configuration for the Network Scanning opt-in feature of Security Hub V2.CfnHubV2PropsStruct
Properties for defining aCfnHubV2.CfnInsight.StructAws Security Finding Filters Property
A collection of filters that are applied to all active findings aggregated by AWS Security Hub CSPM .CfnInsight.BooleanFilterPropertyStruct
Boolean filter for querying findings.CfnInsight.DateFilterPropertyStruct
A date filter for querying findings.CfnInsight.DateRangePropertyStruct
A date range for the date filter.CfnInsight.IpFilterPropertyStruct
The IP filter for querying findings.CfnInsight.KeywordFilterPropertyStruct
A keyword filter for querying findings.CfnInsight.MapFilterPropertyStruct
A map filter for filtering AWS Security Hub CSPM findings.CfnInsight.NumberFilterPropertyStruct
A number filter for querying findings.CfnInsight.StringFilterPropertyStruct
A string filter for filtering AWS Security Hub CSPM findings.CfnInsightPropsStruct
Properties for defining aCfnInsight.CfnStructOrganization Configuration Props
Properties for defining aCfnOrganizationConfiguration.CfnPolicyAssociationPropsStruct
Properties for defining aCfnPolicyAssociation.CfnProductSubscriptionPropsStruct
Properties for defining aCfnProductSubscription.CfnSecurityControl.StructParameterConfigurationProperty
An object that provides the current value of a security control parameter and identifies whether it has been customized.CfnSecurityControl.StructParameterValueProperty
An object that includes the data type of a security control parameter and its current value.CfnSecurityControlPropsStruct
Properties for defining aCfnSecurityControl.CfnStandard.StructStandardsControlProperty
Provides details about an individual security control.CfnStandardPropsStruct
Properties for defining aCfnStandard.