AWSS3LoggingEnabled

@interface AWSS3LoggingEnabled

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]

  • 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.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable targetBucket;

    Swift

    var targetBucket: String? { get set }
  • Declaration

    Objective-C

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

    Swift

    var targetGrants: [AWSS3TargetGrant]? { get set }
  • This element lets you specify a prefix for the keys that the log files will be stored under.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable targetPrefix;

    Swift

    var targetPrefix: String? { get set }