
Publish
CertifiedPublish a notification message to a Huawei Cloud SMN topic
Publish
Certified
Publish a notification message to a Huawei Cloud SMN topic
yaml
type: io.kestra.plugin.huawei.smn.PublishExamples
yaml
id: smn_publish
namespace: company.team
tasks:
- id: publish
type: io.kestra.plugin.huawei.smn.Publish
accessKeyId: "{{ secret('HUAWEI_AK') }}"
secretAccessKey: "{{ secret('HUAWEI_SK') }}"
region: eu-west-101
topicUrn: "urn:smn:eu-west-101:0123456789abcdef0123456789abcdef:my-topic"
subject: "Flow completed"
message: "The flow {{ flow.id }} finished successfully."
yaml
id: smn_publish_structured
namespace: company.team
tasks:
- id: publish
type: io.kestra.plugin.huawei.smn.Publish
accessKeyId: "{{ secret('HUAWEI_AK') }}"
secretAccessKey: "{{ secret('HUAWEI_SK') }}"
region: eu-west-101
topicUrn: "urn:smn:eu-west-101:0123456789abcdef0123456789abcdef:my-topic"
messageStructure:
default: "The nightly ETL job finished successfully."
email: "The nightly ETL job finished successfully. See the report attached."
sms: "ETL OK"
Properties
topicUrn *Requiredstring
accessKeyId string
domainId string
endpointOverride string
endpointSuffix string
message string
messageAttributes array
Definitions
io.kestra.plugin.huawei.smn.Publish-MessageAttributeValue
name*Requiredstring
value*Requiredstring
typestring
Default
STRINGmessageStructure object
messageTemplateName string
pluginDefaultsRef Non-dynamicstring
projectId string
region string
secretAccessKey string
securityToken string
subject string
temporaryCredentials string
Definitions
io.kestra.plugin.huawei.TemporaryCredentialsConfig
authMethodstring
Default
PASSWORDPossible Values
PASSWORDTOKENdomainNamestring
durationSecondsintegerstring
Default
900endpointSuffixstring
Default
myhuaweicloud.comiamTokenstring
passwordstring
projectNamestring
scopestring
Default
PROJECTPossible Values
PROJECTDOMAINusernamestring
timeToLive integerstring
Outputs
messageId string
requestId string
Metrics
smn.publish.messages counter
Unit
messages