Skip to content

ITopic

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

  • Implemented By: com.aliyun.ros.cdk.mns.datasource.Topic, com.aliyun.ros.cdk.mns.datasource.ITopic

Represents a Topic.

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


attrLastModifyTimeRequired

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

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


attrLoggingEnabledRequired

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

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


attrMaxMessageSizeRequired

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

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


attrMessageCountRequired

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

Attribute MessageCount: The number of messages in the topic.


attrMessageRetentionPeriodRequired

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

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


attrTopicInnerUrlRequired

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

Attribute TopicInnerUrl: The internal URL of the topic.


attrTopicNameRequired

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

Attribute TopicName: The name of the MNS topic.


attrTopicUrlRequired

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

Attribute TopicUrl: The URL of the topic.


propsRequired

public TopicProps getProps();