import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * RocketMQ key * * ## Import * * ```sh * $ pulumi import volcenginecc:rocketmq/accessKey:AccessKey example "instance_id|access_key" * ``` */ export declare class AccessKey extends pulumi.CustomResource { /** * Get an existing AccessKey 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?: AccessKeyState, opts?: pulumi.CustomResourceOptions): AccessKey; /** * Returns true if the given object is an instance of AccessKey. 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 AccessKey; /** * AccessKey ID for the RocketMQ key */ readonly accessKey: pulumi.Output; /** * All ACL configuration information for the RocketMQ key */ readonly aclConfigJson: pulumi.Output; /** * Enable status for the RocketMQ key. - `true`: Enabled - `false`: Not enabled */ readonly actived: pulumi.Output; /** * Default permissions for the RocketMQ key. - `ALL`: Publish and subscribe permissions - `PUB`: Publish permission - `SUB`: Subscribe permission - `DENY`: No publish or subscribe permissions */ readonly allAuthority: pulumi.Output; /** * Creation time for the RocketMQ key. Time format: YYYY-MM-DD'T'HH:MM:SS'Z' */ readonly createTime: pulumi.Output; /** * Description for the RocketMQ key, used to distinguish and manage keys effectively. Length limit: 0–128 characters */ readonly description: pulumi.Output; /** * Instance ID */ readonly instanceId: pulumi.Output; /** * RocketMQ key. Returned only after creation */ readonly secretKey: pulumi.Output; readonly topicPermissions: pulumi.Output; /** * Create a AccessKey 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: AccessKeyArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering AccessKey resources. */ export interface AccessKeyState { /** * AccessKey ID for the RocketMQ key */ accessKey?: pulumi.Input; /** * All ACL configuration information for the RocketMQ key */ aclConfigJson?: pulumi.Input; /** * Enable status for the RocketMQ key. - `true`: Enabled - `false`: Not enabled */ actived?: pulumi.Input; /** * Default permissions for the RocketMQ key. - `ALL`: Publish and subscribe permissions - `PUB`: Publish permission - `SUB`: Subscribe permission - `DENY`: No publish or subscribe permissions */ allAuthority?: pulumi.Input; /** * Creation time for the RocketMQ key. Time format: YYYY-MM-DD'T'HH:MM:SS'Z' */ createTime?: pulumi.Input; /** * Description for the RocketMQ key, used to distinguish and manage keys effectively. Length limit: 0–128 characters */ description?: pulumi.Input; /** * Instance ID */ instanceId?: pulumi.Input; /** * RocketMQ key. Returned only after creation */ secretKey?: pulumi.Input; topicPermissions?: pulumi.Input[]>; } /** * The set of arguments for constructing a AccessKey resource. */ export interface AccessKeyArgs { /** * Default permissions for the RocketMQ key. - `ALL`: Publish and subscribe permissions - `PUB`: Publish permission - `SUB`: Subscribe permission - `DENY`: No publish or subscribe permissions */ allAuthority: pulumi.Input; /** * Description for the RocketMQ key, used to distinguish and manage keys effectively. Length limit: 0–128 characters */ description?: pulumi.Input; /** * Instance ID */ instanceId: pulumi.Input; topicPermissions?: pulumi.Input[]>; }