Skip to content

Comments

fix: sns builder#20

Merged
edgarfgp merged 1 commit intomainfrom
fix-sns-builder
Dec 2, 2025
Merged

fix: sns builder#20
edgarfgp merged 1 commit intomainfrom
fix-sns-builder

Conversation

@edgarfgp
Copy link
Collaborator

@edgarfgp edgarfgp commented Dec 1, 2025

No description provided.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes the SNS topic builder functionality by enabling topic resources to be bound and used within computation expressions. The changes implement the missing binding support that allows topics to be referenced in subsequent stack operations, similar to how queues and other resources work.

Key Changes:

  • Added support for binding topic resources in stack builder computation expressions via new Bind method
  • Extended TopicBuilder with 7 new AWS SNS configuration properties (encryption, logging, tracing, etc.)
  • Fixed TopicSpec to store the created ITopic instance for later reference

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/Stack.fs Added Topic resource capture in processOperation and new Bind method for TopicSpec to enable topic binding in stack builder expressions
src/SNS.fs Extended TopicConfig/TopicSpec with 7 additional SNS properties (EnforceSSL, FifoThroughputScope, LoggingConfigs, MasterKey, MessageRetentionPeriodInDays, SignatureVersion, TracingConfig) and corresponding builder methods with documentation

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@edgarfgp edgarfgp marked this pull request as ready for review December 2, 2025 13:25
@edgarfgp edgarfgp merged commit 70140f4 into main Dec 2, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant