AccountState constructor

const AccountState({
  1. Input<String?>? arn,
  2. Input<bool?>? autoEnableControls,
  3. Input<String?>? controlFindingGenerator,
  4. Input<bool?>? enableDefaultStandards,
  5. Input<String?>? region,
})

Creates a new AccountState. arn ARN of the SecurityHub Hub created in the account. autoEnableControls Whether to automatically enable new controls when they are added to standards that are enabled. By default, this is set to true, and new controls are enabled automatically. To not automatically enable new controls, set this to false. controlFindingGenerator Updates whether the calling account has consolidated control findings turned on. If the value for this field is set to SECURITY_CONTROL, Security Hub generates a single finding for a control check even when the check applies to multiple enabled standards. If the value for this field is set to STANDARD_CONTROL, Security Hub generates separate findings for a control check when the check applies to multiple enabled standards. For accounts that are part of an organization, this value can only be updated in the administrator account. enableDefaultStandards Whether to enable the security standards that Security Hub has designated as automatically enabled including: AWS Foundational Security Best Practices v1.0.0 and CIS AWS Foundations Benchmark v1.2.0. Defaults to true. region Region where this resource will be managed. Defaults to the Region set in the provider configuration.

Implementation

const AccountState({
  this.arn,
  this.autoEnableControls,
  this.controlFindingGenerator,
  this.enableDefaultStandards,
  this.region,
});