Skip to content

Commit

Permalink
docs(s3 deployment source): fix dataJson -> jsonData
Browse files Browse the repository at this point in the history
The aws_s3_deployment.Source has jsonData and yamlData, but one of the
comments that generates documentation says dataJson and dataYaml, which
don't exist.
  • Loading branch information
mtfurlan committed Sep 29, 2023
1 parent a1f2ec2 commit 440bcef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/aws-cdk-lib/aws-s3-deployment/lib/source.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ export interface ISource {
* Source.asset('/local/path/to/directory')
* Source.asset('/local/path/to/a/file.zip')
* Source.data('hello/world/file.txt', 'Hello, world!')
* Source.dataJson('config.json', { baz: topic.topicArn })
* Source.dataYaml('config.yaml', { baz: topic.topicArn })
* Source.jsonData('config.json', { baz: topic.topicArn })
* Source.yamlData('config.yaml', { baz: topic.topicArn })
*
*/
export class Source {
Expand Down

0 comments on commit 440bcef

Please sign in to comment.