Skip to content

ISubscription

  • Extends: @alicloud/ros-cdk-core.IResource

  • Implemented By: @alicloud/ros-cdk-mns.datasource.Subscription, @alicloud/ros-cdk-mns.datasource.ISubscription

Represents a Subscription.

Properties

Name Type Description
node @alicloud/ros-cdk-core.ConstructNode The construct tree node for this construct.
env @alicloud/ros-cdk-core.IResourceEnvironment The environment this resource belongs to.
stack @alicloud/ros-cdk-core.Stack The stack in which this resource is defined.
attrCreateTime string | @alicloud/ros-cdk-core.IResolvable Attribute CreateTime: The time when the subscription was created.
attrEndpoint string | @alicloud/ros-cdk-core.IResolvable Attribute Endpoint: The endpoint that is used by the subscriber to receive messages.
attrFilterTag string | @alicloud/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 string | @alicloud/ros-cdk-core.IResolvable Attribute LastModifyTime: The time when the subscription was last modified.
attrNotifyContentFormat string | @alicloud/ros-cdk-core.IResolvable Attribute NotifyContentFormat: The format of the message that is pushed to the endpoint.
attrNotifyStrategy string | @alicloud/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 string | @alicloud/ros-cdk-core.IResolvable Attribute SubscriptionName: The name of the subscription.
attrSubscriptionUrl string | @alicloud/ros-cdk-core.IResolvable Attribute SubscriptionURL: TThe URL of the subscription.
attrTopicName string | @alicloud/ros-cdk-core.IResolvable Attribute TopicName: The name of the topic.
attrTopicOwner string | @alicloud/ros-cdk-core.IResolvable Attribute TopicOwner: The owner of the topic.
props SubscriptionProps No description.

nodeRequired

public readonly node: ConstructNode;
  • Type: @alicloud/ros-cdk-core.ConstructNode

The construct tree node for this construct.


envRequired

public readonly env: IResourceEnvironment;
  • Type: @alicloud/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 readonly stack: Stack;
  • Type: @alicloud/ros-cdk-core.Stack

The stack in which this resource is defined.


attrCreateTimeRequired

public readonly attrCreateTime: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute CreateTime: The time when the subscription was created.


attrEndpointRequired

public readonly attrEndpoint: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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


attrFilterTagRequired

public readonly attrFilterTag: string | IResolvable;
  • Type: string | @alicloud/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 readonly attrLastModifyTime: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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


attrNotifyContentFormatRequired

public readonly attrNotifyContentFormat: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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


attrNotifyStrategyRequired

public readonly attrNotifyStrategy: string | IResolvable;
  • Type: string | @alicloud/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 readonly attrSubscriptionName: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute SubscriptionName: The name of the subscription.


attrSubscriptionUrlRequired

public readonly attrSubscriptionUrl: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute SubscriptionURL: TThe URL of the subscription.


attrTopicNameRequired

public readonly attrTopicName: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute TopicName: The name of the topic.


attrTopicOwnerRequired

public readonly attrTopicOwner: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute TopicOwner: The owner of the topic.


propsRequired

public readonly props: SubscriptionProps;