Skip to content

ControlScope

Source code in docs_src/capo_backup/types/control_scope.py
class ControlScope(TypedDict, closed=True):
    compliance_resource_ids: NotRequired[
        "capo_backup.types.compliance_resource_id_list.ComplianceResourceIdList"
    ]
    """<p>The ID of the only Amazon Web Services resource that you want your control scope to contain.</p>"""
    compliance_resource_types: NotRequired[
        "capo_backup.types.resource_type_list.ResourceTypeList"
    ]
    """<p>Describes whether the control scope includes one or more types of resources, such as <code>EFS</code> or <code>RDS</code>.</p>"""
    tags: NotRequired["capo_backup.types.string_map.stringMap"]
    """<p>The tag key-value pair applied to those Amazon Web Services resources that you want to trigger an evaluation for a rule. A maximum of one key-value pair can be provided. The tag value is optional, but it cannot be an empty string if you are creating or editing a framework from the console (though the value can be an empty string when included in a CloudFormation template).</p> <p>The structure to assign a tag is: <code>[{"Key":"string","Value":"string"}]</code>.</p>"""

compliance_resource_ids instance-attribute

compliance_resource_ids: NotRequired[ComplianceResourceIdList]

The ID of the only Amazon Web Services resource that you want your control scope to contain.

compliance_resource_types instance-attribute

compliance_resource_types: NotRequired[ResourceTypeList]

Describes whether the control scope includes one or more types of resources, such as EFS or RDS.

tags instance-attribute

tags: NotRequired[stringMap]

The tag key-value pair applied to those Amazon Web Services resources that you want to trigger an evaluation for a rule. A maximum of one key-value pair can be provided. The tag value is optional, but it cannot be an empty string if you are creating or editing a framework from the console (though the value can be an empty string when included in a CloudFormation template).

The structure to assign a tag is: [{"Key":"string","Value":"string"}].