BucketLoggingConfig represents a configuration for the S3 bucket logging operatons. 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.

Namespace: Amazon.S3.Model
Assembly: AWSSDK (in AWSSDK.dll) Version: 1.4.10.0 (1.4.10.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public class S3BucketLoggingConfig
Public Class S3BucketLoggingConfig
public ref class S3BucketLoggingConfig

Members

            
 All Members  Constructors   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
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
Gets and sets the Grants property.
RemoveGrant(S3Grantee)
Removes all permissions for the given grantee.
RemoveGrant(S3Grantee, S3Permission)
Removes a specific permission for the given grantee.
TargetBucketName
Gets and sets the TargetBucketName property.
TargetPrefix
Gets and sets the TargetPrefix property. The default value for the TargetPrefix is the 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>[]()[][])
Sets the Grants property.
WithTargetBucketName(String)
Sets the TargetBucketName property.
WithTargetPrefix(String)
Sets the TargetPrefix property. If no value is set for the property, the default value for the TargetPrefix is the empty string

Inheritance Hierarchy

System..::..Object
  Amazon.S3.Model..::..S3BucketLoggingConfig

See Also