aws-cdk-lib.aws_securityhub.CfnStandardProps

interface CfnStandardProps

LanguageType name
.NETAmazon.CDK.AWS.SecurityHub.CfnStandardProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awssecurityhub#CfnStandardProps
Javasoftware.amazon.awscdk.services.securityhub.CfnStandardProps
Pythonaws_cdk.aws_securityhub.CfnStandardProps
TypeScript aws-cdk-lib » aws_securityhub » CfnStandardProps

Properties for defining a CfnStandard.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_securityhub as securityhub } from 'aws-cdk-lib';
const cfnStandardProps: securityhub.CfnStandardProps = {
  standardsArn: 'standardsArn',

  // the properties below are optional
  disabledStandardsControls: [{
    standardsControlArn: 'standardsControlArn',

    // the properties below are optional
    reason: 'reason',
  }],
};

Properties

NameTypeDescription
standardsArnstringThe ARN of the standard that you want to enable.
disabledStandardsControls?IResolvable | IResolvable | StandardsControlProperty[]Specifies which controls are to be disabled in a standard.

standardsArn

Type: string

The ARN of the standard that you want to enable.

To view a list of available Security Hub standards and their ARNs, use the DescribeStandards API operation.


disabledStandardsControls?

Type: IResolvable | IResolvable | StandardsControlProperty[] (optional)

Specifies which controls are to be disabled in a standard.