Skip to content

BindingProps

Properties for defining a Binding.

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

Initializer

import ros_cdk_amqp
ros_cdk_amqp.BindingProps(
  argument: typing.Union[str, IResolvable],
  binding_key: typing.Union[str, IResolvable],
  binding_type: typing.Union[str, IResolvable],
  destination_name: typing.Union[str, IResolvable],
  instance_id: typing.Union[str, IResolvable],
  source_exchange: typing.Union[str, IResolvable],
  virtual_host: typing.Union[str, IResolvable]
)

Properties

Name Type Description
argument typing.Union[str, ros_cdk_core.IResolvable] Property argument: X-match Attributes.
binding_key typing.Union[str, ros_cdk_core.IResolvable] Property bindingKey: The Binding Key.
binding_type typing.Union[str, ros_cdk_core.IResolvable] Property bindingType: The Target Binding Types.
destination_name typing.Union[str, ros_cdk_core.IResolvable] Property destinationName: The Target Queue Or Exchange of the Name.
instance_id typing.Union[str, ros_cdk_core.IResolvable] Property instanceId: InstanceId.
source_exchange typing.Union[str, ros_cdk_core.IResolvable] Property sourceExchange: The Source Exchange Name.
virtual_host typing.Union[str, ros_cdk_core.IResolvable] Property virtualHost: The name of the virtual host.

argumentRequired

argument: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

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.


binding_keyRequired

binding_key: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property bindingKey: The Binding Key.


binding_typeRequired

binding_type: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property bindingType: The Target Binding Types.

Valid values: EXCHANGE, QUEUE.


destination_nameRequired

destination_name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

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


instance_idRequired

instance_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property instanceId: InstanceId.


source_exchangeRequired

source_exchange: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property sourceExchange: The Source Exchange Name.


virtual_hostRequired

virtual_host: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property virtualHost: The name of the virtual host.