1. Packages
  2. Scaleway
  3. API Docs
  4. MnqSnsTopicSubscription
Scaleway v1.26.0 published on Friday, Mar 28, 2025 by pulumiverse

scaleway.MnqSnsTopicSubscription

Explore with Pulumi AI

Deprecated: scaleway.index/mnqsnstopicsubscription.MnqSnsTopicSubscription has been deprecated in favor of scaleway.mnq/snstopicsubscription.SnsTopicSubscription

Manages Scaleway Messaging and Queuing SNS topic subscriptions. For further information, see our main documentation.

Example Usage

Basic

import * as pulumi from "@pulumi/pulumi";
import * as scaleway from "@pulumiverse/scaleway";

// For default project in default region
const main = new scaleway.mnq.Sns("main", {});
const mainSnsCredentials = new scaleway.mnq.SnsCredentials("main", {
    projectId: main.projectId,
    permissions: {
        canManage: true,
        canPublish: true,
        canReceive: true,
    },
});
const topic = new scaleway.mnq.SnsTopic("topic", {
    projectId: main.projectId,
    name: "my-topic",
    accessKey: mainSnsCredentials.accessKey,
    secretKey: mainSnsCredentials.secretKey,
});
const mainSnsTopicSubscription = new scaleway.mnq.SnsTopicSubscription("main", {
    projectId: main.projectId,
    accessKey: mainSnsCredentials.accessKey,
    secretKey: mainSnsCredentials.secretKey,
    topicId: topic.id,
    protocol: "http",
    endpoint: "http://example.com",
});
Copy
import pulumi
import pulumiverse_scaleway as scaleway

# For default project in default region
main = scaleway.mnq.Sns("main")
main_sns_credentials = scaleway.mnq.SnsCredentials("main",
    project_id=main.project_id,
    permissions={
        "can_manage": True,
        "can_publish": True,
        "can_receive": True,
    })
topic = scaleway.mnq.SnsTopic("topic",
    project_id=main.project_id,
    name="my-topic",
    access_key=main_sns_credentials.access_key,
    secret_key=main_sns_credentials.secret_key)
main_sns_topic_subscription = scaleway.mnq.SnsTopicSubscription("main",
    project_id=main.project_id,
    access_key=main_sns_credentials.access_key,
    secret_key=main_sns_credentials.secret_key,
    topic_id=topic.id,
    protocol="http",
    endpoint="http://example.com")
Copy
package main

