Skip to content

UpdateConfigurationRequest

Source code in docs_src/capo_inspector2/types/update_configuration_request.py
class UpdateConfigurationRequest(TypedDict, closed=True):
    account_id: NotRequired["capo_inspector2.types.account_id.AccountId"]
    """<p>The 12-digit Amazon Web Services account ID of the member account whose scan configuration you want to update. When specified, you must be the delegated administrator for this member account. If not specified, the operation updates your own configuration and propagates changes to any member accounts that have not been individually configured.</p>"""
    ecr_configuration: NotRequired[
        "capo_inspector2.types.ecr_configuration.EcrConfiguration"
    ]
    """<p>Specifies how the ECR automated re-scan will be updated for your environment.</p>"""
    ec2_configuration: NotRequired[
        "capo_inspector2.types.ec2_configuration.Ec2Configuration"
    ]
    """<p>Specifies how the Amazon EC2 automated scan will be updated for your environment.</p>"""
    update_configuration_inheritance: NotRequired[
        "capo_inspector2.types.update_configuration_inheritance.UpdateConfigurationInheritance"
    ]
    """<p>Specifies which scan-type configurations to reset to the delegated administrator's inherited values for the targeted member account. Each member of this structure is independently optional. When specified, <code>ec2Configuration</code> and <code>ecrConfiguration</code> must be absent, and <code>accountId</code> must also be present. Only <code>INHERIT_FROM_ADMIN</code> is valid for each member. If not specified, the operation uses the <code>ec2Configuration</code> and <code>ecrConfiguration</code> parameters instead.</p>"""

account_id instance-attribute

account_id: NotRequired[AccountId]

The 12-digit Amazon Web Services account ID of the member account whose scan configuration you want to update. When specified, you must be the delegated administrator for this member account. If not specified, the operation updates your own configuration and propagates changes to any member accounts that have not been individually configured.

ec2_configuration instance-attribute

ec2_configuration: NotRequired[Ec2Configuration]

Specifies how the Amazon EC2 automated scan will be updated for your environment.

ecr_configuration instance-attribute

ecr_configuration: NotRequired[EcrConfiguration]

Specifies how the ECR automated re-scan will be updated for your environment.

update_configuration_inheritance instance-attribute

update_configuration_inheritance: NotRequired[UpdateConfigurationInheritance]

Specifies which scan-type configurations to reset to the delegated administrator's inherited values for the targeted member account. Each member of this structure is independently optional. When specified, ec2Configuration and ecrConfiguration must be absent, and accountId must also be present. Only INHERIT_FROM_ADMIN is valid for each member. If not specified, the operation uses the ec2Configuration and ecrConfiguration parameters instead.