flexibleengine.DmsRocketmqUser
Explore with Pulumi AI
Manages DMS RocketMQ user resources within FlexibleEngine.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as flexibleengine from "@pulumi/flexibleengine";
const config = new pulumi.Config();
const instanceId = config.requireObject("instanceId");
const test = new flexibleengine.DmsRocketmqUser("test", {
instanceId: instanceId,
accessKey: "user_test",
secretKey: "abcdefg",
whiteRemoteAddress: "10.10.10.10",
admin: false,
defaultTopicPerm: "PUB",
defaultGroupPerm: "PUB",
topicPerms: [{
name: "topic_name",
perm: "PUB",
}],
groupPerms: [{
name: "group_name",
perm: "PUB",
}],
});
import pulumi
import pulumi_flexibleengine as flexibleengine
config = pulumi.Config()
instance_id = config.require_object("instanceId")
test = flexibleengine.DmsRocketmqUser("test",
instance_id=instance_id,
access_key="user_test",
secret_key="abcdefg",
white_remote_address="10.10.10.10",
admin=False,
default_topic_perm="PUB",
default_group_perm="PUB",
topic_perms=[{
"name": "topic_name",
"perm": "PUB",
}],
group_perms=[{
"name": "group_name",
"perm": "PUB",
}])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/flexibleengine/flexibleengine"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
instanceId := cfg.RequireObject("instanceId")
_, err := flexibleengine.NewDmsRocketmqUser(ctx, "test", &flexibleengine.DmsRocketmqUserArgs{
InstanceId: pulumi.Any(instanceId),
AccessKey: pulumi.String("user_test"),
SecretKey: pulumi.String("abcdefg"),
WhiteRemoteAddress: pulumi.String("10.10.10.10"),
Admin: pulumi.Bool(false),
DefaultTopicPerm: pulumi.String("PUB"),
DefaultGroupPerm: pulumi.String("PUB"),
TopicPerms: flexibleengine.DmsRocketmqUserTopicPermArray{
&flexibleengine.DmsRocketmqUserTopicPermArgs{
Name: pulumi.String("topic_name"),
Perm: pulumi.String("PUB"),
},
},
GroupPerms: flexibleengine.DmsRocketmqUserGroupPermArray{
&flexibleengine.DmsRocketmqUserGroupPermArgs{
Name: pulumi.String("group_name"),
Perm: pulumi.String("PUB"),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Flexibleengine = Pulumi.Flexibleengine;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var instanceId = config.RequireObject<dynamic>("instanceId");
var test = new Flexibleengine.DmsRocketmqUser("test", new()
{
InstanceId = instanceId,
AccessKey = "user_test",
SecretKey = "abcdefg",
WhiteRemoteAddress = "10.10.10.10",
Admin = false,
DefaultTopicPerm = "PUB",
DefaultGroupPerm = "PUB",
TopicPerms = new[]
{
new Flexibleengine.Inputs.DmsRocketmqUserTopicPermArgs
{
Name = "topic_name",
Perm = "PUB",
},
},
GroupPerms = new[]
{
new Flexibleengine.Inputs.DmsRocketmqUserGroupPermArgs
{
Name = "group_name",
Perm = "PUB",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.flexibleengine.DmsRocketmqUser;
import com.pulumi.flexibleengine.DmsRocketmqUserArgs;
import com.pulumi.flexibleengine.inputs.DmsRocketmqUserTopicPermArgs;
import com.pulumi.flexibleengine.inputs.DmsRocketmqUserGroupPermArgs;
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 config = ctx.config();
final var instanceId = config.get("instanceId");
var test = new DmsRocketmqUser("test", DmsRocketmqUserArgs.builder()
.instanceId(instanceId)
.accessKey("user_test")
.secretKey("abcdefg")
.whiteRemoteAddress("10.10.10.10")
.admin(false)
.defaultTopicPerm("PUB")
.defaultGroupPerm("PUB")
.topicPerms(DmsRocketmqUserTopicPermArgs.builder()
.name("topic_name")
.perm("PUB")
.build())
.groupPerms(DmsRocketmqUserGroupPermArgs.builder()
.name("group_name")
.perm("PUB")
.build())
.build());
}
}
configuration:
instanceId:
type: dynamic
resources:
test:
type: flexibleengine:DmsRocketmqUser
properties:
instanceId: ${instanceId}
accessKey: user_test
secretKey: abcdefg
whiteRemoteAddress: 10.10.10.10
admin: false
defaultTopicPerm: PUB
defaultGroupPerm: PUB
topicPerms:
- name: topic_name
perm: PUB
groupPerms:
- name: group_name
perm: PUB
Create DmsRocketmqUser Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DmsRocketmqUser(name: string, args: DmsRocketmqUserArgs, opts?: CustomResourceOptions);
@overload
def DmsRocketmqUser(resource_name: str,
args: DmsRocketmqUserArgs,
opts: Optional[ResourceOptions] = None)
@overload
def DmsRocketmqUser(resource_name: str,
opts: Optional[ResourceOptions] = None,
access_key: Optional[str] = None,
instance_id: Optional[str] = None,
secret_key: Optional[str] = None,
admin: Optional[bool] = None,
default_group_perm: Optional[str] = None,
default_topic_perm: Optional[str] = None,
dms_rocketmq_user_id: Optional[str] = None,
group_perms: Optional[Sequence[DmsRocketmqUserGroupPermArgs]] = None,
region: Optional[str] = None,
topic_perms: Optional[Sequence[DmsRocketmqUserTopicPermArgs]] = None,
white_remote_address: Optional[str] = None)
func NewDmsRocketmqUser(ctx *Context, name string, args DmsRocketmqUserArgs, opts ...ResourceOption) (*DmsRocketmqUser, error)
public DmsRocketmqUser(string name, DmsRocketmqUserArgs args, CustomResourceOptions? opts = null)
public DmsRocketmqUser(String name, DmsRocketmqUserArgs args)
public DmsRocketmqUser(String name, DmsRocketmqUserArgs args, CustomResourceOptions options)
type: flexibleengine:DmsRocketmqUser
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 DmsRocketmqUserArgs
- 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 DmsRocketmqUserArgs
- 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 DmsRocketmqUserArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DmsRocketmqUserArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DmsRocketmqUserArgs
- 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 dmsRocketmqUserResource = new Flexibleengine.DmsRocketmqUser("dmsRocketmqUserResource", new()
{
AccessKey = "string",
InstanceId = "string",
SecretKey = "string",
Admin = false,
DefaultGroupPerm = "string",
DefaultTopicPerm = "string",
DmsRocketmqUserId = "string",
GroupPerms = new[]
{
new Flexibleengine.Inputs.DmsRocketmqUserGroupPermArgs
{
Name = "string",
Perm = "string",
},
},
Region = "string",
TopicPerms = new[]
{
new Flexibleengine.Inputs.DmsRocketmqUserTopicPermArgs
{
Name = "string",
Perm = "string",
},
},
WhiteRemoteAddress = "string",
});
example, err := flexibleengine.NewDmsRocketmqUser(ctx, "dmsRocketmqUserResource", &flexibleengine.DmsRocketmqUserArgs{
AccessKey: pulumi.String("string"),
InstanceId: pulumi.String("string"),
SecretKey: pulumi.String("string"),
Admin: pulumi.Bool(false),
DefaultGroupPerm: pulumi.String("string"),
DefaultTopicPerm: pulumi.String("string"),
DmsRocketmqUserId: pulumi.String("string"),
GroupPerms: flexibleengine.DmsRocketmqUserGroupPermArray{
&flexibleengine.DmsRocketmqUserGroupPermArgs{
Name: pulumi.String("string"),
Perm: pulumi.String("string"),
},
},
Region: pulumi.String("string"),
TopicPerms: flexibleengine.DmsRocketmqUserTopicPermArray{
&flexibleengine.DmsRocketmqUserTopicPermArgs{
Name: pulumi.String("string"),
Perm: pulumi.String("string"),
},
},
WhiteRemoteAddress: pulumi.String("string"),
})
var dmsRocketmqUserResource = new DmsRocketmqUser("dmsRocketmqUserResource", DmsRocketmqUserArgs.builder()
.accessKey("string")
.instanceId("string")
.secretKey("string")
.admin(false)
.defaultGroupPerm("string")
.defaultTopicPerm("string")
.dmsRocketmqUserId("string")
.groupPerms(DmsRocketmqUserGroupPermArgs.builder()
.name("string")
.perm("string")
.build())
.region("string")
.topicPerms(DmsRocketmqUserTopicPermArgs.builder()
.name("string")
.perm("string")
.build())
.whiteRemoteAddress("string")
.build());
dms_rocketmq_user_resource = flexibleengine.DmsRocketmqUser("dmsRocketmqUserResource",
access_key="string",
instance_id="string",
secret_key="string",
admin=False,
default_group_perm="string",
default_topic_perm="string",
dms_rocketmq_user_id="string",
group_perms=[{
"name": "string",
"perm": "string",
}],
region="string",
topic_perms=[{
"name": "string",
"perm": "string",
}],
white_remote_address="string")
const dmsRocketmqUserResource = new flexibleengine.DmsRocketmqUser("dmsRocketmqUserResource", {
accessKey: "string",
instanceId: "string",
secretKey: "string",
admin: false,
defaultGroupPerm: "string",
defaultTopicPerm: "string",
dmsRocketmqUserId: "string",
groupPerms: [{
name: "string",
perm: "string",
}],
region: "string",
topicPerms: [{
name: "string",
perm: "string",
}],
whiteRemoteAddress: "string",
});
type: flexibleengine:DmsRocketmqUser
properties:
accessKey: string
admin: false
defaultGroupPerm: string
defaultTopicPerm: string
dmsRocketmqUserId: string
groupPerms:
- name: string
perm: string
instanceId: string
region: string
secretKey: string
topicPerms:
- name: string
perm: string
whiteRemoteAddress: string
DmsRocketmqUser 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 DmsRocketmqUser resource accepts the following input properties:
- Access
Key string - Specifies the access key of the user. Changing this parameter will create a new resource.
- Instance
Id string - Specifies the ID of the rocketMQ instance. Changing this parameter will create a new resource.
- Secret
Key string - Specifies the secret key of the user. Changing this parameter will create a new resource.
- Admin bool
- Specifies whether the user is an administrator.
- Default
Group stringPerm - Specifies the default consumer group permissions. Value options: PUB|SUB, PUB, SUB, DENY.
- Default
Topic stringPerm - Specifies the default topic permissions. Value options: PUB|SUB, PUB, SUB, DENY.
- Dms
Rocketmq stringUser Id - The resource ID.
- Group
Perms List<DmsRocketmq User Group Perm> Specifies the special consumer group permissions. The permission structure is documented below.
The
topic_perms
andgroup_perms
block supports:- Region string
- Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
- Topic
Perms List<DmsRocketmq User Topic Perm> - Specifies the special topic permissions. The permission structure is documented below.
- White
Remote stringAddress - Specifies the IP address whitelist.
- Access
Key string - Specifies the access key of the user. Changing this parameter will create a new resource.
- Instance
Id string - Specifies the ID of the rocketMQ instance. Changing this parameter will create a new resource.
- Secret
Key string - Specifies the secret key of the user. Changing this parameter will create a new resource.
- Admin bool
- Specifies whether the user is an administrator.
- Default
Group stringPerm - Specifies the default consumer group permissions. Value options: PUB|SUB, PUB, SUB, DENY.
- Default
Topic stringPerm - Specifies the default topic permissions. Value options: PUB|SUB, PUB, SUB, DENY.
- Dms
Rocketmq stringUser Id - The resource ID.
- Group
Perms []DmsRocketmq User Group Perm Args Specifies the special consumer group permissions. The permission structure is documented below.
The
topic_perms
andgroup_perms
block supports:- Region string
- Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
- Topic
Perms []DmsRocketmq User Topic Perm Args - Specifies the special topic permissions. The permission structure is documented below.
- White
Remote stringAddress - Specifies the IP address whitelist.
- access
Key String - Specifies the access key of the user. Changing this parameter will create a new resource.
- instance
Id String - Specifies the ID of the rocketMQ instance. Changing this parameter will create a new resource.
- secret
Key String - Specifies the secret key of the user. Changing this parameter will create a new resource.
- admin Boolean
- Specifies whether the user is an administrator.
- default
Group StringPerm - Specifies the default consumer group permissions. Value options: PUB|SUB, PUB, SUB, DENY.
- default
Topic StringPerm - Specifies the default topic permissions. Value options: PUB|SUB, PUB, SUB, DENY.
- dms
Rocketmq StringUser Id - The resource ID.
- group
Perms List<DmsRocketmq User Group Perm> Specifies the special consumer group permissions. The permission structure is documented below.
The
topic_perms
andgroup_perms
block supports:- region String
- Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
- topic
Perms List<DmsRocketmq User Topic Perm> - Specifies the special topic permissions. The permission structure is documented below.
- white
Remote StringAddress - Specifies the IP address whitelist.
- access
Key string - Specifies the access key of the user. Changing this parameter will create a new resource.
- instance
Id string - Specifies the ID of the rocketMQ instance. Changing this parameter will create a new resource.
- secret
Key string - Specifies the secret key of the user. Changing this parameter will create a new resource.
- admin boolean
- Specifies whether the user is an administrator.
- default
Group stringPerm - Specifies the default consumer group permissions. Value options: PUB|SUB, PUB, SUB, DENY.
- default
Topic stringPerm - Specifies the default topic permissions. Value options: PUB|SUB, PUB, SUB, DENY.
- dms
Rocketmq stringUser Id - The resource ID.
- group
Perms DmsRocketmq User Group Perm[] Specifies the special consumer group permissions. The permission structure is documented below.
The
topic_perms
andgroup_perms
block supports:- region string
- Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
- topic
Perms DmsRocketmq User Topic Perm[] - Specifies the special topic permissions. The permission structure is documented below.
- white
Remote stringAddress - Specifies the IP address whitelist.
- access_
key str - Specifies the access key of the user. Changing this parameter will create a new resource.
- instance_
id str - Specifies the ID of the rocketMQ instance. Changing this parameter will create a new resource.
- secret_
key str - Specifies the secret key of the user. Changing this parameter will create a new resource.
- admin bool
- Specifies whether the user is an administrator.
- default_
group_ strperm - Specifies the default consumer group permissions. Value options: PUB|SUB, PUB, SUB, DENY.
- default_
topic_ strperm - Specifies the default topic permissions. Value options: PUB|SUB, PUB, SUB, DENY.
- dms_
rocketmq_ struser_ id - The resource ID.
- group_
perms Sequence[DmsRocketmq User Group Perm Args] Specifies the special consumer group permissions. The permission structure is documented below.
The
topic_perms
andgroup_perms
block supports:- region str
- Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
- topic_
perms Sequence[DmsRocketmq User Topic Perm Args] - Specifies the special topic permissions. The permission structure is documented below.
- white_
remote_ straddress - Specifies the IP address whitelist.
- access
Key String - Specifies the access key of the user. Changing this parameter will create a new resource.
- instance
Id String - Specifies the ID of the rocketMQ instance. Changing this parameter will create a new resource.
- secret
Key String - Specifies the secret key of the user. Changing this parameter will create a new resource.
- admin Boolean
- Specifies whether the user is an administrator.
- default
Group StringPerm - Specifies the default consumer group permissions. Value options: PUB|SUB, PUB, SUB, DENY.
- default
Topic StringPerm - Specifies the default topic permissions. Value options: PUB|SUB, PUB, SUB, DENY.
- dms
Rocketmq StringUser Id - The resource ID.
- group
Perms List<Property Map> Specifies the special consumer group permissions. The permission structure is documented below.
The
topic_perms
andgroup_perms
block supports:- region String
- Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
- topic
Perms List<Property Map> - Specifies the special topic permissions. The permission structure is documented below.
- white
Remote StringAddress - Specifies the IP address whitelist.
Outputs
All input properties are implicitly available as output properties. Additionally, the DmsRocketmqUser resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing DmsRocketmqUser Resource
Get an existing DmsRocketmqUser 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?: DmsRocketmqUserState, opts?: CustomResourceOptions): DmsRocketmqUser
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
access_key: Optional[str] = None,
admin: Optional[bool] = None,
default_group_perm: Optional[str] = None,
default_topic_perm: Optional[str] = None,
dms_rocketmq_user_id: Optional[str] = None,
group_perms: Optional[Sequence[DmsRocketmqUserGroupPermArgs]] = None,
instance_id: Optional[str] = None,
region: Optional[str] = None,
secret_key: Optional[str] = None,
topic_perms: Optional[Sequence[DmsRocketmqUserTopicPermArgs]] = None,
white_remote_address: Optional[str] = None) -> DmsRocketmqUser
func GetDmsRocketmqUser(ctx *Context, name string, id IDInput, state *DmsRocketmqUserState, opts ...ResourceOption) (*DmsRocketmqUser, error)
public static DmsRocketmqUser Get(string name, Input<string> id, DmsRocketmqUserState? state, CustomResourceOptions? opts = null)
public static DmsRocketmqUser get(String name, Output<String> id, DmsRocketmqUserState state, CustomResourceOptions options)
resources: _: type: flexibleengine:DmsRocketmqUser 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 - Specifies the access key of the user. Changing this parameter will create a new resource.
- Admin bool
- Specifies whether the user is an administrator.
- Default
Group stringPerm - Specifies the default consumer group permissions. Value options: PUB|SUB, PUB, SUB, DENY.
- Default
Topic stringPerm - Specifies the default topic permissions. Value options: PUB|SUB, PUB, SUB, DENY.
- Dms
Rocketmq stringUser Id - The resource ID.
- Group
Perms List<DmsRocketmq User Group Perm> Specifies the special consumer group permissions. The permission structure is documented below.
The
topic_perms
andgroup_perms
block supports:- Instance
Id string - Specifies the ID of the rocketMQ instance. Changing this parameter will create a new resource.
- Region string
- Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
- Secret
Key string - Specifies the secret key of the user. Changing this parameter will create a new resource.
- Topic
Perms List<DmsRocketmq User Topic Perm> - Specifies the special topic permissions. The permission structure is documented below.
- White
Remote stringAddress - Specifies the IP address whitelist.
- Access
Key string - Specifies the access key of the user. Changing this parameter will create a new resource.
- Admin bool
- Specifies whether the user is an administrator.
- Default
Group stringPerm - Specifies the default consumer group permissions. Value options: PUB|SUB, PUB, SUB, DENY.
- Default
Topic stringPerm - Specifies the default topic permissions. Value options: PUB|SUB, PUB, SUB, DENY.
- Dms
Rocketmq stringUser Id - The resource ID.
- Group
Perms []DmsRocketmq User Group Perm Args Specifies the special consumer group permissions. The permission structure is documented below.
The
topic_perms
andgroup_perms
block supports:- Instance
Id string - Specifies the ID of the rocketMQ instance. Changing this parameter will create a new resource.
- Region string
- Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
- Secret
Key string - Specifies the secret key of the user. Changing this parameter will create a new resource.
- Topic
Perms []DmsRocketmq User Topic Perm Args - Specifies the special topic permissions. The permission structure is documented below.
- White
Remote stringAddress - Specifies the IP address whitelist.
- access
Key String - Specifies the access key of the user. Changing this parameter will create a new resource.
- admin Boolean
- Specifies whether the user is an administrator.
- default
Group StringPerm - Specifies the default consumer group permissions. Value options: PUB|SUB, PUB, SUB, DENY.
- default
Topic StringPerm - Specifies the default topic permissions. Value options: PUB|SUB, PUB, SUB, DENY.
- dms
Rocketmq StringUser Id - The resource ID.
- group
Perms List<DmsRocketmq User Group Perm> Specifies the special consumer group permissions. The permission structure is documented below.
The
topic_perms
andgroup_perms
block supports:- instance
Id String - Specifies the ID of the rocketMQ instance. Changing this parameter will create a new resource.
- region String
- Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
- secret
Key String - Specifies the secret key of the user. Changing this parameter will create a new resource.
- topic
Perms List<DmsRocketmq User Topic Perm> - Specifies the special topic permissions. The permission structure is documented below.
- white
Remote StringAddress - Specifies the IP address whitelist.
- access
Key string - Specifies the access key of the user. Changing this parameter will create a new resource.
- admin boolean
- Specifies whether the user is an administrator.
- default
Group stringPerm - Specifies the default consumer group permissions. Value options: PUB|SUB, PUB, SUB, DENY.
- default
Topic stringPerm - Specifies the default topic permissions. Value options: PUB|SUB, PUB, SUB, DENY.
- dms
Rocketmq stringUser Id - The resource ID.
- group
Perms DmsRocketmq User Group Perm[] Specifies the special consumer group permissions. The permission structure is documented below.
The
topic_perms
andgroup_perms
block supports:- instance
Id string - Specifies the ID of the rocketMQ instance. Changing this parameter will create a new resource.
- region string
- Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
- secret
Key string - Specifies the secret key of the user. Changing this parameter will create a new resource.
- topic
Perms DmsRocketmq User Topic Perm[] - Specifies the special topic permissions. The permission structure is documented below.
- white
Remote stringAddress - Specifies the IP address whitelist.
- access_
key str - Specifies the access key of the user. Changing this parameter will create a new resource.
- admin bool
- Specifies whether the user is an administrator.
- default_
group_ strperm - Specifies the default consumer group permissions. Value options: PUB|SUB, PUB, SUB, DENY.
- default_
topic_ strperm - Specifies the default topic permissions. Value options: PUB|SUB, PUB, SUB, DENY.
- dms_
rocketmq_ struser_ id - The resource ID.
- group_
perms Sequence[DmsRocketmq User Group Perm Args] Specifies the special consumer group permissions. The permission structure is documented below.
The
topic_perms
andgroup_perms
block supports:- instance_
id str - Specifies the ID of the rocketMQ instance. Changing this parameter will create a new resource.
- region str
- Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
- secret_
key str - Specifies the secret key of the user. Changing this parameter will create a new resource.
- topic_
perms Sequence[DmsRocketmq User Topic Perm Args] - Specifies the special topic permissions. The permission structure is documented below.
- white_
remote_ straddress - Specifies the IP address whitelist.
- access
Key String - Specifies the access key of the user. Changing this parameter will create a new resource.
- admin Boolean
- Specifies whether the user is an administrator.
- default
Group StringPerm - Specifies the default consumer group permissions. Value options: PUB|SUB, PUB, SUB, DENY.
- default
Topic StringPerm - Specifies the default topic permissions. Value options: PUB|SUB, PUB, SUB, DENY.
- dms
Rocketmq StringUser Id - The resource ID.
- group
Perms List<Property Map> Specifies the special consumer group permissions. The permission structure is documented below.
The
topic_perms
andgroup_perms
block supports:- instance
Id String - Specifies the ID of the rocketMQ instance. Changing this parameter will create a new resource.
- region String
- Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
- secret
Key String - Specifies the secret key of the user. Changing this parameter will create a new resource.
- topic
Perms List<Property Map> - Specifies the special topic permissions. The permission structure is documented below.
- white
Remote StringAddress - Specifies the IP address whitelist.
Supporting Types
DmsRocketmqUserGroupPerm, DmsRocketmqUserGroupPermArgs
DmsRocketmqUserTopicPerm, DmsRocketmqUserTopicPermArgs
Import
The rocketmq user can be imported using the rocketMQ instance ID and user access key separated by a slash, e.g.
$ pulumi import flexibleengine:index/dmsRocketmqUser:DmsRocketmqUser test c8057fe5-23a8-46ef-ad83-c0055b4e0c5c/access_key
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- flexibleengine flexibleenginecloud/terraform-provider-flexibleengine
- License
- Notes
- This Pulumi package is based on the
flexibleengine
Terraform Provider.