import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/mnq"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// For default project in default region
		main, err := mnq.NewSns(ctx, "main", nil)
		if err != nil {
			return err
		}
		mainSnsCredentials, err := mnq.NewSnsCredentials(ctx, "main", &mnq.SnsCredentialsArgs{
			ProjectId: main.ProjectId,
			Permissions: &mnq.SnsCredentialsPermissionsArgs{
				CanManage:  pulumi.Bool(true),
				CanPublish: pulumi.Bool(true),
				CanReceive: pulumi.Bool(true),
			},
		})
		if err != nil {
			return err
		}
		topic, err := mnq.NewSnsTopic(ctx, "topic", &mnq.SnsTopicArgs{
			ProjectId: main.ProjectId,
			Name:      pulumi.String("my-topic"),
			AccessKey: mainSnsCredentials.AccessKey,
			SecretKey: mainSnsCredentials.SecretKey,
		})
		if err != nil {
			return err
		}
		_, err = mnq.NewSnsTopicSubscription(ctx, "main", &mnq.SnsTopicSubscriptionArgs{
			ProjectId: main.ProjectId,
			AccessKey: mainSnsCredentials.AccessKey,
			SecretKey: mainSnsCredentials.SecretKey,
			TopicId:   topic.ID(),
			Protocol:  pulumi.String("http"),
			Endpoint:  pulumi.String("http://example.com"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scaleway = Pulumiverse.Scaleway;

return await Deployment.RunAsync(() => 
{
    // For default project in default region
    var main = new Scaleway.Mnq.Sns("main");

    var mainSnsCredentials = new Scaleway.Mnq.SnsCredentials("main", new()
    {
        ProjectId = main.ProjectId,
        Permissions = new Scaleway.Mnq.Inputs.SnsCredentialsPermissionsArgs
        {
            CanManage = true,
            CanPublish = true,
            CanReceive = true,
        },
    });

    var topic = new Scaleway.Mnq.SnsTopic("topic", new()
    {
        ProjectId = main.ProjectId,
        Name = "my-topic",
        AccessKey = mainSnsCredentials.AccessKey,
        SecretKey = mainSnsCredentials.SecretKey,
    });

    var mainSnsTopicSubscription = new Scaleway.Mnq.SnsTopicSubscription("main", new()
    {
        ProjectId = main.ProjectId,
        AccessKey = mainSnsCredentials.AccessKey,
        SecretKey = mainSnsCredentials.SecretKey,
        TopicId = topic.Id,
        Protocol = "http",
        Endpoint = "http://example.com",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.scaleway.mnq.Sns;
import com.pulumi.scaleway.mnq.SnsCredentials;
import com.pulumi.scaleway.mnq.SnsCredentialsArgs;
import com.pulumi.scaleway.mnq.inputs.SnsCredentialsPermissionsArgs;
import com.pulumi.scaleway.mnq.SnsTopic;
import com.pulumi.scaleway.mnq.SnsTopicArgs;
import com.pulumi.scaleway.mnq.SnsTopicSubscription;
import com.pulumi.scaleway.mnq.SnsTopicSubscriptionArgs;
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 main = new Sns("main");

        var mainSnsCredentials = new SnsCredentials("mainSnsCredentials", SnsCredentialsArgs.builder()
            .projectId(main.projectId())
            .permissions(SnsCredentialsPermissionsArgs.builder()
                .canManage(true)
                .canPublish(true)
                .canReceive(true)
                .build())
            .build());

        var topic = new SnsTopic("topic", SnsTopicArgs.builder()
            .projectId(main.projectId())
            .name("my-topic")
            .accessKey(mainSnsCredentials.accessKey())
            .secretKey(mainSnsCredentials.secretKey())
            .build());

        var mainSnsTopicSubscription = new SnsTopicSubscription("mainSnsTopicSubscription", SnsTopicSubscriptionArgs.builder()
            .projectId(main.projectId())
            .accessKey(mainSnsCredentials.accessKey())
            .secretKey(mainSnsCredentials.secretKey())
            .topicId(topic.id())
            .protocol("http")
            .endpoint("http://example.com")
            .build());

    }
}
Copy
resources:
  # For default project in default region
  main:
    type: scaleway:mnq:Sns
  mainSnsCredentials:
    type: scaleway:mnq:SnsCredentials
    name: main
    properties:
      projectId: ${main.projectId}
      permissions:
        canManage: true
        canPublish: true
        canReceive: true
  topic:
    type: scaleway:mnq:SnsTopic
    properties:
      projectId: ${main.projectId}
      name: my-topic
      accessKey: ${mainSnsCredentials.accessKey}
      secretKey: ${mainSnsCredentials.secretKey}
  mainSnsTopicSubscription:
    type: scaleway:mnq:SnsTopicSubscription
    name: main
    properties:
      projectId: ${main.projectId}
      accessKey: ${mainSnsCredentials.accessKey}
      secretKey: ${mainSnsCredentials.secretKey}
      topicId: ${topic.id}
      protocol: http
      endpoint: http://example.com
Copy

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,
                            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)
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 This property is required. string
The unique name of the resource.
args This property is required. MnqSnsTopicSubscriptionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. 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 This property is required. string
The unique name of the resource.
args This property is required. MnqSnsTopicSubscriptionArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. MnqSnsTopicSubscriptionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. MnqSnsTopicSubscriptionArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

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

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The MnqSnsTopicSubscription resource accepts the following input properties:

AccessKey
This property is required.
Changes to this property will trigger replacement.
string
The access key of the SNS credentials.
Protocol
This property is required.
Changes to this property will trigger replacement.
string
Protocol of the SNS topic subscription.
SecretKey
This property is required.
Changes to this property will trigger replacement.
string
The secret key of the SNS credentials.
Endpoint Changes to this property will trigger replacement. string
Endpoint of the subscription
ProjectId Changes to this property will trigger replacement. string
project_id) The ID of the Project in which SNS is enabled.
RedrivePolicy Changes to this property will trigger replacement. bool
Activate JSON redrive policy.
Region Changes to this property will trigger replacement. string
region). The region in which SNS is enabled.
SnsEndpoint Changes to this property will trigger replacement. string
The endpoint of the SNS service. Can contain a {region} placeholder. Defaults to https://sns.mnq.{region}.scaleway.com.
TopicArn Changes to this property will trigger replacement. string
The ARN of the topic. Either topic_id or topic_arn is required.
TopicId Changes to this property will trigger replacement. string
The ID of the topic. Either topic_id or topic_arn is required. Conflicts with topic_arn.
AccessKey
This property is required.
Changes to this property will trigger replacement.
string
The access key of the SNS credentials.
Protocol
This property is required.
Changes to this property will trigger replacement.
string
Protocol of the SNS topic subscription.
SecretKey
This property is required.
Changes to this property will trigger replacement.
string
The secret key of the SNS credentials.
Endpoint Changes to this property will trigger replacement. string
Endpoint of the subscription
ProjectId Changes to this property will trigger replacement. string
project_id) The ID of the Project in which SNS is enabled.
RedrivePolicy Changes to this property will trigger replacement. bool
Activate JSON redrive policy.
Region Changes to this property will trigger replacement. string
region). The region in which SNS is enabled.
SnsEndpoint Changes to this property will trigger replacement. string
The endpoint of the SNS service. Can contain a {region} placeholder. Defaults to https://sns.mnq.{region}.scaleway.com.
TopicArn Changes to this property will trigger replacement. string
The ARN of the topic. Either topic_id or topic_arn is required.
TopicId Changes to this property will trigger replacement. string
The ID of the topic. Either topic_id or topic_arn is required. Conflicts with topic_arn.
accessKey
This property is required.
Changes to this property will trigger replacement.
String
The access key of the SNS credentials.
protocol
This property is required.
Changes to this property will trigger replacement.
String
Protocol of the SNS topic subscription.
secretKey
This property is required.
Changes to this property will trigger replacement.
String
The secret key of the SNS credentials.
endpoint Changes to this property will trigger replacement. String
Endpoint of the subscription
projectId Changes to this property will trigger replacement. String
project_id) The ID of the Project in which SNS is enabled.
redrivePolicy Changes to this property will trigger replacement. Boolean
Activate JSON redrive policy.
region Changes to this property will trigger replacement. String
region). The region in which SNS is enabled.
snsEndpoint Changes to this property will trigger replacement. String
The endpoint of the SNS service. Can contain a {region} placeholder. Defaults to https://sns.mnq.{region}.scaleway.com.
topicArn Changes to this property will trigger replacement. String
The ARN of the topic. Either topic_id or topic_arn is required.
topicId Changes to this property will trigger replacement. String
The ID of the topic. Either topic_id or topic_arn is required. Conflicts with topic_arn.
accessKey
This property is required.
Changes to this property will trigger replacement.
string
The access key of the SNS credentials.
protocol
This property is required.
Changes to this property will trigger replacement.
string
Protocol of the SNS topic subscription.
secretKey
This property is required.
Changes to this property will trigger replacement.
string
The secret key of the SNS credentials.
endpoint Changes to this property will trigger replacement. string
Endpoint of the subscription
projectId Changes to this property will trigger replacement. string
project_id) The ID of the Project in which SNS is enabled.
redrivePolicy Changes to this property will trigger replacement. boolean
Activate JSON redrive policy.
region Changes to this property will trigger replacement. string
region). The region in which SNS is enabled.
snsEndpoint Changes to this property will trigger replacement. string
The endpoint of the SNS service. Can contain a {region} placeholder. Defaults to https://sns.mnq.{region}.scaleway.com.
topicArn Changes to this property will trigger replacement. string
The ARN of the topic. Either topic_id or topic_arn is required.
topicId Changes to this property will trigger replacement. string
The ID of the topic. Either topic_id or topic_arn is required. Conflicts with topic_arn.
access_key
This property is required.
Changes to this property will trigger replacement.
str
The access key of the SNS credentials.
protocol
This property is required.
Changes to this property will trigger replacement.
str
Protocol of the SNS topic subscription.
secret_key
This property is required.
Changes to this property will trigger replacement.
str
The secret key of the SNS credentials.
endpoint Changes to this property will trigger replacement. str
Endpoint of the subscription
project_id Changes to this property will trigger replacement. str
project_id) The ID of the Project in which SNS is enabled.
redrive_policy Changes to this property will trigger replacement. bool
Activate JSON redrive policy.
region Changes to this property will trigger replacement. str
region). The region in which SNS is enabled.
sns_endpoint Changes to this property will trigger replacement. str
The endpoint of the SNS service. Can contain a {region} placeholder. Defaults to https://sns.mnq.{region}.scaleway.com.
topic_arn Changes to this property will trigger replacement. str
The ARN of the topic. Either topic_id or topic_arn is required.
topic_id Changes to this property will trigger replacement. str
The ID of the topic. Either topic_id or topic_arn is required. Conflicts with topic_arn.
accessKey
This property is required.
Changes to this property will trigger replacement.
String
The access key of the SNS credentials.
protocol
This property is required.
Changes to this property will trigger replacement.
String
Protocol of the SNS topic subscription.
secretKey
This property is required.
Changes to this property will trigger replacement.
String
The secret key of the SNS credentials.
endpoint Changes to this property will trigger replacement. String
Endpoint of the subscription
projectId Changes to this property will trigger replacement. String
project_id) The ID of the Project in which SNS is enabled.
redrivePolicy Changes to this property will trigger replacement. Boolean
Activate JSON redrive policy.
region Changes to this property will trigger replacement. String
region). The region in which SNS is enabled.
snsEndpoint Changes to this property will trigger replacement. String
The endpoint of the SNS service. Can contain a {region} placeholder. Defaults to https://sns.mnq.{region}.scaleway.com.
topicArn Changes to this property will trigger replacement. String
The ARN of the topic. Either topic_id or topic_arn is required.
topicId Changes to this property will trigger replacement. String
The ID of the topic. Either topic_id or topic_arn is required. Conflicts with topic_arn.

