Class InstanceBase
Inheritance
System.Object
InstanceBase
Inherited Members
Namespace: Amazon.CDK.AWS.ServiceDiscovery
Assembly: Amazon.CDK.AWS.ServiceDiscovery.dll
Syntax (csharp)
public abstract class InstanceBase : Resource, IInstance, IResource, IConstruct, IDependable
Syntax (vb)
Public MustInherit Class InstanceBase
Inherits Resource
Implements IInstance, IResource, IConstruct, IDependable
Synopsis
Constructors
InstanceBase(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
InstanceBase(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
InstanceBase(Construct, String, IResourceProps) |
Properties
InstanceId | The Id of the instance. |
Service | The Cloudmap service to which the instance is registered. |
Methods
UniqueInstanceId() | Generate a unique instance Id that is safe to pass to CloudMap. |
Constructors
InstanceBase(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected InstanceBase(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
InstanceBase(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected InstanceBase(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
InstanceBase(Construct, String, IResourceProps)
protected InstanceBase(Construct scope, string id, IResourceProps props = null)
Parameters
- scope Constructs.Construct
- id System.String
- props IResourceProps
Properties
InstanceId
The Id of the instance.
public abstract string InstanceId { get; }
Property Value
System.String
Service
The Cloudmap service to which the instance is registered.
public abstract IService Service { get; }
Property Value
Methods
UniqueInstanceId()
Generate a unique instance Id that is safe to pass to CloudMap.
protected virtual string UniqueInstanceId()
Returns
System.String
Implements
Constructs.IConstruct