Skip to content

Commit 97616d0

Browse files
authored
chore(slack-app): improve README (#137)
1 parent b1cc338 commit 97616d0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/slack-app/README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,14 @@ export class MyStack extends Stack {
1717

1818
new cloudstructs.SlackApp(this, 'MyApp', {
1919
configurationTokenSecret: secretsmanager.Secret.fromSecretNameV2(this, 'Secret', 'slack-app-config-token'),
20-
manifest: JSON.stringify({
20+
manifest: Stack.of(this).toJsonString({
2121
display_information: {
2222
name: 'My App',
2323
description: 'A very cool Slack App deployed with CDK',
24+
settings:
25+
interactivity:
26+
is_enabled: true
27+
request_url: myApi.url // reference other construct's properties
2428
},
2529
}),
2630
});

0 commit comments

Comments
 (0)