From b2ea54589bbd6efa9ff400b04d4c17abefb2f468 Mon Sep 17 00:00:00 2001 From: Rico Huijbers Date: Thu, 21 Feb 2019 14:43:44 +0100 Subject: [PATCH] fix(init): add new parameter to C# example (#1831) --- .../lib/init-templates/app/csharp/src/HelloCdk/HelloStack.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/aws-cdk/lib/init-templates/app/csharp/src/HelloCdk/HelloStack.cs b/packages/aws-cdk/lib/init-templates/app/csharp/src/HelloCdk/HelloStack.cs index 091fc4d0e2276..e390bf78da6ee 100644 --- a/packages/aws-cdk/lib/init-templates/app/csharp/src/HelloCdk/HelloStack.cs +++ b/packages/aws-cdk/lib/init-templates/app/csharp/src/HelloCdk/HelloStack.cs @@ -20,7 +20,7 @@ public HelloStack(App parent, string name, IStackProps props) : base(parent, nam DisplayName = "My First Topic Yeah" }); - topic.SubscribeQueue(queue); + topic.SubscribeQueue(queue, null); // You can also define your own constructs and use them in your stack. HelloConstruct hello = new HelloConstruct(this, "Buckets", new HelloConstructProps() @@ -28,7 +28,7 @@ public HelloStack(App parent, string name, IStackProps props) : base(parent, nam BucketCount = 5 }); - // Create a new user with read access to the HelloConstruct resource. + // Create a new user with read access to the HelloConstruct resource. User user = new User(this, "MyUser", new UserProps()); hello.GrantRead(user); }