Skip to content
v2.278.0

ControlSetProperty Struct ​

A control set entity that represents a collection of controls in Audit Manager.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_auditmanager as auditmanager } from 'aws-cdk-lib';
const controlSetProperty: auditmanager.CfnAssessmentFramework.ControlSetProperty = {
  controls: [{
    id: 'id',
  }],
  name: 'name',
};
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_auditmanager as auditmanager

control_set_property = auditmanager.CfnAssessmentFramework.ControlSetProperty(
    controls=[auditmanager.CfnAssessmentFramework.ControlSetControlProperty(
        id="id"
    )],
    name="name"
)
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.auditmanager.*;

ControlSetProperty controlSetProperty = ControlSetProperty.builder()
        .controls(List.of(ControlSetControlProperty.builder()
                .id("id")
                .build()))
        .name("name")
        .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.AuditManager;

var controlSetProperty = new ControlSetProperty {
    Controls = new [] { new ControlSetControlProperty {
        Id = "id"
    } },
    Name = "name"
};
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"

controlSetProperty := &ControlSetProperty{
	Controls: []interface{}{
		&ControlSetControlProperty{
			Id: jsii.String("id"),
		},
	},
	Name: jsii.String("name"),
}

Properties ​

controlsIResolvable | IResolvable | CfnAssessmentFramework.ControlSetControlProperty[]controlstyping.Union[IResolvable, typing.List[typing.Union[IResolvable, ControlSetControlProperty]]]controlsIResolvableControlsIResolvableControlsinterface{} required #
The list of controls within the control set.
namestringnamestrnameStringNamestringName*string required #
The name of the control set.