Skip to content

BindingProps

Properties for defining a Binding.

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

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkamqp"
&alicloudroscdkamqp.BindingProps {
    Argument: interface{},
    BindingKey: interface{},
    BindingType: interface{},
    DestinationName: interface{},
    InstanceId: interface{},
    SourceExchange: interface{},
    VirtualHost: interface{},
}

Properties

Name Type Description
Argument interface{} Property argument: X-match Attributes.
BindingKey interface{} Property bindingKey: The Binding Key.
BindingType interface{} Property bindingType: The Target Binding Types.
DestinationName interface{} Property destinationName: The Target Queue Or Exchange of the Name.
InstanceId interface{} Property instanceId: InstanceId.
SourceExchange interface{} Property sourceExchange: The Source Exchange Name.
VirtualHost interface{} Property virtualHost: The name of the virtual host.

ArgumentRequired

Argument interface{}
  • Type: interface{}

Property argument: X-match Attributes.

Valid Values: "x-match:all": Default Value, All the Message Header of Key-Value Pairs Stored in the Must Match. "x-match:any": at Least One Pair of the Message Header of Key-Value Pairs Stored in the Must Match.


BindingKeyRequired

BindingKey interface{}
  • Type: interface{}

Property bindingKey: The Binding Key.


BindingTypeRequired

BindingType interface{}
  • Type: interface{}

Property bindingType: The Target Binding Types.

Valid values: EXCHANGE, QUEUE.


DestinationNameRequired

DestinationName interface{}
  • Type: interface{}

Property destinationName: The Target Queue Or Exchange of the Name.


InstanceIdRequired

InstanceId interface{}
  • Type: interface{}

Property instanceId: InstanceId.


SourceExchangeRequired

SourceExchange interface{}
  • Type: interface{}

Property sourceExchange: The Source Exchange Name.


VirtualHostRequired

VirtualHost interface{}
  • Type: interface{}

Property virtualHost: The name of the virtual host.