QuestionQ18

VerifiedData Security and Governance

A company is creating data-processing pipelines by using AWS Glue. The pipelines access data that is stored in Amazon S3. The company has arranged the data in folders whose prefixes denote different classification levels. The company needs to limit AWS Glue jobs so that they can access only particular prefixes according to the data classification. The company must also limit access to business hours (9 AM to 5 PM).

Which elements must the company include in a custom IAM policy to satisfy these requirements?

Explanation

S3 object permissions can be constrained to specified prefixes by using S3 object ARNs in the Resource element, such as arn:aws:s3:::bucket-name/prefix/*. IAM date conditions use the global aws:CurrentTime key with DateGreaterThan and DateLessThan to allow access only within a defined time interval. s3:prefix is principally a request condition for bucket listing, not an object-resource scope, and $util.time is not an IAM policy variable.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!