Skip to content

S3ClassificationScopeExclusionUpdate

Source code in docs_src/capo_macie2/types/s3_classification_scope_exclusion_update.py
class S3ClassificationScopeExclusionUpdate(TypedDict, closed=True):
    bucket_names: NotRequired[
        "capo_macie2.types.__list_of_s3_bucket_name.__listOfS3BucketName"
    ]
    """<p>Depending on the value specified for the update operation (ClassificationScopeUpdateOperation), an array of strings that: lists the names of buckets to add or remove from the list, or specifies a new set of bucket names that overwrites all existing names in the list. Each string must be the full name of an existing S3 bucket. Values are case sensitive.</p>"""
    operation: NotRequired[
        "capo_macie2.types.classification_scope_update_operation.ClassificationScopeUpdateOperation"
    ]
    """<p>Specifies how to apply the changes to the exclusion list. Valid values are:</p> <ul><li><p>ADD - Append the specified bucket names to the current list.</p></li> <li><p>REMOVE - Remove the specified bucket names from the current list.</p></li> <li><p>REPLACE - Overwrite the current list with the specified list of bucket names. If you specify this value, Amazon Macie removes all existing names from the list and adds all the specified names to the list.</p></li></ul>"""

bucket_names instance-attribute

bucket_names: NotRequired[__listOfS3BucketName]

Depending on the value specified for the update operation (ClassificationScopeUpdateOperation), an array of strings that: lists the names of buckets to add or remove from the list, or specifies a new set of bucket names that overwrites all existing names in the list. Each string must be the full name of an existing S3 bucket. Values are case sensitive.

operation instance-attribute

operation: NotRequired[ClassificationScopeUpdateOperation]

Specifies how to apply the changes to the exclusion list. Valid values are:

  • ADD - Append the specified bucket names to the current list.

  • REMOVE - Remove the specified bucket names from the current list.

  • REPLACE - Overwrite the current list with the specified list of bucket names. If you specify this value, Amazon Macie removes all existing names from the list and adds all the specified names to the list.