QuestionQ58

VerifiedData Store Management

A company uses an AWS Organizations organization to manage multiple AWS accounts. The company uses an enhanced fanout data stream in Amazon Kinesis Data Streams to receive streaming data from multiple producers. The company operates the data stream in an account named Account A. The company wants an AWS Lambda function in an account named Account В to process data from the data stream. The company creates a Lambda execution role in Account В with permissions to access data from the data stream in Account A.

What additional action must the company take to meet this requirement?

Explanation

Amazon Kinesis Data Streams supports cross-account access through resource-based policies. A Lambda execution role’s identity-based permissions alone do not authorize it to read a stream owned by another account; the stream owner must attach a resource-based policy that grants the cross-account role the required read actions. Service control policies define maximum allowed permissions for accounts and cannot grant access.

Learn more

Community Discussion

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