Skip to content

ISubscription

  • Extends: com.aliyun.ros.cdk.core.IResource

  • Implemented By: com.aliyun.ros.cdk.mns.datasource.Subscription, com.aliyun.ros.cdk.mns.datasource.ISubscription

Represents a Subscription.

Properties

Name Type Description
node com.aliyun.ros.cdk.core.ConstructNode The construct tree node for this construct.
env com.aliyun.ros.cdk.core.IResourceEnvironment The environment this resource belongs to.
stack com.aliyun.ros.cdk.core.Stack The stack in which this resource is defined.
attrCreateTime java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute CreateTime: The time when the subscription was created.
attrEndpoint java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute Endpoint: The endpoint that is used by the subscriber to receive messages.
attrFilterTag java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute FilterTag: Describes the labels by which messages are filtered in this subscription (only messages with consistent labels are pushed).
attrLastModifyTime java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute LastModifyTime: The time when the subscription was last modified.
attrNotifyContentFormat java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute NotifyContentFormat: The format of the message that is pushed to the endpoint.
attrNotifyStrategy java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute NotifyStrategy: The retry policy that is applied if an error occurs when Message Service (MNS) pushes messages to the endpoint.
attrSubscriptionName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute SubscriptionName: The name of the subscription.
attrSubscriptionUrl java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute SubscriptionURL: TThe URL of the subscription.
attrTopicName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute TopicName: The name of the topic.
attrTopicOwner java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute TopicOwner: The owner of the topic.
props SubscriptionProps No description.

nodeRequired

public ConstructNode getNode();
  • Type: com.aliyun.ros.cdk.core.ConstructNode

The construct tree node for this construct.


envRequired

public IResourceEnvironment getEnv();
  • Type: com.aliyun.ros.cdk.core.IResourceEnvironment

The environment this resource belongs to.

For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.


stackRequired

public Stack getStack();
  • Type: com.aliyun.ros.cdk.core.Stack

The stack in which this resource is defined.


attrCreateTimeRequired

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

Attribute CreateTime: The time when the subscription was created.


attrEndpointRequired

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

Attribute Endpoint: The endpoint that is used by the subscriber to receive messages.


attrFilterTagRequired

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

Attribute FilterTag: Describes the labels by which messages are filtered in this subscription (only messages with consistent labels are pushed).


attrLastModifyTimeRequired

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

Attribute LastModifyTime: The time when the subscription was last modified.


attrNotifyContentFormatRequired

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

Attribute NotifyContentFormat: The format of the message that is pushed to the endpoint.


attrNotifyStrategyRequired

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

Attribute NotifyStrategy: The retry policy that is applied if an error occurs when Message Service (MNS) pushes messages to the endpoint.


attrSubscriptionNameRequired

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

Attribute SubscriptionName: The name of the subscription.


attrSubscriptionUrlRequired

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

Attribute SubscriptionURL: TThe URL of the subscription.


attrTopicNameRequired

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

Attribute TopicName: The name of the topic.


attrTopicOwnerRequired

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

Attribute TopicOwner: The owner of the topic.


propsRequired

public SubscriptionProps getProps();