Interface IInstance

All Superinterfaces:
IConnectable, software.constructs.IConstruct, software.constructs.IDependable, IGrantable, IResource, software.amazon.jsii.JsiiSerializable
All Known Subinterfaces:
IInstance.Jsii$Default
All Known Implementing Classes:
BastionHostLinux, IInstance.Jsii$Proxy, Instance

@Generated(value="jsii-pacmak/1.97.0 (build 729de35)", date="2024-04-24T21:00:28.856Z") @Stability(Stable) public interface IInstance extends software.amazon.jsii.JsiiSerializable, IResource, IConnectable, IGrantable
  • Method Details

    • getInstanceAvailabilityZone

      @Stability(Stable) @NotNull String getInstanceAvailabilityZone()
      The availability zone the instance was launched in.
    • getInstanceId

      @Stability(Stable) @NotNull String getInstanceId()
      The instance's ID.
    • getInstancePrivateDnsName

      @Stability(Stable) @NotNull String getInstancePrivateDnsName()
      Private DNS name for this instance.
    • getInstancePrivateIp

      @Stability(Stable) @NotNull String getInstancePrivateIp()
      Private IP for this instance.
    • getInstancePublicDnsName

      @Stability(Stable) @NotNull String getInstancePublicDnsName()
      Publicly-routable DNS name for this instance.

      (May be an empty string if the instance does not have a public name).

    • getInstancePublicIp

      @Stability(Stable) @NotNull String getInstancePublicIp()
      Publicly-routable IP address for this instance.

      (May be an empty string if the instance does not have a public IP).