From a367d91ea677c7b06f42c80f50d49749f11ee46a Mon Sep 17 00:00:00 2001 From: mtfurlan <1208858+mtfurlan@users.noreply.github.com> Date: Mon, 2 Oct 2023 12:09:16 -0400 Subject: [PATCH] docs(s3-deployment): dataJson should be jsonData (#27357) 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. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license* --- packages/aws-cdk-lib/aws-s3-deployment/lib/source.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/aws-cdk-lib/aws-s3-deployment/lib/source.ts b/packages/aws-cdk-lib/aws-s3-deployment/lib/source.ts index e47a3af8df892..da555ff24867b 100644 --- a/packages/aws-cdk-lib/aws-s3-deployment/lib/source.ts +++ b/packages/aws-cdk-lib/aws-s3-deployment/lib/source.ts @@ -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 {