Interface IInstance
Inherited Members
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IInstance : IResource, IConnectable, IGrantable, IInstanceRef, IConstruct, IDependable, IEnvironmentAware
Syntax (vb)
Public Interface IInstance Inherits IResource, IConnectable, IGrantable, IInstanceRef, IConstruct, IDependable, IEnvironmentAware
Synopsis
Properties
| InstanceAvailabilityZone | The availability zone the instance was launched in. |
| InstanceId | The instance's ID. |
| InstancePrivateDnsName | Private DNS name for this instance. |
| InstancePrivateIp | Private IP for this instance. |
| InstancePublicDnsName | Publicly-routable DNS name for this instance. |
| InstancePublicIp | Publicly-routable IP address for this instance. |
Properties
InstanceAvailabilityZone
The availability zone the instance was launched in.
string InstanceAvailabilityZone { get; }
Property Value
Remarks
Attribute: true
InstanceId
InstancePrivateDnsName
Private DNS name for this instance.
string InstancePrivateDnsName { get; }
Property Value
Remarks
Attribute: true
InstancePrivateIp
Private IP for this instance.
string InstancePrivateIp { get; }
Property Value
Remarks
Attribute: true
InstancePublicDnsName
Publicly-routable DNS name for this instance.
string InstancePublicDnsName { get; }
Property Value
Remarks
(May be an empty string if the instance does not have a public name).
Attribute: true
InstancePublicIp
Publicly-routable IP address for this instance.
string InstancePublicIp { get; }
Property Value
Remarks
(May be an empty string if the instance does not have a public IP).
Attribute: true