Skip to content

Commit

Permalink
Merge pull request #6 from leonardzou/master
Browse files Browse the repository at this point in the history
add output for create user topic
  • Loading branch information
Guslington committed Apr 21, 2021
2 parents 06f9991 + 385f03c commit 88c7023
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions sftp.cfndsl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -209,8 +209,18 @@
}])
}

Output(:CreateDynamicSftpUserTopic) {
Value Ref(:CreateDynamicSftpUserTopic)
Export FnSub("${EnvironmentName}-#{external_parameters[:component_name]}-create-user-topic")
}

SNS_Topic(:DynamicSftpUserCreatedTopic)

Output(:DynamicSftpUserCreatedTopic) {
Value Ref(:DynamicSftpUserCreatedTopic)
Export FnSub("${EnvironmentName}-#{external_parameters[:component_name]}-user-created-topic")
}

Events_Rule(:CleanupUsersDailySchedule) {
ScheduleExpression 'rate(1 day)'
Targets([{
Expand Down

0 comments on commit 88c7023

Please sign in to comment.