We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 16981a0 commit 3899a2aCopy full SHA for 3899a2a
packages/@aws-cdk/aws-s3/lib/bucket.ts
@@ -905,12 +905,13 @@ export interface BucketProps {
905
906
/**
907
* Destination bucket for the server access logs.
908
- * @default - Access logs are disabled
+ * @default - If "serverAccessLogsPrefix" undefined - access logs disabled, otherwise - log to current bucket.
909
*/
910
readonly serverAccessLogsBucket?: IBucket;
911
912
913
* Optional log file prefix to use for the bucket's access logs.
914
+ * If defined without "serverAccessLogsBucket", enables access logs to current bucket with this prefix.
915
* @default - No log file prefix
916
917
readonly serverAccessLogsPrefix?: string;
0 commit comments