Skip to content

Commit

Permalink
feat: configure SNS topics to receive stack events on the Stack const…
Browse files Browse the repository at this point in the history
…ruct (#58)

Reroll of #29 now that the release has been fixed.
  • Loading branch information
iliapolo authored Sep 18, 2024
1 parent f41d65c commit f4916ec
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .projen/tasks.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions lib/cloud-assembly/artifact-schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,13 @@ export interface AwsCloudFormationStackProperties {
*/
readonly tags?: { [id: string]: string };

/**
* SNS Notification ARNs that should receive CloudFormation Stack Events.
*
* @default - No notification arns
*/
readonly notificationArns?: string[];

/**
* The name to use for the CloudFormation stack.
* @default - name derived from artifact ID
Expand Down
7 changes: 7 additions & 0 deletions schema/cloud-assembly.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,13 @@
"type": "string"
}
},
"notificationArns": {
"description": "SNS Notification ARNs that should receive CloudFormation Stack Events. (Default - No notification arns)",
"type": "array",
"items": {
"type": "string"
}
},
"stackName": {
"description": "The name to use for the CloudFormation stack. (Default - name derived from artifact ID)",
"type": "string"
Expand Down

0 comments on commit f4916ec

Please sign in to comment.