Compartilhar via


SNSResourceExtensions Class

Definition

Provides extension methods for adding Amazon SNS resources to the application model.

public static class SNSResourceExtensions
type SNSResourceExtensions = class
Public Module SNSResourceExtensions
Inheritance
SNSResourceExtensions

Methods

AddSNSTopic(IResourceBuilder<IStackResource>, String, ITopicProps)

Adds an Amazon SNS topic.

AddSubscription(IResourceBuilder<IConstructResource<Topic>>, IResourceBuilder<IConstructResource<IQueue>>, SqsSubscriptionProps)

Subscribe some endpoint to this topic.

WithReference<TDestination>(IResourceBuilder<TDestination>, IResourceBuilder<IConstructResource<Topic>>, String)

Adds a reference of an Amazon SNS topic to a project. The output parameters of the topic are added to the project IConfiguration.

Applies to