Here's an example of an AWS IAM policy that grants a principal the necessary permissions to read and write objects in a specific Amazon S3 bucket. This policy can be attached to a role that would be assumed by an AWS Lambda function, to give it access to S3. Fill the blanks with the appropriate values for each of the components.
IAM Policies
Reading and writing to Amazon S3
Report a typo
Fill in the gaps with the relevant elements
{
"Version": "",
"Statement": [
{
"Effect": "",
"": [
"s3:PutObject",
""
],
"Resource": ""
}
]
}Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.