Skip to content
v2.277.0

SecurityControlReference Struct ​

A reference to a SecurityControl resource.

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 interfaces_securityhub } from 'aws-cdk-lib/interfaces';
const securityControlReference: interfaces_securityhub.SecurityControlReference = {
  securityControlId: 'securityControlId',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_securityhub as interfaces_securityhub

security_control_reference = interfaces_securityhub.SecurityControlReference(
    security_control_id="securityControlId"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.securityhub.*;

SecurityControlReference securityControlReference = SecurityControlReference.builder()
        .securityControlId("securityControlId")
        .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.Interfaces.SecurityHub;

var securityControlReference = new SecurityControlReference {
    SecurityControlId = "securityControlId"
};
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"

securityControlReference := &SecurityControlReference{
	SecurityControlId: jsii.String("securityControlId"),
}

Properties ​

securityControlIdstringsecurity_control_idstrsecurityControlIdStringSecurityControlIdstringSecurityControlId*string required #
The SecurityControlId of the SecurityControl resource.