@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-05-19T23:09:28.245Z") @Stability(value=Stable) public class UrlSubscription extends software.amazon.jsii.JsiiObject implements ITopicSubscription
The message will be POSTed to the given URL.
Example:
Topic myTopic = new Topic(this, "MyTopic"); myTopic.addSubscription(new UrlSubscription("https://foobar.com/"));
Modifier and Type | Class and Description |
---|---|
static class |
UrlSubscription.Builder
A fluent builder for
UrlSubscription . |
software.amazon.jsii.JsiiObject.InitializationMode
ITopicSubscription.Jsii$Default, ITopicSubscription.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
UrlSubscription(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
UrlSubscription(software.amazon.jsii.JsiiObjectRef objRef) |
|
UrlSubscription(String url) |
|
UrlSubscription(String url,
UrlSubscriptionProps props) |
Modifier and Type | Method and Description |
---|---|
TopicSubscriptionConfig |
bind(ITopic _topic)
Returns a configuration for a URL to subscribe to an SNS topic.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
protected UrlSubscription(software.amazon.jsii.JsiiObjectRef objRef)
protected UrlSubscription(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable) public UrlSubscription(@NotNull String url, @Nullable UrlSubscriptionProps props)
url
- This parameter is required.props
- @Stability(value=Stable) public UrlSubscription(@NotNull String url)
url
- This parameter is required.@Stability(value=Stable) @NotNull public TopicSubscriptionConfig bind(@NotNull ITopic _topic)
bind
in interface ITopicSubscription
_topic
- This parameter is required.Copyright © 2023. All rights reserved.