scaleway.MnqSnsTopicSubscription
Explore with Pulumi AI
Manage Scaleway Messaging and queuing SNS Topic Subscriptions. For further information please check our documentation
Example Usage
Basic
import * as pulumi from "@pulumi/pulumi";
import * as scaleway from "@pulumiverse/scaleway";
// For default project in default region
const mainMnqSns = new scaleway.MnqSns("mainMnqSns", {});
const mainMnqSnsCredentials = new scaleway.MnqSnsCredentials("mainMnqSnsCredentials", {
projectId: mainMnqSns.projectId,
permissions: {
canManage: true,
canPublish: true,
canReceive: true,
},
});
const topic = new scaleway.MnqSnsTopic("topic", {
projectId: mainMnqSns.projectId,
accessKey: mainMnqSnsCredentials.accessKey,
secretKey: mainMnqSnsCredentials.secretKey,
});
const mainMnqSnsTopicSubscription = new scaleway.MnqSnsTopicSubscription("mainMnqSnsTopicSubscription", {
projectId: mainMnqSns.projectId,
accessKey: mainMnqSnsCredentials.accessKey,
secretKey: mainMnqSnsCredentials.secretKey,
topicId: topic.id,
protocol: "http",
endpoint: "http://example.com",
});
import pulumi
import pulumiverse_scaleway as scaleway
# For default project in default region
main_mnq_sns = scaleway.MnqSns("mainMnqSns")
main_mnq_sns_credentials = scaleway.MnqSnsCredentials("mainMnqSnsCredentials",
project_id=main_mnq_sns.project_id,
permissions=scaleway.MnqSnsCredentialsPermissionsArgs(
can_manage=True,
can_publish=True,
can_receive=True,
))
topic = scaleway.MnqSnsTopic("topic",
project_id=main_mnq_sns.project_id,
access_key=main_mnq_sns_credentials.access_key,
secret_key=main_mnq_sns_credentials.secret_key)
main_mnq_sns_topic_subscription = scaleway.MnqSnsTopicSubscription("mainMnqSnsTopicSubscription",
project_id=main_mnq_sns.project_id,
access_key=main_mnq_sns_credentials.access_key,
secret_key=main_mnq_sns_credentials.secret_key,
topic_id=topic.id,
protocol="http",
endpoint="http://example.com")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// For default project in default region
mainMnqSns, err := scaleway.NewMnqSns(ctx, "mainMnqSns", nil)
if err != nil {
return err
}
mainMnqSnsCredentials, err := scaleway.NewMnqSnsCredentials(ctx, "mainMnqSnsCredentials", &scaleway.MnqSnsCredentialsArgs{
ProjectId: mainMnqSns.ProjectId,
Permissions: &scaleway.MnqSnsCredentialsPermissionsArgs{
CanManage: pulumi.Bool(true),
CanPublish: pulumi.Bool(true),
CanReceive: pulumi.Bool(true),
},
})
if err != nil {
return err
}
topic, err := scaleway.NewMnqSnsTopic(ctx, "topic", &scaleway.MnqSnsTopicArgs{
ProjectId: mainMnqSns.ProjectId,
AccessKey: mainMnqSnsCredentials.AccessKey,
SecretKey: mainMnqSnsCredentials.SecretKey,
})
if err != nil {
return err
}
_, err = scaleway.NewMnqSnsTopicSubscription(ctx, "mainMnqSnsTopicSubscription", &scaleway.MnqSnsTopicSubscriptionArgs{
ProjectId: mainMnqSns.ProjectId,
AccessKey: mainMnqSnsCredentials.AccessKey,
SecretKey: mainMnqSnsCredentials.SecretKey,
TopicId: topic.ID(),
Protocol: pulumi.String("http"),
Endpoint: pulumi.String("http://example.com"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scaleway = Pulumiverse.Scaleway;
return await Deployment.RunAsync(() =>
{
// For default project in default region
var mainMnqSns = new Scaleway.MnqSns("mainMnqSns");
var mainMnqSnsCredentials = new Scaleway.MnqSnsCredentials("mainMnqSnsCredentials", new()
{
ProjectId = mainMnqSns.ProjectId,
Permissions = new Scaleway.Inputs.MnqSnsCredentialsPermissionsArgs
{
CanManage = true,
CanPublish = true,
CanReceive = true,
},
});
var topic = new Scaleway.MnqSnsTopic("topic", new()
{
ProjectId = mainMnqSns.ProjectId,
AccessKey = mainMnqSnsCredentials.AccessKey,
SecretKey = mainMnqSnsCredentials.SecretKey,
});
var mainMnqSnsTopicSubscription = new Scaleway.MnqSnsTopicSubscription("mainMnqSnsTopicSubscription", new()
{
ProjectId = mainMnqSns.ProjectId,
AccessKey = mainMnqSnsCredentials.AccessKey,
SecretKey = mainMnqSnsCredentials.SecretKey,
TopicId = topic.Id,
Protocol = "http",
Endpoint = "http://example.com",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.scaleway.MnqSns;
import com.pulumi.scaleway.MnqSnsCredentials;
import com.pulumi.scaleway.MnqSnsCredentialsArgs;
import com.pulumi.scaleway.inputs.MnqSnsCredentialsPermissionsArgs;
import com.pulumi.scaleway.MnqSnsTopic;
import com.pulumi.scaleway.MnqSnsTopicArgs;
import com.pulumi.scaleway.MnqSnsTopicSubscription;
import com.pulumi.scaleway.MnqSnsTopicSubscriptionArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
// For default project in default region
var mainMnqSns = new MnqSns("mainMnqSns");
var mainMnqSnsCredentials = new MnqSnsCredentials("mainMnqSnsCredentials", MnqSnsCredentialsArgs.builder()
.projectId(mainMnqSns.projectId())
.permissions(MnqSnsCredentialsPermissionsArgs.builder()
.canManage(true)
.canPublish(true)
.canReceive(true)
.build())
.build());
var topic = new MnqSnsTopic("topic", MnqSnsTopicArgs.builder()
.projectId(mainMnqSns.projectId())
.accessKey(mainMnqSnsCredentials.accessKey())
.secretKey(mainMnqSnsCredentials.secretKey())
.build());
var mainMnqSnsTopicSubscription = new MnqSnsTopicSubscription("mainMnqSnsTopicSubscription", MnqSnsTopicSubscriptionArgs.builder()
.projectId(mainMnqSns.projectId())
.accessKey(mainMnqSnsCredentials.accessKey())
.secretKey(mainMnqSnsCredentials.secretKey())
.topicId(topic.id())
.protocol("http")
.endpoint("http://example.com")
.build());
}
}
resources:
# For default project in default region
mainMnqSns:
type: scaleway:MnqSns
mainMnqSnsCredentials:
type: scaleway:MnqSnsCredentials
properties:
projectId: ${mainMnqSns.projectId}
permissions:
canManage: true
canPublish: true
canReceive: true
topic:
type: scaleway:MnqSnsTopic
properties:
projectId: ${mainMnqSns.projectId}
accessKey: ${mainMnqSnsCredentials.accessKey}
secretKey: ${mainMnqSnsCredentials.secretKey}
mainMnqSnsTopicSubscription:
type: scaleway:MnqSnsTopicSubscription
properties:
projectId: ${mainMnqSns.projectId}
accessKey: ${mainMnqSnsCredentials.accessKey}
secretKey: ${mainMnqSnsCredentials.secretKey}
topicId: ${topic.id}
protocol: http
endpoint: http://example.com
Create MnqSnsTopicSubscription Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new MnqSnsTopicSubscription(name: string, args: MnqSnsTopicSubscriptionArgs, opts?: CustomResourceOptions);
@overload
def MnqSnsTopicSubscription(resource_name: str,
args: MnqSnsTopicSubscriptionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def MnqSnsTopicSubscription(resource_name: str,
opts: Optional[ResourceOptions] = None,
access_key: Optional[str] = None,
protocol: Optional[str] = None,
secret_key: Optional[str] = None,
endpoint: Optional[str] = None,
project_id: Optional[str] = None,
redrive_policy: Optional[bool] = None,
region: Optional[str] = None,
sns_endpoint: Optional[str] = None,
topic_arn: Optional[str] = None,
topic_id: Optional[str] = None)
func NewMnqSnsTopicSubscription(ctx *Context, name string, args MnqSnsTopicSubscriptionArgs, opts ...ResourceOption) (*MnqSnsTopicSubscription, error)
public MnqSnsTopicSubscription(string name, MnqSnsTopicSubscriptionArgs args, CustomResourceOptions? opts = null)
public MnqSnsTopicSubscription(String name, MnqSnsTopicSubscriptionArgs args)
public MnqSnsTopicSubscription(String name, MnqSnsTopicSubscriptionArgs args, CustomResourceOptions options)
type: scaleway:MnqSnsTopicSubscription
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args MnqSnsTopicSubscriptionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args MnqSnsTopicSubscriptionArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args MnqSnsTopicSubscriptionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MnqSnsTopicSubscriptionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args MnqSnsTopicSubscriptionArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var mnqSnsTopicSubscriptionResource = new Scaleway.MnqSnsTopicSubscription("mnqSnsTopicSubscriptionResource", new()
{
AccessKey = "string",
Protocol = "string",
SecretKey = "string",
Endpoint = "string",
ProjectId = "string",
RedrivePolicy = false,
Region = "string",
SnsEndpoint = "string",
TopicArn = "string",
TopicId = "string",
});
example, err := scaleway.NewMnqSnsTopicSubscription(ctx, "mnqSnsTopicSubscriptionResource", &scaleway.MnqSnsTopicSubscriptionArgs{
AccessKey: pulumi.String("string"),
Protocol: pulumi.String("string"),
SecretKey: pulumi.String("string"),
Endpoint: pulumi.String("string"),
ProjectId: pulumi.String("string"),
RedrivePolicy: pulumi.Bool(false),
Region: pulumi.String("string"),
SnsEndpoint: pulumi.String("string"),
TopicArn: pulumi.String("string"),
TopicId: pulumi.String("string"),
})
var mnqSnsTopicSubscriptionResource = new MnqSnsTopicSubscription("mnqSnsTopicSubscriptionResource", MnqSnsTopicSubscriptionArgs.builder()
.accessKey("string")
.protocol("string")
.secretKey("string")
.endpoint("string")
.projectId("string")
.redrivePolicy(false)
.region("string")
.snsEndpoint("string")
.topicArn("string")
.topicId("string")
.build());
mnq_sns_topic_subscription_resource = scaleway.MnqSnsTopicSubscription("mnqSnsTopicSubscriptionResource",
access_key="string",
protocol="string",
secret_key="string",
endpoint="string",
project_id="string",
redrive_policy=False,
region="string",
sns_endpoint="string",
topic_arn="string",
topic_id="string")
const mnqSnsTopicSubscriptionResource = new scaleway.MnqSnsTopicSubscription("mnqSnsTopicSubscriptionResource", {
accessKey: "string",
protocol: "string",
secretKey: "string",
endpoint: "string",
projectId: "string",
redrivePolicy: false,
region: "string",
snsEndpoint: "string",
topicArn: "string",
topicId: "string",
});
type: scaleway:MnqSnsTopicSubscription
properties:
accessKey: string
endpoint: string
projectId: string
protocol: string
redrivePolicy: false
region: string
secretKey: string
snsEndpoint: string
topicArn: string
topicId: string
MnqSnsTopicSubscription Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The MnqSnsTopicSubscription resource accepts the following input properties:
- Access
Key string - The access key of the SNS credentials.
- Protocol string
- Protocol of the SNS Topic Subscription.
- Secret
Key string - The secret key of the SNS credentials.
- Endpoint string
- Endpoint of the subscription
- Project
Id string project_id
) The ID of the project the sns is enabled for.- Redrive
Policy bool - Activate JSON Redrive Policy.
- Region string
region
). The region in which sns is enabled.- Sns
Endpoint string - The endpoint of the SNS service. Can contain a {region} placeholder. Defaults to
https://sns.mnq.{region}.scaleway.com
. - Topic
Arn string - The ARN of the topic. Either
topic_id
ortopic_arn
is required. - Topic
Id string - The ID of the topic. Either
topic_id
ortopic_arn
is required. Conflicts withtopic_arn
.
- Access
Key string - The access key of the SNS credentials.
- Protocol string
- Protocol of the SNS Topic Subscription.
- Secret
Key string - The secret key of the SNS credentials.
- Endpoint string
- Endpoint of the subscription
- Project
Id string project_id
) The ID of the project the sns is enabled for.- Redrive
Policy bool - Activate JSON Redrive Policy.
- Region string
region
). The region in which sns is enabled.- Sns
Endpoint string - The endpoint of the SNS service. Can contain a {region} placeholder. Defaults to
https://sns.mnq.{region}.scaleway.com
. - Topic
Arn string - The ARN of the topic. Either
topic_id
ortopic_arn
is required. - Topic
Id string - The ID of the topic. Either
topic_id
ortopic_arn
is required. Conflicts withtopic_arn
.
- access
Key String - The access key of the SNS credentials.
- protocol String
- Protocol of the SNS Topic Subscription.
- secret
Key String - The secret key of the SNS credentials.
- endpoint String
- Endpoint of the subscription
- project
Id String project_id
) The ID of the project the sns is enabled for.- redrive
Policy Boolean - Activate JSON Redrive Policy.
- region String
region
). The region in which sns is enabled.- sns
Endpoint String - The endpoint of the SNS service. Can contain a {region} placeholder. Defaults to
https://sns.mnq.{region}.scaleway.com
. - topic
Arn String - The ARN of the topic. Either
topic_id
ortopic_arn
is required. - topic
Id String - The ID of the topic. Either
topic_id
ortopic_arn
is required. Conflicts withtopic_arn
.
- access
Key string - The access key of the SNS credentials.
- protocol string
- Protocol of the SNS Topic Subscription.
- secret
Key string - The secret key of the SNS credentials.
- endpoint string
- Endpoint of the subscription
- project
Id string project_id
) The ID of the project the sns is enabled for.- redrive
Policy boolean - Activate JSON Redrive Policy.
- region string
region
). The region in which sns is enabled.- sns
Endpoint string - The endpoint of the SNS service. Can contain a {region} placeholder. Defaults to
https://sns.mnq.{region}.scaleway.com
. - topic
Arn string - The ARN of the topic. Either
topic_id
ortopic_arn
is required. - topic
Id string - The ID of the topic. Either
topic_id
ortopic_arn
is required. Conflicts withtopic_arn
.
- access_
key str - The access key of the SNS credentials.
- protocol str
- Protocol of the SNS Topic Subscription.
- secret_
key str - The secret key of the SNS credentials.
- endpoint str
- Endpoint of the subscription
- project_
id str project_id
) The ID of the project the sns is enabled for.- redrive_
policy bool - Activate JSON Redrive Policy.
- region str
region
). The region in which sns is enabled.- sns_
endpoint str - The endpoint of the SNS service. Can contain a {region} placeholder. Defaults to
https://sns.mnq.{region}.scaleway.com
. - topic_
arn str - The ARN of the topic. Either
topic_id
ortopic_arn
is required. - topic_
id str - The ID of the topic. Either
topic_id
ortopic_arn
is required. Conflicts withtopic_arn
.
- access
Key String - The access key of the SNS credentials.
- protocol String
- Protocol of the SNS Topic Subscription.
- secret
Key String - The secret key of the SNS credentials.
- endpoint String
- Endpoint of the subscription
- project
Id String project_id
) The ID of the project the sns is enabled for.- redrive
Policy Boolean - Activate JSON Redrive Policy.
- region String
region
). The region in which sns is enabled.- sns
Endpoint String - The endpoint of the SNS service. Can contain a {region} placeholder. Defaults to
https://sns.mnq.{region}.scaleway.com
. - topic
Arn String - The ARN of the topic. Either
topic_id
ortopic_arn
is required. - topic
Id String - The ID of the topic. Either
topic_id
ortopic_arn
is required. Conflicts withtopic_arn
.
Outputs
All input properties are implicitly available as output properties. Additionally, the MnqSnsTopicSubscription resource produces the following output properties:
Look up Existing MnqSnsTopicSubscription Resource
Get an existing MnqSnsTopicSubscription resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: MnqSnsTopicSubscriptionState, opts?: CustomResourceOptions): MnqSnsTopicSubscription
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
access_key: Optional[str] = None,
arn: Optional[str] = None,
endpoint: Optional[str] = None,
project_id: Optional[str] = None,
protocol: Optional[str] = None,
redrive_policy: Optional[bool] = None,
region: Optional[str] = None,
secret_key: Optional[str] = None,
sns_endpoint: Optional[str] = None,
topic_arn: Optional[str] = None,
topic_id: Optional[str] = None) -> MnqSnsTopicSubscription
func GetMnqSnsTopicSubscription(ctx *Context, name string, id IDInput, state *MnqSnsTopicSubscriptionState, opts ...ResourceOption) (*MnqSnsTopicSubscription, error)
public static MnqSnsTopicSubscription Get(string name, Input<string> id, MnqSnsTopicSubscriptionState? state, CustomResourceOptions? opts = null)
public static MnqSnsTopicSubscription get(String name, Output<String> id, MnqSnsTopicSubscriptionState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Access
Key string - The access key of the SNS credentials.
- Arn string
- The ARN of the topic subscription
- Endpoint string
- Endpoint of the subscription
- Project
Id string project_id
) The ID of the project the sns is enabled for.- Protocol string
- Protocol of the SNS Topic Subscription.
- Redrive
Policy bool - Activate JSON Redrive Policy.
- Region string
region
). The region in which sns is enabled.- Secret
Key string - The secret key of the SNS credentials.
- Sns
Endpoint string - The endpoint of the SNS service. Can contain a {region} placeholder. Defaults to
https://sns.mnq.{region}.scaleway.com
. - Topic
Arn string - The ARN of the topic. Either
topic_id
ortopic_arn
is required. - Topic
Id string - The ID of the topic. Either
topic_id
ortopic_arn
is required. Conflicts withtopic_arn
.
- Access
Key string - The access key of the SNS credentials.
- Arn string
- The ARN of the topic subscription
- Endpoint string
- Endpoint of the subscription
- Project
Id string project_id
) The ID of the project the sns is enabled for.- Protocol string
- Protocol of the SNS Topic Subscription.
- Redrive
Policy bool - Activate JSON Redrive Policy.
- Region string
region
). The region in which sns is enabled.- Secret
Key string - The secret key of the SNS credentials.
- Sns
Endpoint string - The endpoint of the SNS service. Can contain a {region} placeholder. Defaults to
https://sns.mnq.{region}.scaleway.com
. - Topic
Arn string - The ARN of the topic. Either
topic_id
ortopic_arn
is required. - Topic
Id string - The ID of the topic. Either
topic_id
ortopic_arn
is required. Conflicts withtopic_arn
.
- access
Key String - The access key of the SNS credentials.
- arn String
- The ARN of the topic subscription
- endpoint String
- Endpoint of the subscription
- project
Id String project_id
) The ID of the project the sns is enabled for.- protocol String
- Protocol of the SNS Topic Subscription.
- redrive
Policy Boolean - Activate JSON Redrive Policy.
- region String
region
). The region in which sns is enabled.- secret
Key String - The secret key of the SNS credentials.
- sns
Endpoint String - The endpoint of the SNS service. Can contain a {region} placeholder. Defaults to
https://sns.mnq.{region}.scaleway.com
. - topic
Arn String - The ARN of the topic. Either
topic_id
ortopic_arn
is required. - topic
Id String - The ID of the topic. Either
topic_id
ortopic_arn
is required. Conflicts withtopic_arn
.
- access
Key string - The access key of the SNS credentials.
- arn string
- The ARN of the topic subscription
- endpoint string
- Endpoint of the subscription
- project
Id string project_id
) The ID of the project the sns is enabled for.- protocol string
- Protocol of the SNS Topic Subscription.
- redrive
Policy boolean - Activate JSON Redrive Policy.
- region string
region
). The region in which sns is enabled.- secret
Key string - The secret key of the SNS credentials.
- sns
Endpoint string - The endpoint of the SNS service. Can contain a {region} placeholder. Defaults to
https://sns.mnq.{region}.scaleway.com
. - topic
Arn string - The ARN of the topic. Either
topic_id
ortopic_arn
is required. - topic
Id string - The ID of the topic. Either
topic_id
ortopic_arn
is required. Conflicts withtopic_arn
.
- access_
key str - The access key of the SNS credentials.
- arn str
- The ARN of the topic subscription
- endpoint str
- Endpoint of the subscription
- project_
id str project_id
) The ID of the project the sns is enabled for.- protocol str
- Protocol of the SNS Topic Subscription.
- redrive_
policy bool - Activate JSON Redrive Policy.
- region str
region
). The region in which sns is enabled.- secret_
key str - The secret key of the SNS credentials.
- sns_
endpoint str - The endpoint of the SNS service. Can contain a {region} placeholder. Defaults to
https://sns.mnq.{region}.scaleway.com
. - topic_
arn str - The ARN of the topic. Either
topic_id
ortopic_arn
is required. - topic_
id str - The ID of the topic. Either
topic_id
ortopic_arn
is required. Conflicts withtopic_arn
.
- access
Key String - The access key of the SNS credentials.
- arn String
- The ARN of the topic subscription
- endpoint String
- Endpoint of the subscription
- project
Id String project_id
) The ID of the project the sns is enabled for.- protocol String
- Protocol of the SNS Topic Subscription.
- redrive
Policy Boolean - Activate JSON Redrive Policy.
- region String
region
). The region in which sns is enabled.- secret
Key String - The secret key of the SNS credentials.
- sns
Endpoint String - The endpoint of the SNS service. Can contain a {region} placeholder. Defaults to
https://sns.mnq.{region}.scaleway.com
. - topic
Arn String - The ARN of the topic. Either
topic_id
ortopic_arn
is required. - topic
Id String - The ID of the topic. Either
topic_id
ortopic_arn
is required. Conflicts withtopic_arn
.
Import
SNS topic subscriptions can be imported using the {region}/{project-id}/{topic-name}/{subscription-id}
, e.g.
bash
$ pulumi import scaleway:index/mnqSnsTopicSubscription:MnqSnsTopicSubscription main fr-par/11111111111111111111111111111111/my-topic/11111111111111111111111111111111
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- scaleway pulumiverse/pulumi-scaleway
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scaleway
Terraform Provider.