Outputs

All input properties are implicitly available as output properties. Additionally, the MnqSnsTopicSubscription resource produces the following output properties:

Arn string
The ARN of the topic subscription
Id string
The provider-assigned unique ID for this managed resource.
Arn string
The ARN of the topic subscription
Id string
The provider-assigned unique ID for this managed resource.
arn String
The ARN of the topic subscription
id String
The provider-assigned unique ID for this managed resource.
arn string
The ARN of the topic subscription
id string
The provider-assigned unique ID for this managed resource.
arn str
The ARN of the topic subscription
id str
The provider-assigned unique ID for this managed resource.
arn String
The ARN of the topic subscription
id String
The provider-assigned unique ID for this managed resource.

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)
resources:  _:    type: scaleway:MnqSnsTopicSubscription    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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.
The following state arguments are supported:
AccessKey Changes to this property will trigger replacement. string
The access key of the SNS credentials.
Arn string
The ARN of the topic subscription
Endpoint Changes to this property will trigger replacement. string
Endpoint of the subscription
ProjectId Changes to this property will trigger replacement. string
project_id) The ID of the Project in which SNS is enabled.
Protocol Changes to this property will trigger replacement. string
Protocol of the SNS topic subscription.
RedrivePolicy Changes to this property will trigger replacement. bool
Activate JSON redrive policy.
Region Changes to this property will trigger replacement. string
region). The region in which SNS is enabled.
SecretKey Changes to this property will trigger replacement. string
The secret key of the SNS credentials.
SnsEndpoint Changes to this property will trigger replacement. string
The endpoint of the SNS service. Can contain a {region} placeholder. Defaults to https://sns.mnq.{region}.scaleway.com.
TopicArn Changes to this property will trigger replacement. string
The ARN of the topic. Either topic_id or topic_arn is required.
TopicId Changes to this property will trigger replacement. string
The ID of the topic. Either topic_id or topic_arn is required. Conflicts with topic_arn.
AccessKey Changes to this property will trigger replacement. string
The access key of the SNS credentials.
Arn string
The ARN of the topic subscription
Endpoint Changes to this property will trigger replacement. string
Endpoint of the subscription
ProjectId Changes to this property will trigger replacement. string
project_id) The ID of the Project in which SNS is enabled.
Protocol Changes to this property will trigger replacement. string
Protocol of the SNS topic subscription.
RedrivePolicy Changes to this property will trigger replacement. bool
Activate JSON redrive policy.
Region Changes to this property will trigger replacement. string
region). The region in which SNS is enabled.
SecretKey Changes to this property will trigger replacement. string
The secret key of the SNS credentials.
SnsEndpoint Changes to this property will trigger replacement. string
The endpoint of the SNS service. Can contain a {region} placeholder. Defaults to https://sns.mnq.{region}.scaleway.com.
TopicArn Changes to this property will trigger replacement. string
The ARN of the topic. Either topic_id or topic_arn is required.
TopicId Changes to this property will trigger replacement. string
The ID of the topic. Either topic_id or topic_arn is required. Conflicts with topic_arn.
accessKey Changes to this property will trigger replacement. String
The access key of the SNS credentials.
arn String
The ARN of the topic subscription
endpoint Changes to this property will trigger replacement. String
Endpoint of the subscription
projectId Changes to this property will trigger replacement. String
project_id) The ID of the Project in which SNS is enabled.
protocol Changes to this property will trigger replacement. String
Protocol of the SNS topic subscription.
redrivePolicy Changes to this property will trigger replacement. Boolean
Activate JSON redrive policy.
region Changes to this property will trigger replacement. String
region). The region in which SNS is enabled.
secretKey Changes to this property will trigger replacement. String
The secret key of the SNS credentials.
snsEndpoint Changes to this property will trigger replacement. String
The endpoint of the SNS service. Can contain a {region} placeholder. Defaults to https://sns.mnq.{region}.scaleway.com.
topicArn Changes to this property will trigger replacement. String
The ARN of the topic. Either topic_id or topic_arn is required.
topicId Changes to this property will trigger replacement. String
The ID of the topic. Either topic_id or topic_arn is required. Conflicts with topic_arn.
accessKey Changes to this property will trigger replacement. string
The access key of the SNS credentials.
arn string
The ARN of the topic subscription
endpoint Changes to this property will trigger replacement. string
Endpoint of the subscription
projectId Changes to this property will trigger replacement. string
project_id) The ID of the Project in which SNS is enabled.
protocol Changes to this property will trigger replacement. string
Protocol of the SNS topic subscription.
redrivePolicy Changes to this property will trigger replacement. boolean
Activate JSON redrive policy.
region Changes to this property will trigger replacement. string
region). The region in which SNS is enabled.
secretKey Changes to this property will trigger replacement. string
The secret key of the SNS credentials.
snsEndpoint Changes to this property will trigger replacement. string
The endpoint of the SNS service. Can contain a {region} placeholder. Defaults to https://sns.mnq.{region}.scaleway.com.
topicArn Changes to this property will trigger replacement. string
The ARN of the topic. Either topic_id or topic_arn is required.
topicId Changes to this property will trigger replacement. string
The ID of the topic. Either topic_id or topic_arn is required. Conflicts with topic_arn.
access_key Changes to this property will trigger replacement. str
The access key of the SNS credentials.
arn str
The ARN of the topic subscription
endpoint Changes to this property will trigger replacement. str
Endpoint of the subscription
project_id Changes to this property will trigger replacement. str
project_id) The ID of the Project in which SNS is enabled.
protocol Changes to this property will trigger replacement. str
Protocol of the SNS topic subscription.
redrive_policy Changes to this property will trigger replacement. bool
Activate JSON redrive policy.
region Changes to this property will trigger replacement. str
region). The region in which SNS is enabled.
secret_key Changes to this property will trigger replacement. str
The secret key of the SNS credentials.
sns_endpoint Changes to this property will trigger replacement. str
The endpoint of the SNS service. Can contain a {region} placeholder. Defaults to https://sns.mnq.{region}.scaleway.com.
topic_arn Changes to this property will trigger replacement. str
The ARN of the topic. Either topic_id or topic_arn is required.
topic_id Changes to this property will trigger replacement. str
The ID of the topic. Either topic_id or topic_arn is required. Conflicts with topic_arn.
accessKey Changes to this property will trigger replacement. String
The access key of the SNS credentials.
arn String
The ARN of the topic subscription
endpoint Changes to this property will trigger replacement. String
Endpoint of the subscription
projectId Changes to this property will trigger replacement. String
project_id) The ID of the Project in which SNS is enabled.
protocol Changes to this property will trigger replacement. String
Protocol of the SNS topic subscription.
redrivePolicy Changes to this property will trigger replacement. Boolean
Activate JSON redrive policy.
region Changes to this property will trigger replacement. String
region). The region in which SNS is enabled.
secretKey Changes to this property will trigger replacement. String
The secret key of the SNS credentials.
snsEndpoint Changes to this property will trigger replacement. String
The endpoint of the SNS service. Can contain a {region} placeholder. Defaults to https://sns.mnq.{region}.scaleway.com.
topicArn Changes to this property will trigger replacement. String
The ARN of the topic. Either topic_id or topic_arn is required.
topicId Changes to this property will trigger replacement. String
The ID of the topic. Either topic_id or topic_arn is required. Conflicts with topic_arn.

Import

SNS topic subscriptions can be imported using {region}/{project-id}/{topic-name}/{subscription-id}, e.g.

bash

$ pulumi import scaleway:index/mnqSnsTopicSubscription:MnqSnsTopicSubscription main fr-par/11111111111111111111111111111111/my-topic/11111111111111111111111111111111
Copy

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.