Skip to content

PutControlStatusOverrideInput

Source code in docs_src/capo_assurance/types/put_control_status_override_input.py
class PutControlStatusOverrideInput(TypedDict, closed=True):
    environment_arn: "capo_assurance.types.environment_arn.EnvironmentArn"
    """<p>The Amazon Resource Name (ARN) of this governance environment.</p>"""
    project: "capo_assurance.types.project_name.ProjectName"
    """<p>The name of the project.</p>"""
    framework: "capo_assurance.types.framework_name.FrameworkName"
    """<p>The name of the compliance framework.</p>"""
    framework_version: "capo_assurance.types.framework_version.FrameworkVersion"
    """<p>The version of the compliance framework.</p>"""
    control_id: "capo_assurance.types.control_id.ControlID"
    """<p>The identifier of the control. The control must exist in the framework version.</p>"""
    requirement_id: NotRequired["capo_assurance.types.requirement_id.RequirementId"]
    """<p>The identifier of a requirement of the control. Specify it to declare or remove a decision on that requirement only. Omit it to apply the decision to the whole control. If the requirement doesn't belong to the control, AWS Assurance returns a <code>ValidationException</code>.</p>"""
    type: "capo_assurance.types.status_override_type.StatusOverrideType"
    """<p>The decision to declare. Specify one of the following values:</p> <ul> <li> <p> <code>NOT_APPLICABLE</code> – Excludes the control or requirement from the project's outcome. Requires a <code>justification</code>. If a decision already exists, the new justification replaces it, and AWS Assurance updates <code>declaredBy</code> and <code>declaredAt</code>.</p> </li> <li> <p> <code>NONE</code> – Removes the current decision on the specified control or requirement. If you remove the decision on a control, the decisions on its individual requirements stay in place. A requirement stays not applicable while its control is not applicable.</p> </li> </ul>"""
    justification: NotRequired["capo_assurance.types.justification.Justification"]
    """<p>The reason that the control or requirement doesn't apply to the project. AWS Assurance keeps it as evidence for the decision. Required when <code>type</code> is <code>NOT_APPLICABLE</code>, and must contain 1–1,024 characters that aren't all whitespace. Omit it when <code>type</code> is <code>NONE</code>.</p>"""

control_id instance-attribute

control_id: ControlID

The identifier of the control. The control must exist in the framework version.

environment_arn instance-attribute

environment_arn: EnvironmentArn

The Amazon Resource Name (ARN) of this governance environment.

framework instance-attribute

framework: FrameworkName

The name of the compliance framework.

framework_version instance-attribute

framework_version: FrameworkVersion

The version of the compliance framework.

justification instance-attribute

justification: NotRequired[Justification]

The reason that the control or requirement doesn't apply to the project. AWS Assurance keeps it as evidence for the decision. Required when type is NOT_APPLICABLE, and must contain 1–1,024 characters that aren't all whitespace. Omit it when type is NONE.

project instance-attribute

project: ProjectName

The name of the project.

requirement_id instance-attribute

requirement_id: NotRequired[RequirementId]

The identifier of a requirement of the control. Specify it to declare or remove a decision on that requirement only. Omit it to apply the decision to the whole control. If the requirement doesn't belong to the control, AWS Assurance returns a ValidationException.

type instance-attribute

The decision to declare. Specify one of the following values:

  • NOT_APPLICABLE – Excludes the control or requirement from the project's outcome. Requires a justification. If a decision already exists, the new justification replaces it, and AWS Assurance updates declaredBy and declaredAt.

  • NONE – Removes the current decision on the specified control or requirement. If you remove the decision on a control, the decisions on its individual requirements stay in place. A requirement stays not applicable while its control is not applicable.