Ultimate access to all questions.
Upgrade Now 🚀
Sign in to unlock AI tutor
How can CloudFormation access Lambda code stored in an S3 bucket securely across multiple accounts within the same AWS Region?
A
Assign S3 ListBucket and GetObject permissions to the CloudFormation service role and set an S3 bucket policy for specified AWS account numbers.
B
Assign S3 GetObject permission to the CloudFormation service role and apply a bucket policy with a wildcard principal.
C
Establish a service-based policy granting the Lambda function S3 ListBucket and GetObject permissions, specifying the S3 bucket's account number.
D
Create a service-based policy for the Lambda function to access the S3 bucket with a wildcard resource for S3 GetObject permission.