Skip to content

Commit 5174101

Browse files
author
ievgeniia ieromenko
committed
black fixes
1 parent aff6cd9 commit 5174101

File tree

1 file changed

+3
-4
lines changed
  • aws_sra_examples/solutions/macie/macie_org/lambda/src

1 file changed

+3
-4
lines changed

aws_sra_examples/solutions/macie/macie_org/lambda/src/macie.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
88
SPDX-License-Identifier: MIT-0
99
"""
10+
1011
from __future__ import annotations
1112

1213
import json
@@ -197,13 +198,11 @@ def create_macie_job(configuration_role_name: str, admin_account_id: str, region
197198
"name": job_name,
198199
"managedDataIdentifierSelector": "ALL",
199200
"s3JobDefinition": {
200-
"bucketCriteria": {
201-
"excludes": {"and": [{"tagCriterion": {"comparator": "EQ", "tagValues": [{"key": tag_key, "value": "True"}]}}]}
202-
}
201+
"bucketCriteria": {"excludes": {"and": [{"tagCriterion": {"comparator": "EQ", "tagValues": [{"key": tag_key, "value": "True"}]}}]}}
203202
},
204203
"samplingPercentage": 100,
205204
"scheduleFrequency": {"dailySchedule": {}},
206-
"tags": {"sra-solution": "sra-macie-org"}
205+
"tags": {"sra-solution": "sra-macie-org"},
207206
}
208207
account_session: boto3.Session = boto3.Session()
209208

0 commit comments

Comments
 (0)