AWSS3LoggingEnabled Class Reference

Inherits from AWSModel : AWSMTLModel
Declared in AWSS3Model.h
AWSS3Model.m

Overview

Container for logging information. Presence of this element indicates that logging is enabled. Parameters TargetBucket and TargetPrefix are required in this case. Required parameters: [TargetBucket, TargetPrefix]

  targetBucket

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.

@property (nonatomic, strong) NSString *targetBucket

Declared In

AWSS3Model.h

  targetGrants

@property (nonatomic, strong) NSArray<AWSS3TargetGrant*> *targetGrants

Declared In

AWSS3Model.h

  targetPrefix

This element lets you specify a prefix for the keys that the log files will be stored under.

@property (nonatomic, strong) NSString *targetPrefix

Declared In

AWSS3Model.h