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 (#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 Dec 31, 2021
1 parent 7df4a58 commit e2cb83b
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 e2cb83b

Please sign in to comment.