AWS SDK for .NET Documentation
S3BucketLoggingConfig Class
AmazonAmazon.S3.ModelS3BucketLoggingConfig Did this page help you?   Yes   No    Tell us about it...
A configuration for S3 bucket logging operatons.
Declaration Syntax
C#
public class S3BucketLoggingConfig
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
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)
Determines whether the specified Object is equal to the current 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.

Remarks
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.
Inheritance Hierarchy
Object
S3BucketLoggingConfig

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)