Skip to content

SubscriptionsProps

Properties for defining a Subscriptions.

See https://www.alibabacloud.com/help/ros/developer-reference/datasource-mns-subscriptions

Initializer

import com.aliyun.ros.cdk.mns.datasource.SubscriptionsProps;
SubscriptionsProps.builder()
    .topicName(java.lang.String)
    .topicName(IResolvable)
//  .refreshOptions(java.lang.String)
//  .refreshOptions(IResolvable)
//  .subscriptionName(java.lang.String)
//  .subscriptionName(IResolvable)
    .build();

Properties

Name Type Description
topicName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property topicName: Topic name.
refreshOptions java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
subscriptionName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property subscriptionName: Subscription name.

topicNameRequired

public java.lang.Object getTopicName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property topicName: Topic name.


refreshOptionsOptional

public java.lang.Object getRefreshOptions();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

Valid values:

  • Never: Never refresh the datasource resource when the stack is updated.
  • Always: Always refresh the datasource resource when the stack is updated. Default is Never.

subscriptionNameOptional

public java.lang.Object getSubscriptionName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property subscriptionName: Subscription name.