Instance
This class encapsulates and extends the ROS resource type ALIYUN::KAFKA::Instance
, which is used to create an ApsaraMQ for Kafka instance.
Initializers
using AlibabaCloud.SDK.ROS.CDK.Kafka;
new Instance(Construct Scope, string Id, InstanceProps Props, bool EnableResourcePropertyConstraint = null);
Name | Type | Description |
---|---|---|
Scope |
AlibabaCloud.SDK.ROS.CDK.Core.Construct |
No description. |
Id |
string |
No description. |
Props |
InstanceProps |
No description. |
EnableResourcePropertyConstraint |
bool |
No description. |
Scope
Required
- Type: AlibabaCloud.SDK.ROS.CDK.Core.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
private string ToString()
Returns a string representation of this construct.
Synthesize
private void Synthesize(ISynthesisSession Session)
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: AlibabaCloud.SDK.ROS.CDK.Core.ISynthesisSession
The synthesis session.
AddCondition
private void AddCondition(RosCondition Condition)
- Type: AlibabaCloud.SDK.ROS.CDK.Core.RosCondition
AddCount
private void AddCount(object Count)
- Type: object
AddDependency
private void AddDependency(Resource Resource)
- Type: AlibabaCloud.SDK.ROS.CDK.Core.Resource
AddResourceDesc
private void AddResourceDesc(string Desc)
- Type: string
ApplyRemovalPolicy
private void ApplyRemovalPolicy(RemovalPolicy Policy)
- Type: AlibabaCloud.SDK.ROS.CDK.Core.RemovalPolicy
GetAtt
private IResolvable GetAtt(string Name)
- Type: string
SetMetadata
private void SetMetadata(string Key, object Value)
- Type: string
- Type: object
Static Functions
Name | Description |
---|---|
IsConstruct |
Return whether the given object is a Construct. |
IsConstruct
using AlibabaCloud.SDK.ROS.CDK.Kafka;
Instance.IsConstruct(object X);
Return whether the given object is a Construct.
- Type: object
Properties
Name | Type | Description |
---|---|---|
Node |
AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode |
The construct tree node associated with this construct. |
Ref |
string |
No description. |
Stack |
AlibabaCloud.SDK.ROS.CDK.Core.Stack |
The stack in which this resource is defined. |
Resource |
AlibabaCloud.SDK.ROS.CDK.Core.RosResource |
No description. |
AttrDomainEndpoint |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute DomainEndpoint: The default endpoints of the instance in domain name mode. |
AttrEndpoint |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute Endpoint: The SSL endpoints of the instance in IP address mode. |
AttrInstanceId |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute InstanceId: Id of the instance. |
AttrName |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute Name: Name of the instance. |
AttrOrderId |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute OrderId: Id of the order. |
AttrSaslDomainEndpoint |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute SaslDomainEndpoint: The Simple Authentication and Security Layer (SASL) endpoints of the instance in domain name mode. |
AttrSslDomainEndpoint |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute SslDomainEndpoint: The SSL endpoints of the instance in domain name mode. |
AttrSslEndpoint |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute SslEndpoint: The SSL endpoints of the instance in IP address mode. |
Node
Required
public ConstructNode Node { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode
The construct tree node associated with this construct.
Ref
Required
public string Ref { get; }
- Type: string
Stack
Required
public Stack Stack { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.Stack
The stack in which this resource is defined.
Resource
Optional
public RosResource Resource { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.RosResource
AttrDomainEndpoint
Required
public IResolvable AttrDomainEndpoint { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute DomainEndpoint: The default endpoints of the instance in domain name mode.
AttrEndpoint
Required
public IResolvable AttrEndpoint { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute Endpoint: The SSL endpoints of the instance in IP address mode.
AttrInstanceId
Required
public IResolvable AttrInstanceId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute InstanceId: Id of the instance.
AttrName
Required
public IResolvable AttrName { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute Name: Name of the instance.
AttrOrderId
Required
public IResolvable AttrOrderId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute OrderId: Id of the order.
AttrSaslDomainEndpoint
Required
public IResolvable AttrSaslDomainEndpoint { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute SaslDomainEndpoint: The Simple Authentication and Security Layer (SASL) endpoints of the instance in domain name mode.
AttrSslDomainEndpoint
Required
public IResolvable AttrSslDomainEndpoint { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute SslDomainEndpoint: The SSL endpoints of the instance in domain name mode.
AttrSslEndpoint
Required
public IResolvable AttrSslEndpoint { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute SslEndpoint: The SSL endpoints of the instance in IP address mode.