import * as pulumi from "@pulumi/pulumi"; /** * Activates Scaleway Messaging and Queuing SNS in a Project. * For further information, see * our [main documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/sns-overview/). * * ## Example Usage * * ### Basic * * Activate SNS in the default Project * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@ediri/scaleway"; * * const main = new scaleway.MnqSns("main", {}); * ``` * * Activate SNS in a specific Project * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@ediri/scaleway"; * import * as scaleway from "@pulumi/scaleway"; * * const project = scaleway.getAccountProject({ * name: "default", * }); * // For specific Project in default region * const forProject = new scaleway.MnqSns("forProject", {projectId: project.then(project => project.id)}); * ``` * * ## Import * * SNS status can be imported using `{region}/{project_id}`, e.g. * * bash * * ```sh * $ pulumi import scaleway:index/mnqSns:MnqSns main fr-par/11111111111111111111111111111111 * ``` */ export declare class MnqSns extends pulumi.CustomResource { /** * Get an existing MnqSns resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: MnqSnsState, opts?: pulumi.CustomResourceOptions): MnqSns; /** * Returns true if the given object is an instance of MnqSns. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is MnqSns; /** * The endpoint of the SNS service for this Project. */ readonly endpoint: pulumi.Output; /** * `projectId`) The ID of the project in which SNS will be enabled. */ readonly projectId: pulumi.Output; /** * `region`). The region * in which SNS will be enabled. */ readonly region: pulumi.Output; /** * Create a MnqSns resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args?: MnqSnsArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering MnqSns resources. */ export interface MnqSnsState { /** * The endpoint of the SNS service for this Project. */ endpoint?: pulumi.Input; /** * `projectId`) The ID of the project in which SNS will be enabled. */ projectId?: pulumi.Input; /** * `region`). The region * in which SNS will be enabled. */ region?: pulumi.Input; } /** * The set of arguments for constructing a MnqSns resource. */ export interface MnqSnsArgs { /** * `projectId`) The ID of the project in which SNS will be enabled. */ projectId?: pulumi.Input; /** * `region`). The region * in which SNS will be enabled. */ region?: pulumi.Input; }