A configuration for S3 bucket logging operatons.

C# |
public class S3BucketLoggingConfig

All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
![]() | S3BucketLoggingConfig()()()() | Initializes a new instance of the S3BucketLoggingConfig class |
![]() | AddGrant(S3Grantee, S3Permission) |
Creates a S3Grant and adds it to the list of grants.
|
![]() | Equals(Object) | (Inherited from Object.) |
![]() | GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType()()()() | Gets the type of the current instance. (Inherited from Object.) |
![]() | Grants |
A collection of grants.
|
![]() | RemoveGrant(S3Grantee, S3Permission) |
Removes a specific permission for the given grantee.
|
![]() | RemoveGrant(S3Grantee) |
Removes all permissions for the given grantee.
|
![]() | TargetBucketName |
The name of the bucket to which the logging applies.
|
![]() | TargetPrefix |
The prefix for the keys that the log files are being stored under.
Default: empty string.
|
![]() | ToString()()()() |
Creates an XML representation of this logging configuration which
is to be sent to S3 when setting up bucket logging.
(Overrides Object.ToString()()()().) |
![]() | WithGrants(array<S3Grant>[]()[][]) | Obsolete.
Sets the collection of grants.
|
![]() | WithTargetBucketName(String) | Obsolete.
Sets the name of the bucket to which the logging applies.
|
![]() | WithTargetPrefix(String) | Obsolete.
The prefix for the keys that the log files are being stored under.
Default: empty string.
|

This includes a target bucket name which is where
the logs will be stored, a target prefix which is the prefix assigned
to all log files, and a List of grants which will set the AccessControl
for the logs.

Object | |
![]() | S3BucketLoggingConfig |