CfnAssessmentFrameworkPropsMixin

class aws_cdk.cfn_property_mixins.aws_auditmanager.CfnAssessmentFrameworkPropsMixin(props, *, strategy=None)

Bases: Mixin

Creates a custom framework in AWS Audit Manager.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-auditmanager-assessmentframework.html

CloudformationResource:

AWS::AuditManager::AssessmentFramework

Mixin:

true

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.cfn_property_mixins import aws_auditmanager as auditmanager
import aws_cdk as cdk

# merge_strategy: cdk.IMergeStrategy

cfn_assessment_framework_props_mixin = auditmanager.CfnAssessmentFrameworkPropsMixin(auditmanager.CfnAssessmentFrameworkMixinProps(
    compliance_type="complianceType",
    control_sets=[auditmanager.CfnAssessmentFrameworkPropsMixin.ControlSetProperty(
        controls=[auditmanager.CfnAssessmentFrameworkPropsMixin.ControlSetControlProperty(
            id="id"
        )],
        name="name"
    )],
    description="description",
    name="name",
    tags=[cdk.CfnTag(
        key="key",
        value="value"
    )]
),
    strategy=merge_strategy
)

Create a mixin to apply properties to AWS::AuditManager::AssessmentFramework.

Parameters:

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

None

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

CFN_PROPERTY_KEYS = ['complianceType', 'controlSets', 'description', 'name', 'tags']

Static Methods

classmethod is_mixin(x)

Checks if x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.

ControlSetControlProperty

class CfnAssessmentFrameworkPropsMixin.ControlSetControlProperty(*, id=None)

Bases: object

A reference to an existing control by ID.

Parameters:

id (Optional[str]) – The unique identifier of the control.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-auditmanager-assessmentframework-controlsetcontrol.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.cfn_property_mixins import aws_auditmanager as auditmanager

control_set_control_property = auditmanager.CfnAssessmentFrameworkPropsMixin.ControlSetControlProperty(
    id="id"
)

Attributes

id

The unique identifier of the control.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-auditmanager-assessmentframework-controlsetcontrol.html#cfn-auditmanager-assessmentframework-controlsetcontrol-id

ControlSetProperty

class CfnAssessmentFrameworkPropsMixin.ControlSetProperty(*, controls=None, name=None)

Bases: object

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

Parameters:
See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-auditmanager-assessmentframework-controlset.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.cfn_property_mixins import aws_auditmanager as auditmanager

control_set_property = auditmanager.CfnAssessmentFrameworkPropsMixin.ControlSetProperty(
    controls=[auditmanager.CfnAssessmentFrameworkPropsMixin.ControlSetControlProperty(
        id="id"
    )],
    name="name"
)

Attributes

controls

The list of controls within the control set.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-auditmanager-assessmentframework-controlset.html#cfn-auditmanager-assessmentframework-controlset-controls

name

The name of the control set.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-auditmanager-assessmentframework-controlset.html#cfn-auditmanager-assessmentframework-controlset-name