Skip to content
v2.278.0

CfnAssessmentFrameworkProps Struct ​

Properties for defining a CfnAssessmentFramework.

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 cfnAssessmentFrameworkProps: auditmanager.CfnAssessmentFrameworkProps = {
  controlSets: [{
    controls: [{
      id: 'id',
    }],
    name: 'name',
  }],
  name: 'name',

  // the properties below are optional
  complianceType: 'complianceType',
  description: 'description',
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
python
from aws_cdk import CfnTag
# 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

cfn_assessment_framework_props = auditmanager.CfnAssessmentFrameworkProps(
    control_sets=[auditmanager.CfnAssessmentFramework.ControlSetProperty(
        controls=[auditmanager.CfnAssessmentFramework.ControlSetControlProperty(
            id="id"
        )],
        name="name"
    )],
    name="name",

    # the properties below are optional
    compliance_type="complianceType",
    description="description",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)
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.*;

CfnAssessmentFrameworkProps cfnAssessmentFrameworkProps = CfnAssessmentFrameworkProps.builder()
        .controlSets(List.of(ControlSetProperty.builder()
                .controls(List.of(ControlSetControlProperty.builder()
                        .id("id")
                        .build()))
                .name("name")
                .build()))
        .name("name")

        // the properties below are optional
        .complianceType("complianceType")
        .description("description")
        .tags(List.of(CfnTag.builder()
                .key("key")
                .value("value")
                .build()))
        .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 cfnAssessmentFrameworkProps = new CfnAssessmentFrameworkProps {
    ControlSets = new [] { new ControlSetProperty {
        Controls = new [] { new ControlSetControlProperty {
            Id = "id"
        } },
        Name = "name"
    } },
    Name = "name",

    // the properties below are optional
    ComplianceType = "complianceType",
    Description = "description",
    Tags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } }
};
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"

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

	// the properties below are optional
	ComplianceType: jsii.String("complianceType"),
	Description: jsii.String("description"),
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
}

Properties ​

complianceTypeoptionalstringcompliance_typeoptionalstrcomplianceTypeoptionalStringComplianceTypeoptionalstringComplianceTypeoptional*string #
The compliance type that the framework supports, such as CIS or HIPAA.
controlSetsIResolvable | IResolvable | CfnAssessmentFramework.ControlSetProperty[]control_setstyping.Union[IResolvable, typing.List[typing.Union[IResolvable, ControlSetProperty]]]controlSetsIResolvableControlSetsIResolvableControlSetsinterface{} required #
The control sets that are associated with the framework.
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #
The description of the framework.
namestringnamestrnameStringNamestringName*string required #
The name of the framework.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag #
The tags associated with the framework.