toMap method
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{
'arn': arn,
'associations': pulumi.Input.encodeList<GetNetworkInterfaceAssociation, Map<String, dynamic>>(associations, (value) => value.toMap()),
'attachments': pulumi.Input.encodeList<GetNetworkInterfaceAttachment, Map<String, dynamic>>(attachments, (value) => value.toMap()),
'availabilityZone': availabilityZone,
'description': description,
'enaSrdSpecifications': pulumi.Input.encodeList<GetNetworkInterfaceEnaSrdSpecification, Map<String, dynamic>>(enaSrdSpecifications, (value) => value.toMap()),
'filters': ?(() { final guardedValue = filters; if (guardedValue == null) return null; return pulumi.Input.encodeList<GetNetworkInterfaceFilter, Map<String, dynamic>>(guardedValue, (value) => value.toMap()); })(),
'id': id,
'interfaceType': interfaceType,
'ipv6Addresses': ipv6Addresses,
'macAddress': macAddress,
'outpostArn': outpostArn,
'ownerId': ownerId,
'privateDnsName': privateDnsName,
'privateIp': privateIp,
'privateIps': privateIps,
'region': region,
'requesterId': requesterId,
'securityGroups': securityGroups,
'subnetId': subnetId,
'tags': tags,
'vpcId': vpcId,
};
}