Skip to content

ITopic

  • Extends: ros_cdk_core.IResource

  • Implemented By: ros_cdk_mns.datasource.Topic, ros_cdk_mns.datasource.ITopic

Represents a Topic.

Properties

Name Type Description
node ros_cdk_core.ConstructNode The construct tree node for this construct.
env ros_cdk_core.IResourceEnvironment The environment this resource belongs to.
stack ros_cdk_core.Stack The stack in which this resource is defined.
attr_create_time typing.Union[str, ros_cdk_core.IResolvable] Attribute CreateTime: The time when the topic was created.
attr_last_modify_time typing.Union[str, ros_cdk_core.IResolvable] Attribute LastModifyTime: The time when the topic was last modified.
attr_logging_enabled typing.Union[str, ros_cdk_core.IResolvable] Attribute LoggingEnabled: Indicates whether the log management feature is enabled for the topic.
attr_max_message_size typing.Union[str, ros_cdk_core.IResolvable] Attribute MaxMessageSize: The maximum size of a message body that is sent to the topic.
attr_message_count typing.Union[str, ros_cdk_core.IResolvable] Attribute MessageCount: The number of messages in the topic.
attr_message_retention_period typing.Union[str, ros_cdk_core.IResolvable] Attribute MessageRetentionPeriod: The retention period of the message in the topic.
attr_topic_inner_url typing.Union[str, ros_cdk_core.IResolvable] Attribute TopicInnerUrl: The internal URL of the topic.
attr_topic_name typing.Union[str, ros_cdk_core.IResolvable] Attribute TopicName: The name of the MNS topic.
attr_topic_url typing.Union[str, ros_cdk_core.IResolvable] Attribute TopicUrl: The URL of the topic.
props TopicProps No description.

nodeRequired

node: ConstructNode
  • Type: ros_cdk_core.ConstructNode

The construct tree node for this construct.


envRequired

env: IResourceEnvironment
  • Type: 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

stack: Stack
  • Type: ros_cdk_core.Stack

The stack in which this resource is defined.


attr_create_timeRequired

attr_create_time: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute CreateTime: The time when the topic was created.


attr_last_modify_timeRequired

attr_last_modify_time: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

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


attr_logging_enabledRequired

attr_logging_enabled: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

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


attr_max_message_sizeRequired

attr_max_message_size: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

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


attr_message_countRequired

attr_message_count: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute MessageCount: The number of messages in the topic.


attr_message_retention_periodRequired

attr_message_retention_period: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

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


attr_topic_inner_urlRequired

attr_topic_inner_url: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute TopicInnerUrl: The internal URL of the topic.


attr_topic_nameRequired

attr_topic_name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute TopicName: The name of the MNS topic.


attr_topic_urlRequired

attr_topic_url: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute TopicUrl: The URL of the topic.


propsRequired

props: TopicProps