Skip to content

AccountProps

Properties for defining a Account.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-amqp-account

Initializer

import { AccountProps } from '@alicloud/ros-cdk-amqp'
const accountProps: AccountProps = { ... }

Properties

Name Type Description
accountAccessKey string | @alicloud/ros-cdk-core.IResolvable Property accountAccessKey: Your Alibaba Cloud account or RAM user's AccessKey ID.
accountAccessKeySecret string | @alicloud/ros-cdk-core.IResolvable Property accountAccessKeySecret: Your Alibaba Cloud account or RAM user's AccessKeySecret.
instanceId string | @alicloud/ros-cdk-core.IResolvable Property instanceId: Message Queue The ID of the RabbitMQ version instance, indicating which instance you need to create a static username and password.

accountAccessKeyRequired

public readonly accountAccessKey: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property accountAccessKey: Your Alibaba Cloud account or RAM user's AccessKey ID.

For obtaining it, visit RAM console. If you use the static username and password created by the AccessKey of the RAM user to access the RabbitMQ version of the message queue and send and receive messages, make sure that the RAM user has been granted the permission of sending and receiving messages. For more information, see RAM permissions policy.


accountAccessKeySecretRequired

public readonly accountAccessKeySecret: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property accountAccessKeySecret: Your Alibaba Cloud account or RAM user's AccessKeySecret.


instanceIdRequired

public readonly instanceId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property instanceId: Message Queue The ID of the RabbitMQ version instance, indicating which instance you need to create a static username and password.