Logging Enabled
Inheritance Hierarchy
Namespace: Amazon.S3.Model
Assembly: AWSSDK.dll
Version: 2.0.0.3
Syntax
public class S3BucketLoggingConfig : Object
The S3BucketLoggingConfig type exposes the following members
Constructors
Name | Description | |
---|---|---|
![]() |
S3BucketLoggingConfig() |
Properties
Name | Description | |
---|---|---|
![]() |
Grants | A collection of grants. |
![]() |
TargetBucketName | Specifies the bucket where you want Amazon S3 to store server access logs. You can have your logs delivered to any bucket that you own, including the same bucket that is being logged. You can also configure multiple buckets to deliver their logs to the same target bucket. In this case you should choose a different TargetPrefix for each source bucket so that the delivered log files can be distinguished by key. |
![]() |
TargetPrefix | This element lets you specify a prefix for the keys that the log files will be stored under. |
Methods
Name | Description | |
---|---|---|
![]() |
AddGrant(S3Grantee, S3Permission) | Creates a S3Grant and adds it to the list of grants. |
![]() |
RemoveGrant(S3Grantee, S3Permission) | Removes a specific permission for the given grantee. |
![]() |
RemoveGrant(S3Grantee) | Removes all permissions for the given grantee. |
Version Information
.NET Framework:
Supported in: 4.5, 4.0, 3.5
.NET for Windows Store apps:
Supported in: Windows 8
.NET for Windows Phone:
Supported in: Window Phone 8