1. Packages
  2. Packages
  3. Volcenginecc Provider
  4. API Docs
  5. rocketmq
  6. AccessKey
Viewing docs for volcenginecc v0.0.47
published on Thursday, Jul 9, 2026 by Volcengine
volcenginecc logo
Viewing docs for volcenginecc v0.0.47
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:

    AllAuthority string
    Default permissions for the RocketMQ key. - ALL: Publish and subscribe permissions - PUB: Publish permission - SUB: Subscribe permission - DENY: No publish or subscribe permissions
    InstanceId string
    Instance ID
    Description string
    Description for the RocketMQ key, used to distinguish and manage keys effectively. Length limit: 0–128 characters
    TopicPermissions List<Volcengine.AccessKeyTopicPermission>
    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.
    AllAuthority string
    Default permissions for the RocketMQ key. - ALL: Publish and subscribe permissions - PUB: Publish permission - SUB: Subscribe permission - DENY: No publish or subscribe permissions
    InstanceId string
    Instance ID
    Description string
    Description for the RocketMQ key, used to distinguish and manage keys effectively. Length limit: 0–128 characters
    TopicPermissions []AccessKeyTopicPermissionArgs
    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.
    all_authority 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.
    allAuthority String
    Default permissions for the RocketMQ key. - ALL: Publish and subscribe permissions - PUB: Publish permission - SUB: Subscribe permission - DENY: No publish or subscribe permissions
    instanceId String
    Instance ID
    description String
    Description for the RocketMQ key, used to distinguish and manage keys effectively. Length limit: 0–128 characters
    topicPermissions List<AccessKeyTopicPermission>
    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.
    allAuthority string
    Default permissions for the RocketMQ key. - ALL: Publish and subscribe permissions - PUB: Publish permission - SUB: Subscribe permission - DENY: No publish or subscribe permissions
    instanceId string
    Instance ID
    description string
    Description for the RocketMQ key, used to distinguish and manage keys effectively. Length limit: 0–128 characters
    topicPermissions AccessKeyTopicPermission[]
    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.
    all_authority 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[AccessKeyTopicPermissionArgs]
    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.
    allAuthority String
    Default permissions for the RocketMQ key. - ALL: Publish and subscribe permissions - PUB: Publish permission - SUB: Subscribe permission - DENY: No publish or subscribe permissions
    instanceId String
    Instance ID
    description String
    Description for the RocketMQ key, used to distinguish and manage keys effectively. Length limit: 0–128 characters
    topicPermissions 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:

    AccessKeyValue string
    AccessKey ID for the RocketMQ key
    AclConfigJson string
    All ACL configuration information for the RocketMQ key
    Actived bool
    Enable status for the RocketMQ key. - true: Enabled - false: Not enabled
    CreateTime 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.
    SecretKey string
    RocketMQ key. Returned only after creation
    AccessKey string
    AccessKey ID for the RocketMQ key
    AclConfigJson string
    All ACL configuration information for the RocketMQ key
    Actived bool
    Enable status for the RocketMQ key. - true: Enabled - false: Not enabled
    CreateTime 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.
    SecretKey string
    RocketMQ key. Returned only after creation
    access_key string
    AccessKey ID for the RocketMQ key
    acl_config_json string
    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
    accessKey String
    AccessKey ID for the RocketMQ key
    aclConfigJson String
    All ACL configuration information for the RocketMQ key
    actived Boolean
    Enable status for the RocketMQ key. - true: Enabled - false: Not enabled
    createTime 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.
    secretKey String
    RocketMQ key. Returned only after creation
    accessKey string
    AccessKey ID for the RocketMQ key
    aclConfigJson string
    All ACL configuration information for the RocketMQ key
    actived boolean
    Enable status for the RocketMQ key. - true: Enabled - false: Not enabled
    createTime 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.
    secretKey string
    RocketMQ key. Returned only after creation
    access_key str
    AccessKey ID for the RocketMQ key
    acl_config_json str
    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
    accessKey String
    AccessKey ID for the RocketMQ key
    aclConfigJson String
    All ACL configuration information for the RocketMQ key
    actived Boolean
    Enable status for the RocketMQ key. - true: Enabled - false: Not enabled
    createTime 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.
    secretKey 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) -> AccessKey
    func 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.
    The following state arguments are supported:
    AccessKeyValue string
    AccessKey ID for the RocketMQ key
    AclConfigJson string
    All ACL configuration information for the RocketMQ key
    Actived bool
    Enable status for the RocketMQ key. - true: Enabled - false: Not enabled
    AllAuthority string
    Default permissions for the RocketMQ key. - ALL: Publish and subscribe permissions - PUB: Publish permission - SUB: Subscribe permission - DENY: No publish or subscribe permissions
    CreateTime 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
    InstanceId string
    Instance ID
    SecretKey string
    RocketMQ key. Returned only after creation
    TopicPermissions List<Volcengine.AccessKeyTopicPermission>
    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.
    AccessKey string
    AccessKey ID for the RocketMQ key
    AclConfigJson string
    All ACL configuration information for the RocketMQ key
    Actived bool
    Enable status for the RocketMQ key. - true: Enabled - false: Not enabled
    AllAuthority string
    Default permissions for the RocketMQ key. - ALL: Publish and subscribe permissions - PUB: Publish permission - SUB: Subscribe permission - DENY: No publish or subscribe permissions
    CreateTime 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
    InstanceId string
    Instance ID
    SecretKey string
    RocketMQ key. Returned only after creation
    TopicPermissions []AccessKeyTopicPermissionArgs
    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_json string
    All ACL configuration information for the RocketMQ key
    actived bool
    Enable status for the RocketMQ key. - true: Enabled - false: Not enabled
    all_authority 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.
    accessKey String
    AccessKey ID for the RocketMQ key
    aclConfigJson String
    All ACL configuration information for the RocketMQ key
    actived Boolean
    Enable status for the RocketMQ key. - true: Enabled - false: Not enabled
    allAuthority String
    Default permissions for the RocketMQ key. - ALL: Publish and subscribe permissions - PUB: Publish permission - SUB: Subscribe permission - DENY: No publish or subscribe permissions
    createTime 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
    instanceId String
    Instance ID
    secretKey String
    RocketMQ key. Returned only after creation
    topicPermissions List<AccessKeyTopicPermission>
    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.
    accessKey string
    AccessKey ID for the RocketMQ key
    aclConfigJson string
    All ACL configuration information for the RocketMQ key
    actived boolean
    Enable status for the RocketMQ key. - true: Enabled - false: Not enabled
    allAuthority string
    Default permissions for the RocketMQ key. - ALL: Publish and subscribe permissions - PUB: Publish permission - SUB: Subscribe permission - DENY: No publish or subscribe permissions
    createTime 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
    instanceId string
    Instance ID
    secretKey string
    RocketMQ key. Returned only after creation
    topicPermissions AccessKeyTopicPermission[]
    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_json str
    All ACL configuration information for the RocketMQ key
    actived bool
    Enable status for the RocketMQ key. - true: Enabled - false: Not enabled
    all_authority 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[AccessKeyTopicPermissionArgs]
    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.
    accessKey String
    AccessKey ID for the RocketMQ key
    aclConfigJson String
    All ACL configuration information for the RocketMQ key
    actived Boolean
    Enable status for the RocketMQ key. - true: Enabled - false: Not enabled
    allAuthority String
    Default permissions for the RocketMQ key. - ALL: Publish and subscribe permissions - PUB: Publish permission - SUB: Subscribe permission - DENY: No publish or subscribe permissions
    createTime 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
    instanceId String
    Instance ID
    secretKey String
    RocketMQ key. Returned only after creation
    topicPermissions 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
    TopicName 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
    TopicName 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
    topicName 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
    topicName 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
    topicName 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 volcenginecc Terraform Provider.
    volcenginecc logo
    Viewing docs for volcenginecc v0.0.47
    published on Thursday, Jul 9, 2026 by Volcengine

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial