Skip to content

Commit

Permalink
fix(init): add new parameter to C# example (#1831)
Browse files Browse the repository at this point in the history
  • Loading branch information
rix0rrr authored Feb 21, 2019
1 parent 4d8419b commit c7b99d8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ 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()
{
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);
}
Expand Down

0 comments on commit c7b99d8

Please sign in to comment.