Class LaunchTemplateSecondaryInterface


  • public final class LaunchTemplateSecondaryInterface
    extends java.lang.Object
    • Method Detail

      • deleteOnTermination

        public java.util.Optional<java.lang.Boolean> deleteOnTermination()
        Returns:
        Whether the secondary interface is deleted when the instance is terminated. The only supported value is `true`.
      • deviceIndex

        public java.util.Optional<java.lang.Integer> deviceIndex()
        Returns:
        Device index for the secondary interface attachment.
      • interfaceType

        public java.util.Optional<java.lang.String> interfaceType()
        Returns:
        Type of secondary interface. The only supported value is: `secondary`.
      • networkCardIndex

        public java.util.Optional<java.lang.Integer> networkCardIndex()
        Returns:
        Index of the network card.
      • privateIpAddressCount

        public java.util.Optional<java.lang.Integer> privateIpAddressCount()
        Returns:
        Number of private IPv4 addresses to assign to the secondary interface.
      • privateIpAddresses

        public java.util.List<java.lang.String> privateIpAddresses()
        Returns:
        Private IPv4 addresses to assign to the secondary interface.
      • secondarySubnetId

        public java.util.Optional<java.lang.String> secondarySubnetId()
        Returns:
        ID of the secondary subnet.