s3:PutBucketWebsite is a Write access-level action in the s3 service. Grants permission to set the configuration of the website that is specified in the website subresource
ARNs that s3:PutBucketWebsite can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants s3:PutBucketWebsite.
Filters access by the tags associated with the resource
Filters access by the tags associated with the bucket
A minimal policy that allows s3:PutBucketWebsite. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowS3PutBucketWebsite",
"Effect": "Allow",
"Action": "s3:PutBucketWebsite",
"Resource": "*"
}
]
}