Skip to main content
版本:v1.3

阿里云 MNS-TOPIC

描述​

Create a topic and a subscription based on Terraform module

参数说明​

属性​

名称描述类型是否必须默认值
endpointDescribe the terminal address of the message received in this subscription. email format: mail:directmail:XXX@YYY.com , queue format: http(s)://AccountId.mns.regionId.aliyuncs.com/, http format: http(s)://www.xxx.com/xxxstringfalse
filter_tagMessage Filter Labelstringfalse
logging_enabledis log enabled ?boolfalse
maximum_message_sizeThis indicates the maximum length, in bytes, of any message body sent to the topic. Valid value range: 1024-65536, i.e., 1K to 64K.numberfalse
notify_content_formatThe NotifyContentFormat attribute of Subscription. This attribute specifies the content format of the messages pushed to users. the attribute has two value SIMPLIFIED or XMLstringfalse
notify_strategyThe NotifyStrategy attribute of Subscription. This attribute specifies the retry strategy when message sending fails. the attribute has two value EXPONENTIAL_DECAY_RETR or BACKOFF_RETRYstringfalse
region(Deprecated from version 1.2.0) The region used to launch this module resources.stringfalse
subscription_namethe Subscription Name,Two subcription Name on a single topic in the same region cannot have the same name.A subscription name must start with an English letter or a digit, and can contain English letters, digits, and hyphens, with the length not exceeding 256 characters.stringfalse
topic_nameTwo topics on a single account in the same region cannot have the same name. A topic name must start with an English letter or a digit, and can contain English letters, digits, and hyphens, with the length not exceeding 256 characters.stringfalse
writeConnectionSecretToRefThe secret which the cloud resource connection will be written towriteConnectionSecretToReffalse

writeConnectionSecretToRef​

名称描述类型是否必须默认值
nameThe secret name which the cloud resource connection will be written tostringtrue
namespaceThe secret namespace which the cloud resource connection will be written tostringfalse