Resource: awsSecurityhubAccount
Enables Security Hub for this AWS account.
\~> NOTE: Destroying this resource will disable Security Hub for this AWS account.
Example Usage
/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.securityhubAccount.SecurityhubAccount(this, "example", {});
Argument Reference
enableDefaultStandards
- (Optional) Whether to enable the security standards that Security Hub has designated as automatically enabled including:awsFoundationalSecurityBestPracticesV100
andcisAwsFoundationsBenchmarkV120
. Defaults totrue
.
Attributes Reference
In addition to all arguments above, the following attributes are exported:
id
- AWS Account ID.
Import
An existing Security Hub enabled account can be imported using the AWS account ID, e.g.,