# StandardsControlProperty

Provides details about an individual security control.

For a list of Security Hub CSPM controls, see [Security Hub CSPM controls reference](https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-controls-reference.html) in the *AWS Security Hub CSPM User Guide* .

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
};
```

Golang:

```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

- `reason`: 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.

- `standardsControlArn`: string (required) — The Amazon Resource Name (ARN) of the control.
