Skip to content

Commit

Permalink
Update README.md (aws#7868)
Browse files Browse the repository at this point in the history
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
  • Loading branch information
abelmokadem and mergify[bot] authored May 11, 2020
1 parent fae80ed commit 18ada5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/@aws-cdk/core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -426,14 +426,14 @@ export class Sum extends Construct {
super(scope, id);

const resourceType = 'Custom::Sum';
const provider = CustomResourceProvider.getOrCreate(this, resourceType, {
const serviceToken = CustomResourceProvider.getOrCreate(this, resourceType, {
codeDirectory: `${__dirname}/sum-handler`,
runtime: CustomResourceProviderRuntime.NODEJS_12,
});

const resource = new CustomResource(this, 'Resource', {
resourceType: resourceType,
serviceToken: provider.serviceToken,
serviceToken: serviceToken,
properties: {
lhs: props.lhs,
rhs: props.rhs
Expand Down

0 comments on commit 18ada5e

Please sign in to comment.