Module Values_2.InstanceSecondaryInterfaceSpecificationRequestSource

Describes a secondary interface specification for launching an instance.

Sourcetype nonrec t = {
  1. deleteOnTermination : Values_0.Boolean.t option;
    (*

    Indicates whether the secondary interface is deleted when the instance is terminated. The only supported value for this field is true.

    *)
  2. deviceIndex : Values_0.Integer.t option;
    (*

    The device index for the secondary interface attachment.

    *)
  3. privateIpAddresses : Values_1.InstanceSecondaryInterfacePrivateIpAddressListRequest.t option;
    (*

    The private IPv4 addresses to assign to the secondary interface.

    *)
  4. privateIpAddressCount : Values_0.Integer.t option;
    (*

    The number of private IPv4 addresses to assign to the secondary interface.

    *)
  5. secondarySubnetId : Values_0.SecondarySubnetId.t option;
    (*

    The ID of the secondary subnet.

    *)
  6. interfaceType : Values_0.SecondaryInterfaceType.t option;
    (*

    The type of secondary interface.

    *)
  7. networkCardIndex : Values_0.Integer.t option;
    (*

    The index of the network card. The network card must support secondary interfaces.

    *)
}
Sourceval make : ?deleteOnTermination:??? -> ?deviceIndex:??? -> ?privateIpAddresses:??? -> ?privateIpAddressCount:??? -> ?secondarySubnetId:??? -> ?interfaceType:??? -> ?networkCardIndex:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Values_0.Boolean.t | `Enum of string | `Integer of Values_0.Integer.t | `List of [> `Structure of (string * [> `String of string ]) list ] list | `String of Values_0.SecondarySubnetId.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t