volcengine.rocketmq.RocketMQAccessKey
Explore with Pulumi AI
Provides a resource to manage rocketmq access key
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
import * as volcengine from "@volcengine/pulumi";
const fooZones = volcengine.ecs.Zones({});
const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
vpcName: "acc-test-vpc",
cidrBlock: "172.16.0.0/16",
});
const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
subnetName: "acc-test-subnet",
cidrBlock: "172.16.0.0/24",
zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
vpcId: fooVpc.id,
});
const fooRocketMQInstance = new volcengine.rocketmq.RocketMQInstance("fooRocketMQInstance", {
zoneIds: [fooZones.then(fooZones => fooZones.zones?.[0]?.id)],
subnetId: fooSubnet.id,
version: "4.8",
computeSpec: "rocketmq.n1.x2.micro",
storageSpace: 300,
autoScaleQueue: true,
fileReservedTime: 10,
instanceName: "acc-test-rocketmq",
instanceDescription: "acc-test",
projectName: "default",
chargeInfo: {
chargeType: "PostPaid",
},
tags: [{
key: "k1",
value: "v1",
}],
});
const fooRocketMQAccessKey = new volcengine.rocketmq.RocketMQAccessKey("fooRocketMQAccessKey", {
instanceId: fooRocketMQInstance.id,
description: "acc-test-key",
allAuthority: "SUB",
});
import pulumi
import pulumi_volcengine as volcengine
foo_zones = volcengine.ecs.zones()
foo_vpc = volcengine.vpc.Vpc("fooVpc",
vpc_name="acc-test-vpc",
cidr_block="172.16.0.0/16")
foo_subnet = volcengine.vpc.Subnet("fooSubnet",
subnet_name="acc-test-subnet",
cidr_block="172.16.0.0/24",
zone_id=foo_zones.zones[0].id,
vpc_id=foo_vpc.id)
foo_rocket_mq_instance = volcengine.rocketmq.RocketMQInstance("fooRocketMQInstance",
zone_ids=[foo_zones.zones[0].id],
subnet_id=foo_subnet.id,
version="4.8",
compute_spec="rocketmq.n1.x2.micro",
storage_space=300,
auto_scale_queue=True,
file_reserved_time=10,
instance_name="acc-test-rocketmq",
instance_description="acc-test",
project_name="default",
charge_info=volcengine.rocketmq.RocketMQInstanceChargeInfoArgs(
charge_type="PostPaid",
),
tags=[volcengine.rocketmq.RocketMQInstanceTagArgs(
key="k1",
value="v1",
)])
foo_rocket_mq_access_key = volcengine.rocketmq.RocketMQAccessKey("fooRocketMQAccessKey",
instance_id=foo_rocket_mq_instance.id,
description="acc-test-key",
all_authority="SUB")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/rocketmq"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
fooZones, err := ecs.Zones(ctx, nil, nil)
if err != nil {
return err
}
fooVpc, err := vpc.NewVpc(ctx, "fooVpc", &vpc.VpcArgs{
VpcName: pulumi.String("acc-test-vpc"),
CidrBlock: pulumi.String("172.16.0.0/16"),
})
if err != nil {
return err
}
fooSubnet, err := vpc.NewSubnet(ctx, "fooSubnet", &vpc.SubnetArgs{
SubnetName: pulumi.String("acc-test-subnet"),
CidrBlock: pulumi.String("172.16.0.0/24"),
ZoneId: pulumi.String(fooZones.Zones[0].Id),
VpcId: fooVpc.ID(),
})
if err != nil {
return err
}
fooRocketMQInstance, err := rocketmq.NewRocketMQInstance(ctx, "fooRocketMQInstance", &rocketmq.RocketMQInstanceArgs{
ZoneIds: pulumi.StringArray{
pulumi.String(fooZones.Zones[0].Id),
},
SubnetId: fooSubnet.ID(),
Version: pulumi.String("4.8"),
ComputeSpec: pulumi.String("rocketmq.n1.x2.micro"),
StorageSpace: pulumi.Int(300),
AutoScaleQueue: pulumi.Bool(true),
FileReservedTime: pulumi.Int(10),
InstanceName: pulumi.String("acc-test-rocketmq"),
InstanceDescription: pulumi.String("acc-test"),
ProjectName: pulumi.String("default"),
ChargeInfo: &rocketmq.RocketMQInstanceChargeInfoArgs{
ChargeType: pulumi.String("PostPaid"),
},
Tags: rocketmq.RocketMQInstanceTagArray{
&rocketmq.RocketMQInstanceTagArgs{
Key: pulumi.String("k1"),
Value: pulumi.String("v1"),
},
},
})
if err != nil {
return err
}
_, err = rocketmq.NewRocketMQAccessKey(ctx, "fooRocketMQAccessKey", &rocketmq.RocketMQAccessKeyArgs{
InstanceId: fooRocketMQInstance.ID(),
Description: pulumi.String("acc-test-key"),
AllAuthority: pulumi.String("SUB"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() =>
{
var fooZones = Volcengine.Ecs.Zones.Invoke();
var fooVpc = new Volcengine.Vpc.Vpc("fooVpc", new()
{
VpcName = "acc-test-vpc",
CidrBlock = "172.16.0.0/16",
});
var fooSubnet = new Volcengine.Vpc.Subnet("fooSubnet", new()
{
SubnetName = "acc-test-subnet",
CidrBlock = "172.16.0.0/24",
ZoneId = fooZones.Apply(zonesResult => zonesResult.Zones[0]?.Id),
VpcId = fooVpc.Id,
});
var fooRocketMQInstance = new Volcengine.Rocketmq.RocketMQInstance("fooRocketMQInstance", new()
{
ZoneIds = new[]
{
fooZones.Apply(zonesResult => zonesResult.Zones[0]?.Id),
},
SubnetId = fooSubnet.Id,
Version = "4.8",
ComputeSpec = "rocketmq.n1.x2.micro",
StorageSpace = 300,
AutoScaleQueue = true,
FileReservedTime = 10,
InstanceName = "acc-test-rocketmq",
InstanceDescription = "acc-test",
ProjectName = "default",
ChargeInfo = new Volcengine.Rocketmq.Inputs.RocketMQInstanceChargeInfoArgs
{
ChargeType = "PostPaid",
},
Tags = new[]
{
new Volcengine.Rocketmq.Inputs.RocketMQInstanceTagArgs
{
Key = "k1",
Value = "v1",
},
},
});
var fooRocketMQAccessKey = new Volcengine.Rocketmq.RocketMQAccessKey("fooRocketMQAccessKey", new()
{
InstanceId = fooRocketMQInstance.Id,
Description = "acc-test-key",
AllAuthority = "SUB",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.ecs.EcsFunctions;
import com.pulumi.volcengine.ecs.inputs.ZonesArgs;
import com.pulumi.volcengine.vpc.Vpc;
import com.pulumi.volcengine.vpc.VpcArgs;
import com.pulumi.volcengine.vpc.Subnet;
import com.pulumi.volcengine.vpc.SubnetArgs;
import com.pulumi.volcengine.rocketmq.RocketMQInstance;
import com.pulumi.volcengine.rocketmq.RocketMQInstanceArgs;
import com.pulumi.volcengine.rocketmq.inputs.RocketMQInstanceChargeInfoArgs;
import com.pulumi.volcengine.rocketmq.inputs.RocketMQInstanceTagArgs;
import com.pulumi.volcengine.rocketmq.RocketMQAccessKey;
import com.pulumi.volcengine.rocketmq.RocketMQAccessKeyArgs;
import java.util.List;
import java.util.ArrayList;
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) {
final var fooZones = EcsFunctions.Zones();
var fooVpc = new Vpc("fooVpc", VpcArgs.builder()
.vpcName("acc-test-vpc")
.cidrBlock("172.16.0.0/16")
.build());
var fooSubnet = new Subnet("fooSubnet", SubnetArgs.builder()
.subnetName("acc-test-subnet")
.cidrBlock("172.16.0.0/24")
.zoneId(fooZones.applyValue(zonesResult -> zonesResult.zones()[0].id()))
.vpcId(fooVpc.id())
.build());
var fooRocketMQInstance = new RocketMQInstance("fooRocketMQInstance", RocketMQInstanceArgs.builder()
.zoneIds(fooZones.applyValue(zonesResult -> zonesResult.zones()[0].id()))
.subnetId(fooSubnet.id())
.version("4.8")
.computeSpec("rocketmq.n1.x2.micro")
.storageSpace(300)
.autoScaleQueue(true)
.fileReservedTime(10)
.instanceName("acc-test-rocketmq")
.instanceDescription("acc-test")
.projectName("default")
.chargeInfo(RocketMQInstanceChargeInfoArgs.builder()
.chargeType("PostPaid")
.build())
.tags(RocketMQInstanceTagArgs.builder()
.key("k1")
.value("v1")
.build())
.build());
var fooRocketMQAccessKey = new RocketMQAccessKey("fooRocketMQAccessKey", RocketMQAccessKeyArgs.builder()
.instanceId(fooRocketMQInstance.id())
.description("acc-test-key")
.allAuthority("SUB")
.build());
}
}
resources:
fooVpc:
type: volcengine:vpc:Vpc
properties:
vpcName: acc-test-vpc
cidrBlock: 172.16.0.0/16
fooSubnet:
type: volcengine:vpc:Subnet
properties:
subnetName: acc-test-subnet
cidrBlock: 172.16.0.0/24
zoneId: ${fooZones.zones[0].id}
vpcId: ${fooVpc.id}
fooRocketMQInstance:
type: volcengine:rocketmq:RocketMQInstance
properties:
zoneIds:
- ${fooZones.zones[0].id}
subnetId: ${fooSubnet.id}
version: '4.8'
computeSpec: rocketmq.n1.x2.micro
storageSpace: 300
autoScaleQueue: true
fileReservedTime: 10
instanceName: acc-test-rocketmq
instanceDescription: acc-test
projectName: default
chargeInfo:
chargeType: PostPaid
tags:
- key: k1
value: v1
fooRocketMQAccessKey:
type: volcengine:rocketmq:RocketMQAccessKey
properties:
instanceId: ${fooRocketMQInstance.id}
description: acc-test-key
allAuthority: SUB
variables:
fooZones:
fn::invoke:
Function: volcengine:ecs:Zones
Arguments: {}
Create RocketMQAccessKey Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new RocketMQAccessKey(name: string, args: RocketMQAccessKeyArgs, opts?: CustomResourceOptions);
@overload
def RocketMQAccessKey(resource_name: str,
args: RocketMQAccessKeyArgs,
opts: Optional[ResourceOptions] = None)
@overload
def RocketMQAccessKey(resource_name: str,
opts: Optional[ResourceOptions] = None,
all_authority: Optional[str] = None,
description: Optional[str] = None,
instance_id: Optional[str] = None)
func NewRocketMQAccessKey(ctx *Context, name string, args RocketMQAccessKeyArgs, opts ...ResourceOption) (*RocketMQAccessKey, error)
public RocketMQAccessKey(string name, RocketMQAccessKeyArgs args, CustomResourceOptions? opts = null)
public RocketMQAccessKey(String name, RocketMQAccessKeyArgs args)
public RocketMQAccessKey(String name, RocketMQAccessKeyArgs args, CustomResourceOptions options)
type: volcengine:rocketmq:RocketMQAccessKey
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args RocketMQAccessKeyArgs
- 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 RocketMQAccessKeyArgs
- 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 RocketMQAccessKeyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RocketMQAccessKeyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RocketMQAccessKeyArgs
- 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 rocketMQAccessKeyResource = new Volcengine.Rocketmq.RocketMQAccessKey("rocketMQAccessKeyResource", new()
{
AllAuthority = "string",
Description = "string",
InstanceId = "string",
});
example, err := rocketmq.NewRocketMQAccessKey(ctx, "rocketMQAccessKeyResource", &rocketmq.RocketMQAccessKeyArgs{
AllAuthority: pulumi.String("string"),
Description: pulumi.String("string"),
InstanceId: pulumi.String("string"),
})
var rocketMQAccessKeyResource = new RocketMQAccessKey("rocketMQAccessKeyResource", RocketMQAccessKeyArgs.builder()
.allAuthority("string")
.description("string")
.instanceId("string")
.build());
rocket_mq_access_key_resource = volcengine.rocketmq.RocketMQAccessKey("rocketMQAccessKeyResource",
all_authority="string",
description="string",
instance_id="string")
const rocketMQAccessKeyResource = new volcengine.rocketmq.RocketMQAccessKey("rocketMQAccessKeyResource", {
allAuthority: "string",
description: "string",
instanceId: "string",
});
type: volcengine:rocketmq:RocketMQAccessKey
properties:
allAuthority: string
description: string
instanceId: string
RocketMQAccessKey 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 RocketMQAccessKey resource accepts the following input properties:
- string
- The default authority of the rocketmq topic. Valid values:
ALL
,PUB
,SUB
,DENY
. Default isDENY
. - Description string
- The description of the rocketmq topic. The description is used to effectively distinguish and manage keys. Please use different descriptions for each key.
- Instance
Id string - The id of rocketmq instance.
- string
- The default authority of the rocketmq topic. Valid values:
ALL
,PUB
,SUB
,DENY
. Default isDENY
. - Description string
- The description of the rocketmq topic. The description is used to effectively distinguish and manage keys. Please use different descriptions for each key.
- Instance
Id string - The id of rocketmq instance.
- String
- The default authority of the rocketmq topic. Valid values:
ALL
,PUB
,SUB
,DENY
. Default isDENY
. - description String
- The description of the rocketmq topic. The description is used to effectively distinguish and manage keys. Please use different descriptions for each key.
- instance
Id String - The id of rocketmq instance.
- string
- The default authority of the rocketmq topic. Valid values:
ALL
,PUB
,SUB
,DENY
. Default isDENY
. - description string
- The description of the rocketmq topic. The description is used to effectively distinguish and manage keys. Please use different descriptions for each key.
- instance
Id string - The id of rocketmq instance.
- str
- The default authority of the rocketmq topic. Valid values:
ALL
,PUB
,SUB
,DENY
. Default isDENY
. - description str
- The description of the rocketmq topic. The description is used to effectively distinguish and manage keys. Please use different descriptions for each key.
- instance_
id str - The id of rocketmq instance.
- String
- The default authority of the rocketmq topic. Valid values:
ALL
,PUB
,SUB
,DENY
. Default isDENY
. - description String
- The description of the rocketmq topic. The description is used to effectively distinguish and manage keys. Please use different descriptions for each key.
- instance
Id String - The id of rocketmq instance.
Outputs
All input properties are implicitly available as output properties. Additionally, the RocketMQAccessKey resource produces the following output properties:
- Access
Key string - The access key id of the rocketmq key.
- Acl
Config stringJson - The acl config of the rocketmq key.
- Actived bool
- The active status of the rocketmq key.
- Create
Time string - The create time of the rocketmq key.
- Id string
- The provider-assigned unique ID for this managed resource.
- Secret
Key string - The secret key of the rocketmq key.
- Topic
Permissions List<RocketMQAccess Key Topic Permission> - The custom authority of the rocketmq key.
- Access
Key string - The access key id of the rocketmq key.
- Acl
Config stringJson - The acl config of the rocketmq key.
- Actived bool
- The active status of the rocketmq key.
- Create
Time string - The create time of the rocketmq key.
- Id string
- The provider-assigned unique ID for this managed resource.
- Secret
Key string - The secret key of the rocketmq key.
- Topic
Permissions []RocketMQAccess Key Topic Permission - The custom authority of the rocketmq key.
- access
Key String - The access key id of the rocketmq key.
- acl
Config StringJson - The acl config of the rocketmq key.
- actived Boolean
- The active status of the rocketmq key.
- create
Time String - The create time of the rocketmq key.
- id String
- The provider-assigned unique ID for this managed resource.
- secret
Key String - The secret key of the rocketmq key.
- topic
Permissions List<RocketMQAccess Key Topic Permission> - The custom authority of the rocketmq key.
- access
Key string - The access key id of the rocketmq key.
- acl
Config stringJson - The acl config of the rocketmq key.
- actived boolean
- The active status of the rocketmq key.
- create
Time string - The create time of the rocketmq key.
- id string
- The provider-assigned unique ID for this managed resource.
- secret
Key string - The secret key of the rocketmq key.
- topic
Permissions RocketMQAccess Key Topic Permission[] - The custom authority of the rocketmq key.
- access_
key str - The access key id of the rocketmq key.
- acl_
config_ strjson - The acl config of the rocketmq key.
- actived bool
- The active status of the rocketmq key.
- create_
time str - The create time of the rocketmq key.
- id str
- The provider-assigned unique ID for this managed resource.
- secret_
key str - The secret key of the rocketmq key.
- topic_
permissions Sequence[RocketMQAccess Key Topic Permission] - The custom authority of the rocketmq key.
- access
Key String - The access key id of the rocketmq key.
- acl
Config StringJson - The acl config of the rocketmq key.
- actived Boolean
- The active status of the rocketmq key.
- create
Time String - The create time of the rocketmq key.
- id String
- The provider-assigned unique ID for this managed resource.
- secret
Key String - The secret key of the rocketmq key.
- topic
Permissions List<Property Map> - The custom authority of the rocketmq key.
Look up Existing RocketMQAccessKey Resource
Get an existing RocketMQAccessKey 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?: RocketMQAccessKeyState, opts?: CustomResourceOptions): RocketMQAccessKey
@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[RocketMQAccessKeyTopicPermissionArgs]] = None) -> RocketMQAccessKey
func GetRocketMQAccessKey(ctx *Context, name string, id IDInput, state *RocketMQAccessKeyState, opts ...ResourceOption) (*RocketMQAccessKey, error)
public static RocketMQAccessKey Get(string name, Input<string> id, RocketMQAccessKeyState? state, CustomResourceOptions? opts = null)
public static RocketMQAccessKey get(String name, Output<String> id, RocketMQAccessKeyState state, CustomResourceOptions options)
resources: _: type: volcengine:rocketmq:RocketMQAccessKey get: 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 string - The access key id of the rocketmq key.
- Acl
Config stringJson - The acl config of the rocketmq key.
- Actived bool
- The active status of the rocketmq key.
- string
- The default authority of the rocketmq topic. Valid values:
ALL
,PUB
,SUB
,DENY
. Default isDENY
. - Create
Time string - The create time of the rocketmq key.
- Description string
- The description of the rocketmq topic. The description is used to effectively distinguish and manage keys. Please use different descriptions for each key.
- Instance
Id string - The id of rocketmq instance.
- Secret
Key string - The secret key of the rocketmq key.
- Topic
Permissions List<RocketMQAccess Key Topic Permission> - The custom authority of the rocketmq key.
- Access
Key string - The access key id of the rocketmq key.
- Acl
Config stringJson - The acl config of the rocketmq key.
- Actived bool
- The active status of the rocketmq key.
- string
- The default authority of the rocketmq topic. Valid values:
ALL
,PUB
,SUB
,DENY
. Default isDENY
. - Create
Time string - The create time of the rocketmq key.
- Description string
- The description of the rocketmq topic. The description is used to effectively distinguish and manage keys. Please use different descriptions for each key.
- Instance
Id string - The id of rocketmq instance.
- Secret
Key string - The secret key of the rocketmq key.
- Topic
Permissions []RocketMQAccess Key Topic Permission Args - The custom authority of the rocketmq key.
- access
Key String - The access key id of the rocketmq key.
- acl
Config StringJson - The acl config of the rocketmq key.
- actived Boolean
- The active status of the rocketmq key.
- String
- The default authority of the rocketmq topic. Valid values:
ALL
,PUB
,SUB
,DENY
. Default isDENY
. - create
Time String - The create time of the rocketmq key.
- description String
- The description of the rocketmq topic. The description is used to effectively distinguish and manage keys. Please use different descriptions for each key.
- instance
Id String - The id of rocketmq instance.
- secret
Key String - The secret key of the rocketmq key.
- topic
Permissions List<RocketMQAccess Key Topic Permission> - The custom authority of the rocketmq key.
- access
Key string - The access key id of the rocketmq key.
- acl
Config stringJson - The acl config of the rocketmq key.
- actived boolean
- The active status of the rocketmq key.
- string
- The default authority of the rocketmq topic. Valid values:
ALL
,PUB
,SUB
,DENY
. Default isDENY
. - create
Time string - The create time of the rocketmq key.
- description string
- The description of the rocketmq topic. The description is used to effectively distinguish and manage keys. Please use different descriptions for each key.
- instance
Id string - The id of rocketmq instance.
- secret
Key string - The secret key of the rocketmq key.
- topic
Permissions RocketMQAccess Key Topic Permission[] - The custom authority of the rocketmq key.
- access_
key str - The access key id of the rocketmq key.
- acl_
config_ strjson - The acl config of the rocketmq key.
- actived bool
- The active status of the rocketmq key.
- str
- The default authority of the rocketmq topic. Valid values:
ALL
,PUB
,SUB
,DENY
. Default isDENY
. - create_
time str - The create time of the rocketmq key.
- description str
- The description of the rocketmq topic. The description is used to effectively distinguish and manage keys. Please use different descriptions for each key.
- instance_
id str - The id of rocketmq instance.
- secret_
key str - The secret key of the rocketmq key.
- topic_
permissions Sequence[RocketMQAccess Key Topic Permission Args] - The custom authority of the rocketmq key.
- access
Key String - The access key id of the rocketmq key.
- acl
Config StringJson - The acl config of the rocketmq key.
- actived Boolean
- The active status of the rocketmq key.
- String
- The default authority of the rocketmq topic. Valid values:
ALL
,PUB
,SUB
,DENY
. Default isDENY
. - create
Time String - The create time of the rocketmq key.
- description String
- The description of the rocketmq topic. The description is used to effectively distinguish and manage keys. Please use different descriptions for each key.
- instance
Id String - The id of rocketmq instance.
- secret
Key String - The secret key of the rocketmq key.
- topic
Permissions List<Property Map> - The custom authority of the rocketmq key.
Supporting Types
RocketMQAccessKeyTopicPermission, RocketMQAccessKeyTopicPermissionArgs
- Permission string
- The custom authority for the topic.
- Topic
Name string - The name of the rocketmq topic.
- Permission string
- The custom authority for the topic.
- Topic
Name string - The name of the rocketmq topic.
- permission String
- The custom authority for the topic.
- topic
Name String - The name of the rocketmq topic.
- permission string
- The custom authority for the topic.
- topic
Name string - The name of the rocketmq topic.
- permission str
- The custom authority for the topic.
- topic_
name str - The name of the rocketmq topic.
- permission String
- The custom authority for the topic.
- topic
Name String - The name of the rocketmq topic.
Import
RocketmqAccessKey can be imported using the instance_id:access_key, e.g.
$ pulumi import volcengine:rocketmq/rocketMQAccessKey:RocketMQAccessKey default resource_id
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengine
Terraform Provider.