Skip to content
v2.276.0

StandardsControlProperty Struct ​

Provides details about an individual security control.

For a list of Security Hub CSPM controls, see Security Hub CSPM controls reference in the AWS Security Hub CSPM User Guide .

Example ​

ts
// 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 standardsControlProperty: securityhub.CfnStandard.StandardsControlProperty = {
  standardsControlArn: 'standardsControlArn',

  // the properties below are optional
  reason: 'reason',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_securityhub as securityhub

standards_control_property = securityhub.CfnStandard.StandardsControlProperty(
    standards_control_arn="standardsControlArn",

    # the properties below are optional
    reason="reason"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.securityhub.*;

StandardsControlProperty standardsControlProperty = StandardsControlProperty.builder()
        .standardsControlArn("standardsControlArn")

        // the properties below are optional
        .reason("reason")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.SecurityHub;

var standardsControlProperty = new StandardsControlProperty {
    StandardsControlArn = "standardsControlArn",

    // the properties below are optional
    Reason = "reason"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

standardsControlProperty := &StandardsControlProperty{
	StandardsControlArn: jsii.String("standardsControlArn"),

	// the properties below are optional
	Reason: jsii.String("reason"),
}

Properties ​

reasonoptionalstringreasonoptionalstrreasonoptionalStringReasonoptionalstringReasonoptional*string#
A user-defined reason for changing a control's enablement status in a specified standard.

If you are disabling a control, then this property is required.

standardsControlArnstringstandards_control_arnstrstandardsControlArnStringStandardsControlArnstringStandardsControlArn*stringrequired#
The Amazon Resource Name (ARN) of the control.