Instance
This class encapsulates and extends the ROS resource type DATASOURCE::KAFKA::Instance
, which is used to query the information about an ApsaraMQ for Kafka instance.
Initializers
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkkafka/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. |
scope
Required
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Construct
id
Required
- Type: *string
props
Required
- Type: InstanceProps
enableResourcePropertyConstraint
Optional
- 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.
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ISynthesisSession
The synthesis session.
AddCondition
func AddCondition(condition RosCondition)
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RosCondition
AddCount
func AddCount(count interface{})
- Type: interface{}
AddDependency
func AddDependency(resource Resource)
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Resource
AddResourceDesc
func AddResourceDesc(desc *string)
- Type: *string
ApplyRemovalPolicy
func ApplyRemovalPolicy(policy RemovalPolicy)
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RemovalPolicy
GetAtt
func GetAtt(name *string) IResolvable
- Type: *string
SetMetadata
func SetMetadata(key *string, value interface{})
- Type: *string
- Type: interface{}
Static Functions
Name | Description |
---|---|
IsConstruct |
Return whether the given object is a Construct. |
IsConstruct
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkkafka/datasource"
datasource.Instance_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
- 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. |
AttrAllConfig |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute AllConfig: The current configuration of the deployed message queue Kafka version. |
AttrAllowedList |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute AllowedList: White list. |
AttrCreateTime |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute CreateTime: Creation time. |
AttrDeployType |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute DeployType: Deployment method. |
AttrDiskSize |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute DiskSize: Disk size. |
AttrDiskType |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute DiskType: Disk type. |
AttrDomainEndpoint |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute DomainEndpoint: The domain name access point of the default access point. |
AttrEipMax |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute EipMax: Peak public network traffic. |
AttrEndPoint |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute EndPoint: Access point. |
AttrExpiredTime |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute ExpiredTime: Expiration time. |
AttrInstanceId |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute InstanceId: The ID of the instance. |
AttrInstanceName |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute InstanceName: Note name. |
AttrIoMax |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute IoMax: Peak flow. |
AttrIoMaxSpec |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute IoMaxSpec: Flow specifications (recommended). |
AttrMsgRetain |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute MsgRetain: Message save time. |
AttrPaymentType |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute PaymentType: The paymen type of the resource. |
AttrResourceGroupId |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute ResourceGroupId: The ID of the resource group. |
AttrSaslDomainEndpoint |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute SaslDomainEndpoint: The domain name access point of the SASL access point. |
AttrServiceVersion |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute ServiceVersion: The version of the Kafka version of the deployed Message Queue. |
AttrSpecType |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute SpecType: Instance type. |
AttrSslDomainEndpoint |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute SslDomainEndpoint: The domain name of the SSL access point. |
AttrSslEndPoint |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute SslEndPoint: External access point. |
AttrTags |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute Tags: The tag of the kafka console, which is used to group instance,topic, and consumption. |
AttrTopicNumLimit |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute TopicNumLimit: Maximum number of topic creation. |
AttrVpcId |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute VpcId: VpcId. |
AttrVSwitchId |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute VSwitchId: Switch id. |
AttrZoneId |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute ZoneId: The ID of the zone in which the instance is deployed. |
Node
Required
func Node() ConstructNode
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ConstructNode
The construct tree node associated with this construct.
Ref
Required
func Ref() *string
- Type: *string
Stack
Required
func Stack() Stack
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Stack
The stack in which this resource is defined.
Resource
Optional
func Resource() RosResource
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RosResource
AttrAllConfig
Required
func AttrAllConfig() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute AllConfig: The current configuration of the deployed message queue Kafka version.
AttrAllowedList
Required
func AttrAllowedList() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute AllowedList: White list.
AttrCreateTime
Required
func AttrCreateTime() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute CreateTime: Creation time.
AttrDeployType
Required
func AttrDeployType() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute DeployType: Deployment method.
AttrDiskSize
Required
func AttrDiskSize() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute DiskSize: Disk size.
AttrDiskType
Required
func AttrDiskType() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute DiskType: Disk type.
AttrDomainEndpoint
Required
func AttrDomainEndpoint() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute DomainEndpoint: The domain name access point of the default access point.
The Kafka instance supports domain name access points and IP access points.
AttrEipMax
Required
func AttrEipMax() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute EipMax: Peak public network traffic.
AttrEndPoint
Required
func AttrEndPoint() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute EndPoint: Access point.
AttrExpiredTime
Required
func AttrExpiredTime() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute ExpiredTime: Expiration time.
AttrInstanceId
Required
func AttrInstanceId() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute InstanceId: The ID of the instance.
AttrInstanceName
Required
func AttrInstanceName() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute InstanceName: Note name.
AttrIoMax
Required
func AttrIoMax() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute IoMax: Peak flow.
AttrIoMaxSpec
Required
func AttrIoMaxSpec() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute IoMaxSpec: Flow specifications (recommended).
AttrMsgRetain
Required
func AttrMsgRetain() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute MsgRetain: Message save time.
AttrPaymentType
Required
func AttrPaymentType() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute PaymentType: The paymen type of the resource.
AttrResourceGroupId
Required
func AttrResourceGroupId() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute ResourceGroupId: The ID of the resource group.
AttrSaslDomainEndpoint
Required
func AttrSaslDomainEndpoint() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute SaslDomainEndpoint: The domain name access point of the SASL access point.
The Kafka instance supports domain name access points and IP access points.
AttrServiceVersion
Required
func AttrServiceVersion() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute ServiceVersion: The version of the Kafka version of the deployed Message Queue.
The value is 0.10.2 or 2.2.0.
AttrSpecType
Required
func AttrSpecType() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute SpecType: Instance type.
AttrSslDomainEndpoint
Required
func AttrSslDomainEndpoint() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute SslDomainEndpoint: The domain name of the SSL access point.
The Kafka instance supports domain name access points and IP access points.
AttrSslEndPoint
Required
func AttrSslEndPoint() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute SslEndPoint: External access point.
AttrTags
Required
func AttrTags() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute Tags: The tag of the kafka console, which is used to group instance,topic, and consumption.
AttrTopicNumLimit
Required
func AttrTopicNumLimit() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute TopicNumLimit: Maximum number of topic creation.
AttrVpcId
Required
func AttrVpcId() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute VpcId: VpcId.
AttrVSwitchId
Required
func AttrVSwitchId() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute VSwitchId: Switch id.
AttrZoneId
Required
func AttrZoneId() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute ZoneId: The ID of the zone in which the instance is deployed.