Skip to content

Instance

This class encapsulates and extends the ROS resource type DATASOURCE::ROCKETMQ5::Instance.

Initializers

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkrocketmq5/datasource"
datasource.NewInstance(scope Construct, id *string, props InstanceProps, enableResourcePropertyConstraint *bool) Instance
Name Type Description
scope github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Construct No description.
id *string No description.
props InstanceProps No description.
enableResourcePropertyConstraint *bool No description.

scopeRequired

  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Construct

idRequired

  • Type: *string

propsRequired


enableResourcePropertyConstraintOptional

  • Type: *bool

Methods

Name Description
ToString Returns a string representation of this construct.
Synthesize Allows this construct to emit artifacts into the cloud assembly during synthesis.
AddCondition No description.
AddCount No description.
AddDependency No description.
AddResourceDesc No description.
ApplyRemovalPolicy No description.
GetAtt No description.
SetMetadata No description.

ToString

func ToString() *string

Returns a string representation of this construct.

Synthesize

func Synthesize(session ISynthesisSession)

Allows this construct to emit artifacts into the cloud assembly during synthesis.

This method is usually implemented by framework-level constructs such as Stack and Asset as they participate in synthesizing the cloud assembly.

sessionRequired

  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ISynthesisSession

The synthesis session.


AddCondition

func AddCondition(condition RosCondition)

conditionRequired

  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RosCondition

AddCount

func AddCount(count interface{})

countRequired

  • Type: interface{}

AddDependency

func AddDependency(resource Resource)

resourceRequired

  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Resource

AddResourceDesc

func AddResourceDesc(desc *string)

descRequired

  • Type: *string

ApplyRemovalPolicy

func ApplyRemovalPolicy(policy RemovalPolicy)

policyRequired

  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RemovalPolicy

GetAtt

func GetAtt(name *string) IResolvable

nameRequired

  • Type: *string

SetMetadata

func SetMetadata(key *string, value interface{})

keyRequired

  • Type: *string

valueRequired

  • Type: interface{}

Static Functions

Name Description
IsConstruct Return whether the given object is a Construct.

IsConstruct

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkrocketmq5/datasource"
datasource.Instance_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

xRequired

  • Type: interface{}

Properties

Name Type Description
Node github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ConstructNode The construct tree node associated with this construct.
Ref *string No description.
Stack github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Stack The stack in which this resource is defined.
Resource github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RosResource No description.
AttrAccountInfo github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable Attribute AccountInfo: The account information.
AttrAclInfo github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable Attribute AclInfo: The information about access control.
AttrBid github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable Attribute Bid: The business ID (BID) of the commodity.
AttrCommodityCode github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable Attribute CommodityCode: The commodity code of the instance.
AttrCreateTime github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable Attribute CreateTime: The time when the instance was created.
AttrExpireTime github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable Attribute ExpireTime: The time when the instance expires.
AttrExtConfig github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable Attribute ExtConfig: The extended configurations.
AttrGroupCount github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable Attribute GroupCount: The number of groups.
AttrInstanceId github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable Attribute InstanceId: The ID of the RocketMQ instance.
AttrInstanceName github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable Attribute InstanceName: The name of the instance.
AttrInstanceQuotas github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable Attribute InstanceQuotas: The instance quotas.
AttrNetworkInfo github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable Attribute NetworkInfo: The network information.
AttrPaymentType github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable Attribute PaymentType: The billing method of the instance.
AttrProductInfo github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable Attribute ProductInfo: The extended configurations of the instance.
AttrReleaseTime github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable Attribute ReleaseTime: The time when the instance was released.
AttrRemark github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable Attribute Remark: The description of the instance.
AttrResourceGroupId github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable Attribute ResourceGroupId: The ID of the resource group.
AttrSeriesCode github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable Attribute SeriesCode: The primary edition of the instance.
AttrServiceCode github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable Attribute ServiceCode: The code of the service to which the instance belongs.
AttrSoftware github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable Attribute Software: The instance software information.
AttrStartTime github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable Attribute StartTime: The time when the instance was started.
AttrStatus github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable Attribute Status: The status of the instance.
AttrSubSeriesCode github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable Attribute SubSeriesCode: The sub-category edition of the instance.
AttrTags github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable Attribute Tags: The resource tags.
AttrTopicCount github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable Attribute TopicCount: The number of topics.
AttrUpdateTime github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable Attribute UpdateTime: The time when the instance was last modified.
AttrUserId github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable Attribute UserId: The ID of the user who owns the instance.

