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 (#29)

Adds SNS notification ARNs to the cloud-assembly-schema. Necessary for aws/aws-cdk#31107.
  • Loading branch information
comcalvi authored Sep 18, 2024
1 parent 97acb19 commit ae50133
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
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 ae50133

Please sign in to comment.