Interface IInstance
Inherited Members
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IInstance : IResource, IConnectable, IGrantable
Syntax (vb)
Public Interface IInstance
Inherits IResource, IConstruct, IDependable, IConnectable, IGrantable
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
System.String
Remarks
Attribute: true
InstanceId
The instance's ID.
string InstanceId { get; }
Property Value
System.String
Remarks
Attribute: true
InstancePrivateDnsName
Private DNS name for this instance.
string InstancePrivateDnsName { get; }
Property Value
System.String
Remarks
Attribute: true
InstancePrivateIp
Private IP for this instance.
string InstancePrivateIp { get; }
Property Value
System.String
Remarks
Attribute: true
InstancePublicDnsName
Publicly-routable DNS name for this instance.
string InstancePublicDnsName { get; }
Property Value
System.String
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
System.String
Remarks
(May be an empty string if the instance does not have a public IP).
Attribute: true