published on Thursday, Jul 9, 2026 by Volcengine
published on Thursday, Jul 9, 2026 by Volcengine
RocketMQ key
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
const rocketMQAccessKeyDemo = new volcenginecc.rocketmq.AccessKey("RocketMQAccessKeyDemo", {
topicPermissions: [{
permission: "SUB",
topic_name: "topic1",
}],
instanceId: "rocketmq-cnnxxxxxxxxxx",
allAuthority: "SUB",
description: "自定义SUB权限",
});
import pulumi
import pulumi_volcenginecc as volcenginecc
rocket_mq_access_key_demo = volcenginecc.rocketmq.AccessKey("RocketMQAccessKeyDemo",
topic_permissions=[{
"permission": "SUB",
"topic_name": "topic1",
}],
instance_id="rocketmq-cnnxxxxxxxxxx",
all_authority="SUB",
description="自定义SUB权限")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcenginecc/sdk/go/volcenginecc/rocketmq"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := rocketmq.NewAccessKey(ctx, "RocketMQAccessKeyDemo", &rocketmq.AccessKeyArgs{
TopicPermissions: rocketmq.AccessKeyTopicPermissionArray{
&rocketmq.AccessKeyTopicPermissionArgs{
Permission: pulumi.String("SUB"),
Topic_name: "topic1",
},
},
InstanceId: pulumi.String("rocketmq-cnnxxxxxxxxxx"),
AllAuthority: pulumi.String("SUB"),
Description: pulumi.String("自定义SUB权限"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcenginecc = Volcengine.Pulumi.Volcenginecc;
return await Deployment.RunAsync(() =>
{
var rocketMQAccessKeyDemo = new Volcenginecc.Rocketmq.AccessKey("RocketMQAccessKeyDemo", new()
{
TopicPermissions = new[]
{
new Volcenginecc.Rocketmq.Inputs.AccessKeyTopicPermissionArgs
{
Permission = "SUB",
Topic_name = "topic1",
},
},
InstanceId = "rocketmq-cnnxxxxxxxxxx",
AllAuthority = "SUB",
Description = "自定义SUB权限",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.volcengine.volcenginecc.rocketmq.AccessKey;
import com.volcengine.volcenginecc.rocketmq.AccessKeyArgs;
import com.pulumi.volcenginecc.rocketmq.inputs.AccessKeyTopicPermissionArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var rocketMQAccessKeyDemo = new AccessKey("rocketMQAccessKeyDemo", AccessKeyArgs.builder()
.topicPermissions(AccessKeyTopicPermissionArgs.builder()
.permission("SUB")
.topic_name("topic1")
.build())
.instanceId("rocketmq-cnnxxxxxxxxxx")
.allAuthority("SUB")
.description("自定义SUB权限")
.build());
}
}
resources:
rocketMQAccessKeyDemo:
type: volcenginecc:rocketmq:AccessKey
name: RocketMQAccessKeyDemo
properties:
topicPermissions:
- permission: SUB
topic_name: topic1
instanceId: rocketmq-cnnxxxxxxxxxx
allAuthority: SUB
description: 自定义SUB权限
pulumi {
required_providers {
volcenginecc = {
source = "pulumi/volcenginecc"
}
}
}
resource "volcenginecc_rocketmq_accesskey" "RocketMQAccessKeyDemo" {
topic_permissions {
permission = "SUB"
topic_name = "topic1"
}
instance_id = "rocketmq-cnnxxxxxxxxxx"
all_authority = "SUB"
description = "自定义SUB权限"
}
Create AccessKey Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AccessKey(name: string, args: AccessKeyArgs, opts?: CustomResourceOptions);@overload
def AccessKey(resource_name: str,
args: AccessKeyArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AccessKey(resource_name: str,
opts: Optional[ResourceOptions] = None,
all_authority: Optional[str] = None,
instance_id: Optional[str] = None,
description: Optional[str] = None,
topic_permissions: Optional[Sequence[AccessKeyTopicPermissionArgs]] = None)func NewAccessKey(ctx *Context, name string, args AccessKeyArgs, opts ...ResourceOption) (*AccessKey, error)public AccessKey(string name, AccessKeyArgs args, CustomResourceOptions? opts = null)
public AccessKey(String name, AccessKeyArgs args)
public AccessKey(String name, AccessKeyArgs args, CustomResourceOptions options)
type: volcenginecc:rocketmq:AccessKey
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "volcenginecc_rocketmq_accesskey" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args AccessKeyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args AccessKeyArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AccessKeyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AccessKeyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AccessKeyArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var accessKeyResource = new Volcenginecc.Rocketmq.AccessKey("accessKeyResource", new()
{
AllAuthority = "string",
InstanceId = "string",
Description = "string",
TopicPermissions = new[]
{
new Volcenginecc.Rocketmq.Inputs.AccessKeyTopicPermissionArgs
{
Permission = "string",
TopicName = "string",
},
},
});
example, err := rocketmq.NewAccessKey(ctx, "accessKeyResource", &rocketmq.AccessKeyArgs{
AllAuthority: pulumi.String("string"),
InstanceId: pulumi.String("string"),
Description: pulumi.String("string"),
TopicPermissions: rocketmq.AccessKeyTopicPermissionArray{
&rocketmq.AccessKeyTopicPermissionArgs{
Permission: pulumi.String("string"),
TopicName: pulumi.String("string"),
},
},
})
resource "volcenginecc_rocketmq_accesskey" "accessKeyResource" {
all_authority = "string"
instance_id = "string"
description = "string"
topic_permissions {
permission = "string"
topic_name = "string"
}
}
var accessKeyResource = new AccessKey("accessKeyResource", AccessKeyArgs.builder()
.allAuthority("string")
.instanceId("string")
.description("string")
.topicPermissions(AccessKeyTopicPermissionArgs.builder()
.permission("string")
.topicName("string")
.build())
.build());
access_key_resource = volcenginecc.rocketmq.AccessKey("accessKeyResource",
all_authority="string",
instance_id="string",
description="string",
topic_permissions=[{
"permission": "string",
"topic_name": "string",
}])
const accessKeyResource = new volcenginecc.rocketmq.AccessKey("accessKeyResource", {
allAuthority: "string",
instanceId: "string",
description: "string",
topicPermissions: [{
permission: "string",
topicName: "string",
}],
});
type: volcenginecc:rocketmq:AccessKey
properties:
allAuthority: string
description: string
instanceId: string
topicPermissions:
- permission: string
topicName: string
AccessKey Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The AccessKey resource accepts the following input properties:
- string
- Default permissions for the RocketMQ key. -
ALL: Publish and subscribe permissions -PUB: Publish permission -SUB: Subscribe permission -DENY: No publish or subscribe permissions - Instance
Id string - Instance ID
- Description string
- Description for the RocketMQ key, used to distinguish and manage keys effectively. Length limit: 0–128 characters
- Topic
Permissions List<Volcengine.Access Key Topic Permission> - Custom permissions for the key. Sets the permissions this AccessKey has for a specific Topic. If there are no custom permissions, displays as null Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- string
- Default permissions for the RocketMQ key. -
ALL: Publish and subscribe permissions -PUB: Publish permission -SUB: Subscribe permission -DENY: No publish or subscribe permissions - Instance
Id string - Instance ID
- Description string
- Description for the RocketMQ key, used to distinguish and manage keys effectively. Length limit: 0–128 characters
- Topic
Permissions []AccessKey Topic Permission Args - Custom permissions for the key. Sets the permissions this AccessKey has for a specific Topic. If there are no custom permissions, displays as null Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- string
- Default permissions for the RocketMQ key. -
ALL: Publish and subscribe permissions -PUB: Publish permission -SUB: Subscribe permission -DENY: No publish or subscribe permissions - instance_
id string - Instance ID
- description string
- Description for the RocketMQ key, used to distinguish and manage keys effectively. Length limit: 0–128 characters
- topic_
permissions list(object) - Custom permissions for the key. Sets the permissions this AccessKey has for a specific Topic. If there are no custom permissions, displays as null Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- String
- Default permissions for the RocketMQ key. -
ALL: Publish and subscribe permissions -PUB: Publish permission -SUB: Subscribe permission -DENY: No publish or subscribe permissions - instance
Id String - Instance ID
- description String
- Description for the RocketMQ key, used to distinguish and manage keys effectively. Length limit: 0–128 characters
- topic
Permissions List<AccessKey Topic Permission> - Custom permissions for the key. Sets the permissions this AccessKey has for a specific Topic. If there are no custom permissions, displays as null Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- string
- Default permissions for the RocketMQ key. -
ALL: Publish and subscribe permissions -PUB: Publish permission -SUB: Subscribe permission -DENY: No publish or subscribe permissions - instance
Id string - Instance ID
- description string
- Description for the RocketMQ key, used to distinguish and manage keys effectively. Length limit: 0–128 characters
- topic
Permissions AccessKey Topic Permission[] - Custom permissions for the key. Sets the permissions this AccessKey has for a specific Topic. If there are no custom permissions, displays as null Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- str
- Default permissions for the RocketMQ key. -
ALL: Publish and subscribe permissions -PUB: Publish permission -SUB: Subscribe permission -DENY: No publish or subscribe permissions - instance_
id str - Instance ID
- description str
- Description for the RocketMQ key, used to distinguish and manage keys effectively. Length limit: 0–128 characters
- topic_
permissions Sequence[AccessKey Topic Permission Args] - Custom permissions for the key. Sets the permissions this AccessKey has for a specific Topic. If there are no custom permissions, displays as null Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- String
- Default permissions for the RocketMQ key. -
ALL: Publish and subscribe permissions -PUB: Publish permission -SUB: Subscribe permission -DENY: No publish or subscribe permissions - instance
Id String - Instance ID
- description String
- Description for the RocketMQ key, used to distinguish and manage keys effectively. Length limit: 0–128 characters
- topic
Permissions List<Property Map> - Custom permissions for the key. Sets the permissions this AccessKey has for a specific Topic. If there are no custom permissions, displays as null Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
Outputs
All input properties are implicitly available as output properties. Additionally, the AccessKey resource produces the following output properties:
- Access
Key stringValue - AccessKey ID for the RocketMQ key
- Acl
Config stringJson - All ACL configuration information for the RocketMQ key
- Actived bool
- Enable status for the RocketMQ key. -
true: Enabled -false: Not enabled - Create
Time string - Creation time for the RocketMQ key. Time format: YYYY-MM-DD'T'HH:MM:SS'Z'
- Id string
- The provider-assigned unique ID for this managed resource.
- Secret
Key string - RocketMQ key. Returned only after creation
- Access
Key string - AccessKey ID for the RocketMQ key
- Acl
Config stringJson - All ACL configuration information for the RocketMQ key
- Actived bool
- Enable status for the RocketMQ key. -
true: Enabled -false: Not enabled - Create
Time string - Creation time for the RocketMQ key. Time format: YYYY-MM-DD'T'HH:MM:SS'Z'
- Id string
- The provider-assigned unique ID for this managed resource.
- Secret
Key string - RocketMQ key. Returned only after creation
- access_
key string - AccessKey ID for the RocketMQ key
- acl_
config_ stringjson - All ACL configuration information for the RocketMQ key
- actived bool
- Enable status for the RocketMQ key. -
true: Enabled -false: Not enabled - create_
time string - Creation time for the RocketMQ key. Time format: YYYY-MM-DD'T'HH:MM:SS'Z'
- id string
- The provider-assigned unique ID for this managed resource.
- secret_
key string - RocketMQ key. Returned only after creation
- access
Key String - AccessKey ID for the RocketMQ key
- acl
Config StringJson - All ACL configuration information for the RocketMQ key
- actived Boolean
- Enable status for the RocketMQ key. -
true: Enabled -false: Not enabled - create
Time String - Creation time for the RocketMQ key. Time format: YYYY-MM-DD'T'HH:MM:SS'Z'
- id String
- The provider-assigned unique ID for this managed resource.
- secret
Key String - RocketMQ key. Returned only after creation
- access
Key string - AccessKey ID for the RocketMQ key
- acl
Config stringJson - All ACL configuration information for the RocketMQ key
- actived boolean
- Enable status for the RocketMQ key. -
true: Enabled -false: Not enabled - create
Time string - Creation time for the RocketMQ key. Time format: YYYY-MM-DD'T'HH:MM:SS'Z'
- id string
- The provider-assigned unique ID for this managed resource.
- secret
Key string - RocketMQ key. Returned only after creation
- access_
key str - AccessKey ID for the RocketMQ key
- acl_
config_ strjson - All ACL configuration information for the RocketMQ key
- actived bool
- Enable status for the RocketMQ key. -
true: Enabled -false: Not enabled - create_
time str - Creation time for the RocketMQ key. Time format: YYYY-MM-DD'T'HH:MM:SS'Z'
- id str
- The provider-assigned unique ID for this managed resource.
- secret_
key str - RocketMQ key. Returned only after creation
- access
Key String - AccessKey ID for the RocketMQ key
- acl
Config StringJson - All ACL configuration information for the RocketMQ key
- actived Boolean
- Enable status for the RocketMQ key. -
true: Enabled -false: Not enabled - create
Time String - Creation time for the RocketMQ key. Time format: YYYY-MM-DD'T'HH:MM:SS'Z'
- id String
- The provider-assigned unique ID for this managed resource.
- secret
Key String - RocketMQ key. Returned only after creation
Look up Existing AccessKey Resource
Get an existing AccessKey resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: AccessKeyState, opts?: CustomResourceOptions): AccessKey@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
access_key: Optional[str] = None,
acl_config_json: Optional[str] = None,
actived: Optional[bool] = None,
all_authority: Optional[str] = None,
create_time: Optional[str] = None,
description: Optional[str] = None,
instance_id: Optional[str] = None,
secret_key: Optional[str] = None,
topic_permissions: Optional[Sequence[AccessKeyTopicPermissionArgs]] = None) -> AccessKeyfunc GetAccessKey(ctx *Context, name string, id IDInput, state *AccessKeyState, opts ...ResourceOption) (*AccessKey, error)public static AccessKey Get(string name, Input<string> id, AccessKeyState? state, CustomResourceOptions? opts = null)public static AccessKey get(String name, Output<String> id, AccessKeyState state, CustomResourceOptions options)resources: _: type: volcenginecc:rocketmq:AccessKey get: id: ${id}import {
to = volcenginecc_rocketmq_accesskey.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Access
Key stringValue - AccessKey ID for the RocketMQ key
- Acl
Config stringJson - All ACL configuration information for the RocketMQ key
- Actived bool
- Enable status for the RocketMQ key. -
true: Enabled -false: Not enabled - string
- Default permissions for the RocketMQ key. -
ALL: Publish and subscribe permissions -PUB: Publish permission -SUB: Subscribe permission -DENY: No publish or subscribe permissions - Create
Time string - Creation time for the RocketMQ key. Time format: YYYY-MM-DD'T'HH:MM:SS'Z'
- Description string
- Description for the RocketMQ key, used to distinguish and manage keys effectively. Length limit: 0–128 characters
- Instance
Id string - Instance ID
- Secret
Key string - RocketMQ key. Returned only after creation
- Topic
Permissions List<Volcengine.Access Key Topic Permission> - Custom permissions for the key. Sets the permissions this AccessKey has for a specific Topic. If there are no custom permissions, displays as null Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Access
Key string - AccessKey ID for the RocketMQ key
- Acl
Config stringJson - All ACL configuration information for the RocketMQ key
- Actived bool
- Enable status for the RocketMQ key. -
true: Enabled -false: Not enabled - string
- Default permissions for the RocketMQ key. -
ALL: Publish and subscribe permissions -PUB: Publish permission -SUB: Subscribe permission -DENY: No publish or subscribe permissions - Create
Time string - Creation time for the RocketMQ key. Time format: YYYY-MM-DD'T'HH:MM:SS'Z'
- Description string
- Description for the RocketMQ key, used to distinguish and manage keys effectively. Length limit: 0–128 characters
- Instance
Id string - Instance ID
- Secret
Key string - RocketMQ key. Returned only after creation
- Topic
Permissions []AccessKey Topic Permission Args - Custom permissions for the key. Sets the permissions this AccessKey has for a specific Topic. If there are no custom permissions, displays as null Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- access_
key string - AccessKey ID for the RocketMQ key
- acl_
config_ stringjson - All ACL configuration information for the RocketMQ key
- actived bool
- Enable status for the RocketMQ key. -
true: Enabled -false: Not enabled - string
- Default permissions for the RocketMQ key. -
ALL: Publish and subscribe permissions -PUB: Publish permission -SUB: Subscribe permission -DENY: No publish or subscribe permissions - create_
time string - Creation time for the RocketMQ key. Time format: YYYY-MM-DD'T'HH:MM:SS'Z'
- description string
- Description for the RocketMQ key, used to distinguish and manage keys effectively. Length limit: 0–128 characters
- instance_
id string - Instance ID
- secret_
key string - RocketMQ key. Returned only after creation
- topic_
permissions list(object) - Custom permissions for the key. Sets the permissions this AccessKey has for a specific Topic. If there are no custom permissions, displays as null Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- access
Key String - AccessKey ID for the RocketMQ key
- acl
Config StringJson - All ACL configuration information for the RocketMQ key
- actived Boolean
- Enable status for the RocketMQ key. -
true: Enabled -false: Not enabled - String
- Default permissions for the RocketMQ key. -
ALL: Publish and subscribe permissions -PUB: Publish permission -SUB: Subscribe permission -DENY: No publish or subscribe permissions - create
Time String - Creation time for the RocketMQ key. Time format: YYYY-MM-DD'T'HH:MM:SS'Z'
- description String
- Description for the RocketMQ key, used to distinguish and manage keys effectively. Length limit: 0–128 characters
- instance
Id String - Instance ID
- secret
Key String - RocketMQ key. Returned only after creation
- topic
Permissions List<AccessKey Topic Permission> - Custom permissions for the key. Sets the permissions this AccessKey has for a specific Topic. If there are no custom permissions, displays as null Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- access
Key string - AccessKey ID for the RocketMQ key
- acl
Config stringJson - All ACL configuration information for the RocketMQ key
- actived boolean
- Enable status for the RocketMQ key. -
true: Enabled -false: Not enabled - string
- Default permissions for the RocketMQ key. -
ALL: Publish and subscribe permissions -PUB: Publish permission -SUB: Subscribe permission -DENY: No publish or subscribe permissions - create
Time string - Creation time for the RocketMQ key. Time format: YYYY-MM-DD'T'HH:MM:SS'Z'
- description string
- Description for the RocketMQ key, used to distinguish and manage keys effectively. Length limit: 0–128 characters
- instance
Id string - Instance ID
- secret
Key string - RocketMQ key. Returned only after creation
- topic
Permissions AccessKey Topic Permission[] - Custom permissions for the key. Sets the permissions this AccessKey has for a specific Topic. If there are no custom permissions, displays as null Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- access_
key str - AccessKey ID for the RocketMQ key
- acl_
config_ strjson - All ACL configuration information for the RocketMQ key
- actived bool
- Enable status for the RocketMQ key. -
true: Enabled -false: Not enabled - str
- Default permissions for the RocketMQ key. -
ALL: Publish and subscribe permissions -PUB: Publish permission -SUB: Subscribe permission -DENY: No publish or subscribe permissions - create_
time str - Creation time for the RocketMQ key. Time format: YYYY-MM-DD'T'HH:MM:SS'Z'
- description str
- Description for the RocketMQ key, used to distinguish and manage keys effectively. Length limit: 0–128 characters
- instance_
id str - Instance ID
- secret_
key str - RocketMQ key. Returned only after creation
- topic_
permissions Sequence[AccessKey Topic Permission Args] - Custom permissions for the key. Sets the permissions this AccessKey has for a specific Topic. If there are no custom permissions, displays as null Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- access
Key String - AccessKey ID for the RocketMQ key
- acl
Config StringJson - All ACL configuration information for the RocketMQ key
- actived Boolean
- Enable status for the RocketMQ key. -
true: Enabled -false: Not enabled - String
- Default permissions for the RocketMQ key. -
ALL: Publish and subscribe permissions -PUB: Publish permission -SUB: Subscribe permission -DENY: No publish or subscribe permissions - create
Time String - Creation time for the RocketMQ key. Time format: YYYY-MM-DD'T'HH:MM:SS'Z'
- description String
- Description for the RocketMQ key, used to distinguish and manage keys effectively. Length limit: 0–128 characters
- instance
Id String - Instance ID
- secret
Key String - RocketMQ key. Returned only after creation
- topic
Permissions List<Property Map> - Custom permissions for the key. Sets the permissions this AccessKey has for a specific Topic. If there are no custom permissions, displays as null Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
Supporting Types
AccessKeyTopicPermission, AccessKeyTopicPermissionArgs
- Permission string
- Permission type. AccessKey has permissions for this Topic. ALL: Publish and subscribe permissions. PUB: Publish permission. SUB: Subscribe permission. DENY: No publish or subscribe permissions
- Topic
Name string - Topic name
- Permission string
- Permission type. AccessKey has permissions for this Topic. ALL: Publish and subscribe permissions. PUB: Publish permission. SUB: Subscribe permission. DENY: No publish or subscribe permissions
- Topic
Name string - Topic name
- permission string
- Permission type. AccessKey has permissions for this Topic. ALL: Publish and subscribe permissions. PUB: Publish permission. SUB: Subscribe permission. DENY: No publish or subscribe permissions
- topic_
name string - Topic name
- permission String
- Permission type. AccessKey has permissions for this Topic. ALL: Publish and subscribe permissions. PUB: Publish permission. SUB: Subscribe permission. DENY: No publish or subscribe permissions
- topic
Name String - Topic name
- permission string
- Permission type. AccessKey has permissions for this Topic. ALL: Publish and subscribe permissions. PUB: Publish permission. SUB: Subscribe permission. DENY: No publish or subscribe permissions
- topic
Name string - Topic name
- permission str
- Permission type. AccessKey has permissions for this Topic. ALL: Publish and subscribe permissions. PUB: Publish permission. SUB: Subscribe permission. DENY: No publish or subscribe permissions
- topic_
name str - Topic name
- permission String
- Permission type. AccessKey has permissions for this Topic. ALL: Publish and subscribe permissions. PUB: Publish permission. SUB: Subscribe permission. DENY: No publish or subscribe permissions
- topic
Name String - Topic name
Import
$ pulumi import volcenginecc:rocketmq/accessKey:AccessKey example "instance_id|access_key"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- volcenginecc volcengine/pulumi-volcenginecc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
volcengineccTerraform Provider.
published on Thursday, Jul 9, 2026 by Volcengine