@pulumiverse/scaleway
Version:
A Pulumi package for creating and managing Scaleway cloud resources.
114 lines • 3.89 kB
TypeScript
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/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 "@pulumiverse/scaleway";
*
* const main = new scaleway.mnq.Sns("main", {});
* ```
*
* Activate SNS in a specific Project
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scaleway from "@pulumiverse/scaleway";
*
* const project = scaleway.account.getProject({
* name: "default",
* });
* // For specific Project in default region
* const forProject = new scaleway.mnq.Sns("for_project", {projectId: project.then(project => project.id)});
* ```
*
* ## Import
*
* SNS status can be imported using `{region}/{project_id}`, e.g.
*
* ```sh
* $ pulumi import scaleway:index/mnqSns:MnqSns main fr-par/11111111111111111111111111111111
* ```
*
* @deprecated scaleway.index/mnqsns.MnqSns has been deprecated in favor of scaleway.mnq/sns.Sns
*/
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<pulumi.ID>, 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<string>;
/**
* `projectId`) The ID of the project in which SNS will be enabled.
*/
readonly projectId: pulumi.Output<string>;
/**
* `region`). The region
* in which SNS will be enabled.
*/
readonly region: pulumi.Output<string | undefined>;
/**
* 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.
*/
/** @deprecated scaleway.index/mnqsns.MnqSns has been deprecated in favor of scaleway.mnq/sns.Sns */
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<string | undefined>;
/**
* `projectId`) The ID of the project in which SNS will be enabled.
*/
projectId?: pulumi.Input<string | undefined>;
/**
* `region`). The region
* in which SNS will be enabled.
*/
region?: pulumi.Input<string | undefined>;
}
/**
* 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<string | undefined>;
/**
* `region`). The region
* in which SNS will be enabled.
*/
region?: pulumi.Input<string | undefined>;
}
//# sourceMappingURL=mnqSns.d.ts.map