CmdID / aws / aws lightsail
aws lightsail set-resource-access-for-bucket
Sets the Amazon Lightsail resources that can access the specified Lightsail bucket. AWS CLI reference
3 options Its page in the AWS CLI reference
Options
--accessThe access setting.--bucket-nameThe name of the bucket for which to set access to another Lightsail resource.--resource-nameThe name of the Lightsail instance for which to set bucket access.