CfnAssessmentFrameworkPropsMixin
- class aws_cdk.cfn_property_mixins.aws_auditmanager.CfnAssessmentFrameworkPropsMixin(props, *, strategy=None)
Bases:
MixinCreates a custom framework in AWS Audit Manager.
- See:
- 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:
props (
Union[CfnAssessmentFrameworkMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[IMergeStrategy]) – Strategy for merging nested properties. Default: - PropertyMergeStrategy.combine()
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
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.
ControlSetControlProperty
- class CfnAssessmentFrameworkPropsMixin.ControlSetControlProperty(*, id=None)
Bases:
objectA reference to an existing control by ID.
- Parameters:
id (
Optional[str]) – The unique identifier of the control.- See:
- 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
ControlSetProperty
- class CfnAssessmentFrameworkPropsMixin.ControlSetProperty(*, controls=None, name=None)
Bases:
objectA control set entity that represents a collection of controls in Audit Manager.
- Parameters:
controls (
Union[IResolvable,Sequence[Union[IResolvable,ControlSetControlProperty,Dict[str,Any]]],None]) – The list of controls within the control set.name (
Optional[str]) – The name of the control set.
- See:
- 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.