AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Update-LSBucket-BucketName <String>-AccessRules_AllowPublicOverride <Boolean>-AccessLogConfig_Destination <String>-AccessLogConfig_Enabled <Boolean>-AccessRules_GetObject <AccessType>-AccessLogConfig_Prefix <String>-ReadonlyAccessAccount <String[]>-Versioning <String>-Select <String>-PassThru <SwitchParameter>-Force <SwitchParameter>-ClientConfig <AmazonLightsailConfig>
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
logs/
prefix, then each log object will begin with the logs/
prefix in its key (for example, logs/2021-11-01-21-32-16-E568B2907131C0C0
).This parameter can be optionally specified when enabling the access log for a bucket, and should be omitted when disabling the access log. Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
getObject
option that is currently specified.When this is true, you can use the PutObjectAcl Amazon S3 API action to set individual objects to public (read-only) using the public-read
ACL, or to private using the private
ACL. Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | AccessRules_AllowPublicOverrides |
public
- Sets all objects in the bucket to public (read-only), making them readable by anyone in the world.If the getObject
value is set to public
, then all objects in the bucket default to public regardless of the allowPublicOverrides
value.private
- Sets all objects in the bucket to private, making them readable only by you or anyone you give access to.If the getObject
value is set to private
, and the allowPublicOverrides
value is set to true
, then all objects in the bucket default to private unless they are configured with a public-read
ACL. Individual objects with a public-read
ACL are readable by anyone in the world.Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Required? | True |
Position? | 1 |
Accept pipeline input? | True (ByValue, ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | ReadonlyAccessAccounts |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Enabled
- Enables versioning of objects in the specified bucket.Suspended
- Suspends versioning of objects in the specified bucket. Existing object versions are retained.Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | AK |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByValue, ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByValue, ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | AWSProfilesLocation, ProfilesLocation |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | StoredCredentials, AWSProfileName |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | RegionToCall |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | SK, SecretAccessKey |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | ST |
AWS Tools for PowerShell: 2.x.y.z