NodeRequired

func Node() ConstructNode
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ConstructNode

The construct tree node associated with this construct.


RefRequired

func Ref() *string
  • Type: *string

StackRequired

func Stack() Stack
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Stack

The stack in which this resource is defined.


ResourceOptional

func Resource() RosResource
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RosResource

AttrAccountInfoRequired

func AttrAccountInfo() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute AccountInfo: The account information.


AttrAclInfoRequired

func AttrAclInfo() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute AclInfo: The information about access control.


AttrBidRequired

func AttrBid() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute Bid: The business ID (BID) of the commodity.


AttrCommodityCodeRequired

func AttrCommodityCode() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute CommodityCode: The commodity code of the instance.

The commodity code of a ApsaraMQ for RocketMQ 5.0 instance has a similar format as ons_rmqsub_public_cn.


AttrCreateTimeRequired

func AttrCreateTime() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute CreateTime: The time when the instance was created.


AttrExpireTimeRequired

func AttrExpireTime() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute ExpireTime: The time when the instance expires.


AttrExtConfigRequired

func AttrExtConfig() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute ExtConfig: The extended configurations.

We recommend you configure productInfo, internetInfo, or aclInfo instead of this parameter.


AttrGroupCountRequired

func AttrGroupCount() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute GroupCount: The number of groups.


AttrInstanceIdRequired

func AttrInstanceId() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute InstanceId: The ID of the RocketMQ instance.


AttrInstanceNameRequired

func AttrInstanceName() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute InstanceName: The name of the instance.


AttrInstanceQuotasRequired

func AttrInstanceQuotas() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute InstanceQuotas: The instance quotas.


AttrNetworkInfoRequired

func AttrNetworkInfo() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute NetworkInfo: The network information.


AttrPaymentTypeRequired

func AttrPaymentType() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute PaymentType: The billing method of the instance.


AttrProductInfoRequired

func AttrProductInfo() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute ProductInfo: The extended configurations of the instance.


AttrReleaseTimeRequired

func AttrReleaseTime() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute ReleaseTime: The time when the instance was released.


AttrRemarkRequired

func AttrRemark() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute Remark: The description of the instance.


AttrResourceGroupIdRequired

func AttrResourceGroupId() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute ResourceGroupId: The ID of the resource group.


AttrSeriesCodeRequired

func AttrSeriesCode() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute SeriesCode: The primary edition of the instance.


AttrServiceCodeRequired

func AttrServiceCode() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute ServiceCode: The code of the service to which the instance belongs.

The service code of ApsaraMQ for RocketMQ is rmq.


AttrSoftwareRequired

func AttrSoftware() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute Software: The instance software information.


AttrStartTimeRequired

func AttrStartTime() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute StartTime: The time when the instance was started.


AttrStatusRequired

func AttrStatus() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute Status: The status of the instance.


AttrSubSeriesCodeRequired

func AttrSubSeriesCode() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute SubSeriesCode: The sub-category edition of the instance.


AttrTagsRequired

func AttrTags() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute Tags: The resource tags.


AttrTopicCountRequired

func AttrTopicCount() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute TopicCount: The number of topics.


AttrUpdateTimeRequired

func AttrUpdateTime() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute UpdateTime: The time when the instance was last modified.


AttrUserIdRequired

func AttrUserId() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute UserId: The ID of the user who owns the instance.