This is the new AWS CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
AWS::Lightsail::Bucket AccessRules
AccessRules is a property of the AWS::Lightsail::Bucket resource. It describes access rules for a bucket.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "AllowPublicOverrides" :Boolean, "GetObject" :String}
YAML
AllowPublicOverrides:BooleanGetObject:String
Properties
AllowPublicOverrides-
A Boolean value indicating whether the access control list (ACL) permissions that are applied to individual objects override the
GetObjectoption that is currently specified.When this is true, you can use the PutObjectAcl Amazon S3 API operation to set individual objects to public (read-only) or private, using either the
public-readACL or theprivateACL.Required: No
Type: Boolean
Update requires: No interruption
GetObject-
Specifies the anonymous access to all objects in a bucket.
The following options can be specified:
-
public- Sets all objects in the bucket to public (read-only), making them readable by everyone on the internet.If the
GetObjectvalue is set topublic, then all objects in the bucket default to public regardless of theallowPublicOverridesvalue. -
private- Sets all objects in the bucket to private, making them readable only by you and anyone that you grant access to.If the
GetObjectvalue is set toprivate, and theallowPublicOverridesvalue is set totrue, then all objects in the bucket default to private unless they are configured with apublic-readACL. Individual objects with apublic-readACL are readable by everyone on the internet.
Required: No
Type: String
Allowed values:
public | privateUpdate requires: No interruption
-