Interface HostAlias

  • All Superinterfaces:
    software.amazon.jsii.JsiiSerializable
    All Known Implementing Classes:
    HostAlias.Jsii$Proxy

    @Generated(value="jsii-pacmak/1.82.0 (build 2d2ddd7)",
               date="2023-05-25T02:26:40.811Z")
    @Stability(Stable)
    public interface HostAlias
    extends software.amazon.jsii.JsiiSerializable
    HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file.
    • Method Detail

      • getHostnames

        @Stability(Stable)
        @Nullable
        default List<String> getHostnames()
        Hostnames for the above IP address.
      • getIp

        @Stability(Stable)
        @Nullable
        default String getIp()
        IP address of the host file entry.