Skip to content

Commit

Permalink
update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
robertd committed Feb 25, 2021
1 parent c9bb995 commit 6698295
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/@aws-cdk/core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,7 @@ stack-unique identifier and returns the service token:
const serviceToken = CustomResourceProvider.getOrCreate(this, 'Custom::MyCustomResourceType', {
codeDirectory: `${__dirname}/my-handler`,
runtime: CustomResourceProviderRuntime.NODEJS_12, // currently the only supported runtime
description: "Lambda function created by custom resource provider",
});

new CustomResource(this, 'MyResource', {
Expand Down

0 comments on commit 6698295

Please sign in to comment.