Skip to content

ISubscription

  • Extends: ros_cdk_core.IResource

  • Implemented By: ros_cdk_mns.datasource.Subscription, ros_cdk_mns.datasource.ISubscription

Represents a Subscription.

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 subscription was created.
attr_endpoint typing.Union[str, ros_cdk_core.IResolvable] Attribute Endpoint: The endpoint that is used by the subscriber to receive messages.
attr_filter_tag typing.Union[str, ros_cdk_core.IResolvable] Attribute FilterTag: Describes the labels by which messages are filtered in this subscription (only messages with consistent labels are pushed).
attr_last_modify_time typing.Union[str, ros_cdk_core.IResolvable] Attribute LastModifyTime: The time when the subscription was last modified.
attr_notify_content_format typing.Union[str, ros_cdk_core.IResolvable] Attribute NotifyContentFormat: The format of the message that is pushed to the endpoint.
attr_notify_strategy typing.Union[str, 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.
attr_subscription_name typing.Union[str, ros_cdk_core.IResolvable] Attribute SubscriptionName: The name of the subscription.
attr_subscription_url typing.Union[str, ros_cdk_core.IResolvable] Attribute SubscriptionURL: TThe URL of the subscription.
attr_topic_name typing.Union[str, ros_cdk_core.IResolvable] Attribute TopicName: The name of the topic.
attr_topic_owner typing.Union[str, ros_cdk_core.IResolvable] Attribute TopicOwner: The owner of the topic.
props SubscriptionProps 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 subscription was created.


attr_endpointRequired

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

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


attr_filter_tagRequired

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

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


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 subscription was last modified.


attr_notify_content_formatRequired

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

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


attr_notify_strategyRequired

attr_notify_strategy: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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.


attr_subscription_nameRequired

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

Attribute SubscriptionName: The name of the subscription.


attr_subscription_urlRequired

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

Attribute SubscriptionURL: TThe URL of the subscription.


attr_topic_nameRequired

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

Attribute TopicName: The name of the topic.


attr_topic_ownerRequired

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

Attribute TopicOwner: The owner of the topic.


propsRequired

props: SubscriptionProps