import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Creates and manages Scaleway Messaging and Queuing SQS credentials. * For further information, see * our [main documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/sqs-overview/) * * ## Example Usage * * ### Basic * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@ediri/scaleway"; * * const mainMnqSqs = new scaleway.MnqSqs("mainMnqSqs", {}); * const mainMnqSqsCredentials = new scaleway.MnqSqsCredentials("mainMnqSqsCredentials", { * projectId: mainMnqSqs.projectId, * permissions: { * canManage: false, * canReceive: true, * canPublish: false, * }, * }); * ``` * * ## Import * * SQS credentials can be imported using `{region}/{id}`, e.g. * * bash * * ```sh * $ pulumi import scaleway:index/mnqSqsCredentials:MnqSqsCredentials main fr-par/11111111111111111111111111111111 * ``` */ export declare class MnqSqsCredentials extends pulumi.CustomResource { /** * Get an existing MnqSqsCredentials 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?: MnqSqsCredentialsState, opts?: pulumi.CustomResourceOptions): MnqSqsCredentials; /** * Returns true if the given object is an instance of MnqSqsCredentials. 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 MnqSqsCredentials; /** * The ID of the key. */ readonly accessKey: pulumi.Output; /** * The unique name of the SQS credentials. */ readonly name: pulumi.Output; /** * . List of permissions associated with these credentials. Only one of the following permissions may be set: */ readonly permissions: pulumi.Output; /** * `projectId`) The ID of the Project in which SQS is enabled. */ readonly projectId: pulumi.Output; /** * `region`). The region in which SQS is enabled. */ readonly region: pulumi.Output; /** * The secret value of the key. */ readonly secretKey: pulumi.Output; /** * Create a MnqSqsCredentials 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?: MnqSqsCredentialsArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering MnqSqsCredentials resources. */ export interface MnqSqsCredentialsState { /** * The ID of the key. */ accessKey?: pulumi.Input; /** * The unique name of the SQS credentials. */ name?: pulumi.Input; /** * . List of permissions associated with these credentials. Only one of the following permissions may be set: */ permissions?: pulumi.Input; /** * `projectId`) The ID of the Project in which SQS is enabled. */ projectId?: pulumi.Input; /** * `region`). The region in which SQS is enabled. */ region?: pulumi.Input; /** * The secret value of the key. */ secretKey?: pulumi.Input; } /** * The set of arguments for constructing a MnqSqsCredentials resource. */ export interface MnqSqsCredentialsArgs { /** * The unique name of the SQS credentials. */ name?: pulumi.Input; /** * . List of permissions associated with these credentials. Only one of the following permissions may be set: */ permissions?: pulumi.Input; /** * `projectId`) The ID of the Project in which SQS is enabled. */ projectId?: pulumi.Input; /** * `region`). The region in which SQS is enabled. */ region?: pulumi.Input; }