Skip to content

AccountProps

Properties for defining a Account.

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

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkamqp"
&alicloudroscdkamqp.AccountProps {
    AccountAccessKey: interface{},
    AccountAccessKeySecret: interface{},
    InstanceId: interface{},
}

Properties

Name Type Description
AccountAccessKey interface{} Property accountAccessKey: Your Alibaba Cloud account or RAM user's AccessKey ID.
AccountAccessKeySecret interface{} Property accountAccessKeySecret: Your Alibaba Cloud account or RAM user's AccessKeySecret.
InstanceId interface{} Property instanceId: Message Queue The ID of the RabbitMQ version instance, indicating which instance you need to create a static username and password.

AccountAccessKeyRequired

AccountAccessKey interface{}
  • Type: interface{}

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

AccountAccessKeySecret interface{}
  • Type: interface{}

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


InstanceIdRequired

InstanceId interface{}
  • Type: interface{}

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