Skip to content

ITopic

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

  • Implemented By: @alicloud/ros-cdk-mns.datasource.Topic, @alicloud/ros-cdk-mns.datasource.ITopic

Represents a Topic.

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 topic was created.
attrLastModifyTime string | @alicloud/ros-cdk-core.IResolvable Attribute LastModifyTime: The time when the topic was last modified.
attrLoggingEnabled string | @alicloud/ros-cdk-core.IResolvable Attribute LoggingEnabled: Indicates whether the log management feature is enabled for the topic.
attrMaxMessageSize string | @alicloud/ros-cdk-core.IResolvable Attribute MaxMessageSize: The maximum size of a message body that is sent to the topic.
attrMessageCount string | @alicloud/ros-cdk-core.IResolvable Attribute MessageCount: The number of messages in the topic.
attrMessageRetentionPeriod string | @alicloud/ros-cdk-core.IResolvable Attribute MessageRetentionPeriod: The retention period of the message in the topic.
attrTopicInnerUrl string | @alicloud/ros-cdk-core.IResolvable Attribute TopicInnerUrl: The internal URL of the topic.
attrTopicName string | @alicloud/ros-cdk-core.IResolvable Attribute TopicName: The name of the MNS topic.
attrTopicUrl string | @alicloud/ros-cdk-core.IResolvable Attribute TopicUrl: The URL of the topic.
props TopicProps 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 topic was created.


attrLastModifyTimeRequired

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

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


attrLoggingEnabledRequired

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

Attribute LoggingEnabled: Indicates whether the log management feature is enabled for the topic.


attrMaxMessageSizeRequired

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

Attribute MaxMessageSize: The maximum size of a message body that is sent to the topic.


attrMessageCountRequired

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

Attribute MessageCount: The number of messages in the topic.


attrMessageRetentionPeriodRequired

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

Attribute MessageRetentionPeriod: The retention period of the message in the topic.


attrTopicInnerUrlRequired

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

Attribute TopicInnerUrl: The internal URL of the topic.


attrTopicNameRequired

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

Attribute TopicName: The name of the MNS topic.


attrTopicUrlRequired

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

Attribute TopicUrl: The URL of the topic.


propsRequired

public readonly props: TopicProps;