@pulumiverse/scaleway
Version:
A Pulumi package for creating and managing Scaleway cloud resources.
83 lines • 2.12 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Gets information about SNS for a Project
*
* ## Examples
*
* ### Basic
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scaleway from "@pulumiverse/scaleway";
*
* // For default project
* const main = scaleway.mnq.getSns({});
* // For specific project
* const forProject = scaleway.mnq.getSns({
* projectId: mainScalewayAccountProject.id,
* });
* ```
*/
export declare function getSns(args?: GetSnsArgs, opts?: pulumi.InvokeOptions): Promise<GetSnsResult>;
/**
* A collection of arguments for invoking getSns.
*/
export interface GetSnsArgs {
/**
* `projectId`) The ID of the Project in which sns is enabled.
*/
projectId?: string;
/**
* `region`). The region in which sns is enabled.
*/
region?: string;
}
/**
* A collection of values returned by getSns.
*/
export interface GetSnsResult {
/**
* The endpoint of the SNS service for this Project.
*/
readonly endpoint: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly projectId?: string;
readonly region?: string;
}
/**
* Gets information about SNS for a Project
*
* ## Examples
*
* ### Basic
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scaleway from "@pulumiverse/scaleway";
*
* // For default project
* const main = scaleway.mnq.getSns({});
* // For specific project
* const forProject = scaleway.mnq.getSns({
* projectId: mainScalewayAccountProject.id,
* });
* ```
*/
export declare function getSnsOutput(args?: GetSnsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSnsResult>;
/**
* A collection of arguments for invoking getSns.
*/
export interface GetSnsOutputArgs {
/**
* `projectId`) The ID of the Project in which sns is enabled.
*/
projectId?: pulumi.Input<string | undefined>;
/**
* `region`). The region in which sns is enabled.
*/
region?: pulumi.Input<string | undefined>;
}
//# sourceMappingURL=getSns.d.ts.map