Skip to content

Commit

Permalink
docs(lambda-python): Update default value for BundlingOptions.outputP…
Browse files Browse the repository at this point in the history
…athSuffix (aws#18231)

The current default value of `'''` is incorrect, and also causing the generated python for this module to have incorrect syntax, since `'''` is the mult-line comment delimiter in python. 


----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
madeline-k authored and TikiTDO committed Feb 21, 2022
1 parent 2650b8a commit 507c368
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/@aws-cdk/aws-lambda-python/lib/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import { AssetHashType, DockerImage } from '@aws-cdk/core';
*/
export interface BundlingOptions {
/**
* Output path suffix ('python' for a layer, '' otherwise)
* Output path suffix: the suffix for the directory into which the bundled output is written.
*
* @default '''
* @default - 'python' for a layer, empty string otherwise.
*/
readonly outputPathSuffix?: string;

Expand Down

0 comments on commit 507c368

Please sign in to comment.